Are there some best practices around how and where to store usernames,
passwords and other secret information wrt the local user?
For example, what I have been doing in my user settings.xml is (the
following), but is there some other best practice I should be following?
In particular, I am trying to set up conventions to be used from our
corporate POM that are based on a common 'user' profile.
Cheers, Eric
<?xml version="1.0" encoding="utf-8"?>
<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
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<profiles>
<profile>
<id>user</id>
<properties>
<com.perforce.p4maven.username>Eric_Kolotyluk</com.perforce.p4maven.username>
<com.perforce.p4maven.password>secret</com.perforce.p4maven.password>
<org.apache.maven.plugins.maven-release-plugin.username>${com.perforce.p4maven.username}</org.apache.maven.plugins.maven-release-plugin.username>
<org.apache.maven.plugins.maven-release-plugin.password>${com.perforce.p4maven.password}</org.apache.maven.plugins.maven-release-plugin.password>
</properties>
</profile>
</profiles>
<activeProfiles>
<activeProfile>user</activeProfile>
</activeProfiles>
</settings>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]