access the repository via http(s)/webdav. The url has the following format:
+----+
-http://[URL TO ARCHIVA]/repository/[REPOSITORY ID] (e.g. http://localhost:8080/archiva/repository/releases).
+http://[URL TO ARCHIVA]/repository/[REPOSITORY ID] (e.g. http://localhost:8080/repository/releases).
+----+
A pom snippet is also available for each repository. The
<<Since 1.4-M4>>:
If you have configured download remote index, those files (Maven Indexer project format) will be available in the path
- http://archiva/repository/id/.index (you can consume those files for IDE)
+ http://[URL TO ARCHIVA]/repository/id/.index (you can consume those files for IDE)
* Scanning a Repository
<repository>
<id>archiva.internal</id>
<name>Internal Release Repository</name>
- <url>http://reposerver.mycompany.com:8080/archiva/repository/internal/</url>
+ <url>http://reposerver.mycompany.com:8080/repository/internal/</url>
</repository>
<snapshotRepository>
<id>archiva.snapshots</id>
<name>Internal Snapshot Repository</name>
- <url>http://reposerver.mycompany.com:8080/archiva/repository/snapshots/</url>
+ <url>http://reposerver.mycompany.com:8080/repository/snapshots/</url>
</snapshotRepository>
</distributionManagement>
<!-- omitted xml -->
<repository>
<id>archiva.internal</id>
<name>Internal Release Repository</name>
- <url>dav:http://reposerver.mycompany.com:8080/archiva/repository/internal/</url>
+ <url>dav:http://reposerver.mycompany.com:8080/repository/internal/</url>
</repository>
<snapshotRepository>
<id>archiva.snapshots</id>
<name>Internal Snapshot Repository</name>
- <url>dav:http://reposerver.mycompany.com:8080/archiva/repository/snapshots/</url>
+ <url>dav:http://reposerver.mycompany.com:8080/repository/snapshots/</url>
</snapshotRepository>
</distributionManagement>
<!-- omitted xml -->
* New Artifacts In Repository
For versions 1.1 and 1.1.1, the default url for this feed is <<<http://[hostname]:[port]/archiva/rss/rss_feeds?repoId=[repositoryId]>>>.
- But since version 1.1.2, this has been changed to <<<http://[hostname]:[port]/archiva/feeds/[repositoryId]>>>
+ But since version 1.1.2, this has been changed to <<<http://[hostname]:[port]/archiva/feeds/[repositoryId]>>>.
+ Since version 2.0.0 feed changed changed to <<<http://[hostname]:[port]/feeds/[repositoryId]>>>.
There are two ways to subscribe to this feed:
* New Versions of an Artifact
The default url for this feed for versions 1.1 and 1.1.1 is <<<http://[hostname]:[port]/archiva/rss/rss_feeds?groupId=[groupId]&artifactId=[artifactId]>>>
- but was changed to <<<http://[hostname]:[port]/archiva/feeds/[groupId]/[artifactId]>>> since version 1.1.2 for consistency purposes.
+ but was changed to <<<http://[hostname]:[port]/archiva/feeds/[groupId]/[artifactId]>>> since version 1.1.2 for consistency purposes.
+ Since version 2.0.0 feed changed changed to <<<http://[hostname]:[port]/feeds/[groupId]/[artifactId]>>>
You could subscribe to the feed the same way as specified in the New Artifacts In Repository section except that in #1, you
need to specify the <<<groupId>>> and <<<artifactId>>> instead of the <<<repositoryId>>>. And in #2, you need to go to the
<mirrors>
<mirror>
<id>archiva.default</id>
- <url>http://repo.mycompany.com:8080/archiva/repository/internal/</url>
+ <url>http://repo.mycompany.com:8080/repository/internal/</url>
<mirrorOf>external:*</mirrorOf>
</mirror>
</mirrors>
<!-- omitted xml -->
<mirror>
<id>archiva.apache.snapshots</id>
- <url>http://repo.mycompany.com:8080/archiva/repository/snapshots/</url>
+ <url>http://repo.mycompany.com:8080/repository/snapshots/</url>
<mirrorOf>apache.snapshots</mirrorOf>
</mirror>
<!-- omitted xml -->
+-------------------------------------------------------------------------+
<repository>
<id>repository-1</id>
- <url>http://repo.mycompany.com:8080/archiva/repository/internal/</url>
+ <url>http://repo.mycompany.com:8080/repository/internal/</url>
<releases>
<enabled>true</enabled>
</releases>
<repositories>
<repository>
<id>internal.releases</id>
- <url>http://localhost:8080/archiva/repository/internal.releases/</url>
+ <url>http://localhost:8080/repository/internal.releases/</url>
<releases>
<enabled>true</enabled>
</releases>
</repository>
<repository>
<id>third.party.repo</id>
- <url>http://localhost:8080/archiva/repository/third.party.repo/</url>
+ <url>http://localhost:8080/repository/third.party.repo/</url>
<releases>
<enabled>true</enabled>
</releases>
</repository>
<repository>
<id>snapshots</id>
- <url>http://localhost:8080/archiva/repository/snapshots/</url>
+ <url>http://localhost:8080/repository/snapshots/</url>
<releases>
<enabled>false</enabled>
</releases>
<repositories>
<repository>
<id>internal.releases</id>
- <url>http://localhost:8080/archiva/repository/[repository_group_id]/</url>
+ <url>http://localhost:8080/repository/[repository_group_id]/</url>
</repository>
</repositories>
</profile>
[../images/repository-groups.png]
- [[3]] Now add the virtual repository URL <<<http://[host]:[port]/archiva/repository/[repository_group_id]/>>>
+ [[3]] Now add the virtual repository URL <<<http://[host]:[port]/repository/[repository_group_id]/>>>
into your settings.xml the same way you configure regular repositories -- as a <mirror> or as an additional <repository>.
[[4]] If the repositories under the group are secured, you must set your Archiva login credentials in your settings.xml as