Table of Contents
Archiva
see: https://archiva.apache.org/index.cgi
- In order to make it as service in debian use
ln -s /opt/archiva/bin/archiva /etc/init.d/archiva
Configuration
- Create Remote repositories (Repositories > Remote Repositories Management)
- Create Managed repositories (Repositories > Remote Repositories Management)
- id:
external
- name:
Archiva Managed External Repository
- dir:
/opt/apache-archiva-2.2.1/repositories/repositories/external
- index dir:
./repositories/external/.indexer
- days older: 30
- retention counter: 2
- releases: V
- block redeployment: V
- scanned: V
- Create Repository Group
- id:
all
- Order sub repositories (Drug & Drop)
- snapshots
- internal
- external
- save
- Proxy connectors
- external > central
- external > central-maven2
- external > neo4j
Configurations
- ~/.m2/settings.xml
settings.xml <settings> <servers> <server> <id>archiva.all</id> <username>ADMIN_USERNAME</username> <password>ADMIN_PASSWORD</password> </server> <server> <id>archiva.internal</id> <username>ADMIN_USERNAME</username> <password>ADMIN_PASSWORD</password> </server> <server> <id>archiva.snapshots</id> <username>ADMIN_USERNAME</username> <password>ADMIN_PASSWORD</password> </server> </servers> <mirrors> <mirror> <id>archiva.all</id> <name>Maven Repository Manager running on repo.mycompany.com</name> <url>http://repo.mycompany.com/repository/all</url> <mirrorOf>*</mirrorOf> </mirror> </mirrors> </settings>