summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2014-01-28 17:49:52 +0000
committertkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2014-01-28 17:49:52 +0000
commit0c00cd64979166e291f9529a7a0579a232c5a9fd (patch)
tree9cfc3adc30dff9b906a25b3c662f93842797064e
parent0c3a463996aaae454964400ebbc57089fc8afae8 (diff)
downloadmocca-0c00cd64979166e291f9529a7a0579a232c5a9fd.tar.gz
mocca-0c00cd64979166e291f9529a7a0579a232c5a9fd.tar.bz2
mocca-0c00cd64979166e291f9529a7a0579a232c5a9fd.zip
Allow to add custom manifest entries to izpack installer jar
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@488 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
-rw-r--r--pdf-over-gui/pom.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/pdf-over-gui/pom.xml b/pdf-over-gui/pom.xml
index 94195e32..780dd43c 100644
--- a/pdf-over-gui/pom.xml
+++ b/pdf-over-gui/pom.xml
@@ -127,6 +127,7 @@
</configuration>
</execution>
<execution>
+ <!-- copy os-specific swt jars to izpack staging dir -->
<id>copy</id>
<phase>package</phase>
<goals>
@@ -158,6 +159,29 @@
</executions>
</plugin>
<plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>1.2.1</version>
+ <executions>
+ <execution>
+ <phase>install</phase>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <!-- Add custom manifest entries to izpack installer jar -->
+ <executable>jar</executable>
+ <workingDirectory>${staging.dir}</workingDirectory>
+ <arguments>
+ <argument>-ufm</argument>
+ <argument>setup.jar</argument>
+ <argument>ManifestEntries.mf</argument>
+ </arguments>
+ </configuration>
+ </plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jarsigner-plugin</artifactId>
<version>1.2</version>