Any organization should have a central repository, in order to guarantee the consistency of artifacts for all teams. Many solutions exist on the market, either open source or commercial. In this section, we will deal with Apache Archiva. however, most of the concepts are common to other systems, such as Sonatype Nexus and JFrog Artifactory:
- Download (http://archiva.apache.org/download.cgi), install, and execute Archiva, let's say on
- Create an admin account and password, let's say
- In your
settings.xml, add the following block of code:
<servers> <server> <!-- Repository for releases --> <id>archiva.releases</id> <username>admin</username> <password>admin1</password> </server> <server> <!-- ...