Hi I have set up the settings.xml as described in the "Better Builds" Book and separated Global and User settings.xml. The output of "mvn help:effective-settings" looks reasonable, i.e. both files are read by maven.
When I want to deploy to the remote repo I get the following error messages
on the DAV Server: "user ${ige.dav.user} not found"
i.e. the properties from the user settings.xml are not considered for the
AuthenticationInfo and the variable is not substituted.
Is there a known workaround? Am I missing something here?
Regards,
Michael Locher
Organizational Super-POM:
<project>
...
<distributionManagement>
<repository>
<id>dav_ige.repo</id>
<url>dav:http://reposerver.internal/maven-repo/integration</url>
</repository>
<site>
<id>dav_ige.sites</id>
<url>dav:http://reposerver.internal/projects</url>
</site>
</distributionManagement>
...
</project>
Global-Settings:
<settings>
<servers>
<server>
<id>dav_ige.repo</id>
<username>${ige.dav.user}</username>
<password>${ige.dav.password}</password>
</server>
<server>
<id>dav_ige.sites</id>
<username>${ige.dav.user}</username>
<password>${ige.dav.password}</password>
</server>
</servers>
<activeProfiles>
<activeProfile>property-overrides</activeProfile>
<activeProfile>default-repositories</activeProfile>
<activeProfile>jdk14</activeProfile>
</activeProfiles>
</settings>
User-Settings:
<settings>
<profiles>
<profile>
<id>property-overrides</id>
<properties>
<ige.dav.user>your_username</ige.dav.user>
<ige.dav.password>your_password</ige.dav.password>
</properties>
</profile>
</profiles>
</settings>
smime.p7s
Description: S/MIME cryptographic signature
