This configs are already in place but still it is saying 401.
status code:
401, reason phrase: Unauthorized (401) -> [Help 1]
Hi @pratikshah ,
If you are using git submodules then the settings.xml should be added under your parent project .cloudmanger/maven/settings.xml
ex:
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
https://maven.apache.org/xsd/settings-1.0.0.xsd">
<servers>
<server>
<id>third-party</id>
<username>Username</username>
<password>${env.MAVEN_PASSWORD}</password>
</server>
</servers>
</settings>Make sure you add this variable in your pipeline https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/implementing/using-cloud-manager/cicd-pipelines/pipeline-variables#pipeline-variables
in your parent pom.xml of your respective submodule add the respostories
<repositories>
<repository>
<id>third-party</id> //same Id as mentioned in the settings.xml
<name>third-party</name>
<url>https://your.respository.url/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>