use maven archetype released version

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1205496 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2011-11-23 17:16:17 +00:00
parent 20d3572faa
commit 5f8ff6b6b1
1 changed files with 3 additions and 2 deletions

View File

@ -31,6 +31,7 @@
<description>Simple archetype to create archiva consumers</description> <description>Simple archetype to create archiva consumers</description>
<properties> <properties>
<archivaVersion>${project.version}</archivaVersion> <archivaVersion>${project.version}</archivaVersion>
<archetypeVersion>2.2</archetypeVersion>
</properties> </properties>
<build> <build>
<resources> <resources>
@ -43,14 +44,14 @@
<extension> <extension>
<groupId>org.apache.maven.archetype</groupId> <groupId>org.apache.maven.archetype</groupId>
<artifactId>archetype-packaging</artifactId> <artifactId>archetype-packaging</artifactId>
<version>2.2-SNAPSHOT</version> <version>${archetypeVersion}</version>
</extension> </extension>
</extensions> </extensions>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-archetype-plugin</artifactId> <artifactId>maven-archetype-plugin</artifactId>
<version>2.2-SNAPSHOT</version> <version>${archetypeVersion}</version>
<configuration> <configuration>
<settingsFile>${basedir}/src/test/test-settings.xml</settingsFile> <settingsFile>${basedir}/src/test/test-settings.xml</settingsFile>
<localRepositoryPath>${basedir}/target/local-repo</localRepositoryPath> <localRepositoryPath>${basedir}/target/local-repo</localRepositoryPath>