| author | akozak | 2011-11-21 08:07:17 (EST) |
|---|---|---|
| committer | Winston Prakash | 2011-12-01 20:46:50 (EST) |
| commit | 2d3609da401373c3313a2c4c21fcf23cad94287c (patch) (side-by-side diff) | |
| tree | 13f1c7805040a9311784b89218d15b25b21bb947 | |
| parent | 81d716b74be1b82047b861c46f37e5052a31225f (diff) | |
| download | org.eclipse.hudson.core-2d3609da401373c3313a2c4c21fcf23cad94287c.zip org.eclipse.hudson.core-2d3609da401373c3313a2c4c21fcf23cad94287c.tar.gz org.eclipse.hudson.core-2d3609da401373c3313a2c4c21fcf23cad94287c.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.xml | 23 |
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> |

