summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorakozak2011-11-21 08:07:17 (EST)
committer Winston Prakash2011-12-01 20:46:50 (EST)
commit95b18a06ba1b61bc2c3776f3c2691202775e8002 (patch)
tree97ef158cb5a7047ce58a3ba9a4ad9e7667c84f50
parentd747b0716813ad1c4ef0c86218b5f791f45f2769 (diff)
downloadorg.eclipse.hudson.core-95b18a06ba1b61bc2c3776f3c2691202775e8002.zip
org.eclipse.hudson.core-95b18a06ba1b61bc2c3776f3c2691202775e8002.tar.gz
org.eclipse.hudson.core-95b18a06ba1b61bc2c3776f3c2691202775e8002.tar.bz2
HUDSON-9001: massage the Akuma groupId in classes/dependencies.txt so it can still be found by org.jvnet.hudson:executable-war:1.17
Signed-off-by: Winston Prakash <winston.prakash@gmail.com>
-rw-r--r--hudson-war/pom.xml23
1 files changed, 21 insertions, 2 deletions
diff --git a/hudson-war/pom.xml b/hudson-war/pom.xml
index fec9c9c..8ab0713 100644
--- a/hudson-war/pom.xml
+++ b/hudson-war/pom.xml
@@ -77,7 +77,7 @@
<goals>
<goal>list</goal>
</goals>
- <!-- TODO: what is actually using this file? -->
+ <!-- used by org.jvnet.hudson:executable-war to find JNA and Akuma versions -->
<configuration>
<outputFile>${basedir}/target/classes/dependencies.txt</outputFile>
</configuration>
@@ -251,7 +251,26 @@
</execution>
</executions>
</plugin>
-
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>fixDependenciesTxt</id>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <!-- fix Akuma groupId so it can still be found by pre-split org.jvnet.hudson:executable-war:1.17 -->
+ <replace file="${basedir}/target/classes/dependencies.txt" token="org.kohsuke"
+ value="com.sun.akuma"/>
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>2.5</version>