This topic demonstrates how to add encrypted passwords to configured Maven repositories in Aspire.
This will create a Master key file that is used to encrypt/decrypt all passwords in the system.
This will prompt for the password (not yet encrypted) and a property name. Creates a property in config\settings.xml with the encrypted password. Enter "MavenPassword" as property name.
Example:
Copy "MavenPassword" value:
<properties>
<property name="solrServer">http://localhost:8983</property>
<property name="autoStart">false</property>
<property name="crawlDataBase">data/crawler</property>
<property name="ccdBase">data</property>
<property name="MavenPassword">encrypted:DBB5E9F74682492A265029B07E7E5474</property>
</properties>
to:
<repository type="maven">
<remoteRepositories>
<remoteRepository>
<id>stPublic</id>
<password>PASTE_PASSWORD_HERE</password>
<user>stmaven</user>
<url>http://repositories.searchtechnologies.com:8080/archiva/repository/public/</url>
</remoteRepository>
</remoteRepositories>
<defaultVersion>0.5-SNAPSHOT</defaultVersion>
</repository>
See Password Encryption for more details.