1. Place settings.xml: Ensure settings.xml is in the .cloudmanager/maven/ directory in the root of the main repository (not in the sub-module).
2. Check Environment Variables: Verify the USERNAME and PASSWORD variables are set correctly in Cloud Manager's pipeline variables.
3. Correct settings.xml:
<servers>
<server>
<id>third-party</id>
<username>${env.USERNAME}</username>
<password>${env.PASSWORD}</password>
</server>
</servers>4. Verify pom.xml Repository: Ensure the repository URL is correctly specified in pom.xml:
<repositories>
<repository>
<id>third-party</id>
<url>https://your-secure-repo.com</url>
</repository>
</repositories>5. Test Locally: Run the build locally to confirm the credentials work. Make sure the settings file is accessible and correctly configured in the pipeline.