Author: bentmann
Date: Sat Aug 2 07:16:14 2008
New Revision: 681983
URL: http://svn.apache.org/viewvc?rev=681983&view=rev
Log:
o Enabled workaround for MINVOKER-43
Modified:
maven/plugins/trunk/maven-war-plugin/pom.xml
Modified: maven/plugins/trunk/maven-war-plugin/pom.xml
URL:
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-war-plugin/pom.xml?rev=681983&r1=681982&r2=681983&view=diff
==============================================================================
--- maven/plugins/trunk/maven-war-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-war-plugin/pom.xml Sat Aug 2 07:16:14 2008
@@ -192,7 +192,7 @@
<pomExclude>**/META-INF/**/pom.xml</pomExclude>
</pomExcludes>
<postBuildHookScript>verify.bsh</postBuildHookScript>
-
<localRepositoryPath>${basedir}/target/local-repo</localRepositoryPath>
+
<localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
<goals>
<goal>clean</goal>
<goal>package</goal>
@@ -210,6 +210,33 @@
</execution>
</executions>
</plugin>
+ <!-- TODO: Remove this plugin execution once MINVOKER-43 is released
-->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-install-plugin</artifactId>
+ <version>2.2</version>
+ <executions>
+ <execution>
+ <id>it-preparation</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>install-file</goal>
+ </goals>
+ <configuration>
+
<file>${project.build.directory}/${project.build.finalName}.jar</file>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>${project.artifactId}</artifactId>
+ <version>${project.version}</version>
+ <packaging>${project.packaging}</packaging>
+ <pomFile>${basedir}/pom.xml</pomFile>
+ <createChecksum>true</createChecksum>
+
<localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
+ <!-- NOTE: must match identifier of real local repository or
metadata lookup during ITs will misbehave -->
+ <localRepositoryId>local</localRepositoryId>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</profile>