mirror of https://github.com/apache/archiva.git
o Indent POM snippet to make it copy-paste friendly.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@661606 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b4f9994165
commit
ce1253dc03
|
@ -50,7 +50,7 @@ Configuring Maven 2 to use an Archiva repository
|
|||
|
||||
You will need to add one entry for each repository that is setup in Archiva. If your repository contains plugins; remember to also include a \<pluginRepository\> setting.
|
||||
|
||||
[[1]] create a new profile to setup your repositories
|
||||
[[1]] Create a new profile to setup your repositories
|
||||
|
||||
+-------------------------------------------------------------------------+
|
||||
<settings>
|
||||
|
@ -86,21 +86,21 @@ Configuring Maven 2 to use an Archiva repository
|
|||
</settings>
|
||||
+-------------------------------------------------------------------------+
|
||||
|
||||
[[2]] add your repository configuration to the profile
|
||||
[[2]] Add your repository configuration to the profile
|
||||
|
||||
You can copy the repository configuration from the POM Snippet on the Archiva Administration Page for a normal repository. It should look much like:
|
||||
|
||||
+-------------------------------------------------------------------------+
|
||||
<repository>
|
||||
<id>repository-1</id>
|
||||
<url>http://repo.mycompany.com:8080/archiva/repository/internal/</url>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
</releases>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>repository-1</id>
|
||||
<url>http://repo.mycompany.com:8080/archiva/repository/internal/</url>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
</releases>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
</repository>
|
||||
+-------------------------------------------------------------------------+
|
||||
|
||||
[[3]] Add the necessary security configuration
|
||||
|
|
Loading…
Reference in New Issue