Browse Source

o Indent POM snippet to make it copy-paste friendly.

git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.0.x@661605 13f79535-47bb-0310-9956-ffa450edef68
archiva-1.0.x
Dennis Lundberg 16 years ago
parent
commit
d5f82112f6
1 changed files with 12 additions and 12 deletions
  1. 12
    12
      archiva-docs/src/site/apt/userguide/using-repository.apt

+ 12
- 12
archiva-docs/src/site/apt/userguide/using-repository.apt View File

@@ -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…
Cancel
Save