Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Go to ASPIRE_HOME.
  2. Run bin\createMaster.bat if no Master file exists yet.

    This will create a Master key file that is used to encrypt/decrypt all passwords in the system.

  3. Run bin\encryptPasswordaspire.bat .-encrypt_password

    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.

  4. Go to config\settings.xml and find <properties> section. Then copy the value of "MavenPassword" property to the password element in the remote repositories section of your settings file.

...

   <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.