For security reasons it is a good idea to have the passwords encrypted on a USB stick, see http://maven.apache.org/guides/mini/guide-encryption.html
> -----Original Message----- > From: Eric Kolotyluk [mailto:eric.koloty...@gmail.com] > Sent: Mittwoch, 15. August 2012 14:41 > To: maven users > Subject: Best Practices for Passwords and Usernames > > 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.use > rname> > <com.perforce.p4maven.password>secret</com.perforce.p4maven.password> > <org.apache.maven.plugins.maven-release- > plugin.username>${com.perforce.p4maven.username}</org.apache.maven.plug > ins.maven-release-plugin.username> > <org.apache.maven.plugins.maven-release- > plugin.password>${com.perforce.p4maven.password}</org.apache.maven.plug > ins.maven-release-plugin.password> > </properties> > </profile> > </profiles> > > <activeProfiles> > <activeProfile>user</activeProfile> > </activeProfiles> > > </settings> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org