Switch to using maven-distribution instead of maven-embedder, and stop using project.version references in the plugin configs, where the timestamp/buildnumber may be different between core-it-runner and -distribution.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@649590 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
John Dennis Casey 2008-04-18 16:25:59 +00:00
parent 5018136c1a
commit 3f68f32abf
1 changed files with 5 additions and 5 deletions

View File

@ -30,7 +30,7 @@ under the License.
<dependencies>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-embedder</artifactId>
<artifactId>maven-distribution</artifactId>
<version>2.1-SNAPSHOT</version>
<classifier>bin</classifier>
<type>tar.gz</type>
@ -52,7 +52,7 @@ under the License.
<systemProperties>
<property>
<name>maven.home</name>
<value>${basedir}/target/maven-installation/apache-maven-${project.version}</value>
<value>${basedir}/target/maven-installation/apache-maven-2.1-SNAPSHOT</value>
</property>
<property>
<name>maven.test.tmpdir</name>
@ -76,8 +76,8 @@ under the License.
<artifactItems>
<artifactItem>
<groupId>org.apache.maven</groupId>
<artifactId>maven-embedder</artifactId>
<version>${project.version}</version>
<artifactId>maven-distribution</artifactId>
<version>2.1-SNAPSHOT</version>
<classifier>bin</classifier>
<type>tar.gz</type>
</artifactItem>
@ -96,7 +96,7 @@ under the License.
<execution>
<configuration>
<tasks>
<chmod file="${basedir}/target/maven-installation/apache-maven-${project.version}/bin/mvn" perm="755"/>
<chmod file="${basedir}/target/maven-installation/apache-maven-2.1-SNAPSHOT/bin/mvn" perm="755"/>
</tasks>
</configuration>
<phase>process-sources</phase>