lock plugin version in archetype same as archiva

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1210438 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2011-12-05 12:49:42 +00:00
parent 61d6103d33
commit 3f27956523
2 changed files with 28 additions and 2 deletions

View File

@ -15,6 +15,32 @@
<properties> <properties>
<archiva.version>${archivaVersion}</archiva.version> <archiva.version>${archivaVersion}</archiva.version>
</properties> </properties>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>2.4.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.5</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.11</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.apache.archiva</groupId> <groupId>org.apache.archiva</groupId>

View File

@ -28,7 +28,7 @@ under the License.
</activation> </activation>
<repositories> <repositories>
<repository> <repository>
<id>central</id> <id>local-central</id>
<url>@localRepositoryUrl@</url> <url>@localRepositoryUrl@</url>
<releases> <releases>
<enabled>true</enabled> <enabled>true</enabled>
@ -40,7 +40,7 @@ under the License.
</repositories> </repositories>
<pluginRepositories> <pluginRepositories>
<pluginRepository> <pluginRepository>
<id>central</id> <id>local-central</id>
<url>@localRepositoryUrl@</url> <url>@localRepositoryUrl@</url>
<releases> <releases>
<enabled>true</enabled> <enabled>true</enabled>