summaryrefslogtreecommitdiff
path: root/BKUApplet
diff options
context:
space:
mode:
authormcentner <mcentner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2010-05-27 07:26:44 +0000
committermcentner <mcentner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2010-05-27 07:26:44 +0000
commit00b274ad1a06a3a5d5a824cbb8dab6c13dc8e315 (patch)
tree2b6bd171d82d850cb3f2537d2318c062e92226d1 /BKUApplet
parent31997eae98526584a4df1690aaed0a23575cadeb (diff)
downloadmocca-00b274ad1a06a3a5d5a824cbb8dab6c13dc8e315.tar.gz
mocca-00b274ad1a06a3a5d5a824cbb8dab6c13dc8e315.tar.bz2
mocca-00b274ad1a06a3a5d5a824cbb8dab6c13dc8e315.zip
BKUApplet and BKUAppletExt projects produce an additional artifact with classifier 'single', a single, shrunk and signed jar file containing all required dependencies. Those are used by BKUOnline now.
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@744 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'BKUApplet')
-rw-r--r--BKUApplet/pom.xml18
1 files changed, 11 insertions, 7 deletions
diff --git a/BKUApplet/pom.xml b/BKUApplet/pom.xml
index 7ef41053..35044a2b 100644
--- a/BKUApplet/pom.xml
+++ b/BKUApplet/pom.xml
@@ -30,6 +30,7 @@
<option>-keep public class * extends java.applet.Applet { *; }</option>
<option>-keep @javax.xml.bind.annotation.** class * { *; }</option>
<option>-ignorewarnings</option>
+ <option>-printusage ${project.build.directory}/proguard_usage.txt</option>
<option>-dontoptimize</option>
<option>-dontpreverify</option>
<option>-target 1.6</option>
@@ -39,8 +40,15 @@
<lib>${java.home}/lib/jce.jar</lib>
<lib>${java.home}/lib/jsse.jar</lib>
</libs>
+ <attach>true</attach>
+ <appendClassifier>true</appendClassifier>
+ <attachArtifactClassifier>single</attachArtifactClassifier>
<assembly>
<inclusions>
+ <inclusion>
+ <groupId>iaik</groupId>
+ <artifactId>iaik_jce_me4se</artifactId>
+ </inclusion>
<inclusion>
<groupId>at.gv.egiz</groupId>
<artifactId>smcc</artifactId>
@@ -97,6 +105,9 @@
<goals>
<goal>sign</goal>
</goals>
+ <configuration>
+ <jarPath>${project.build.directory}/${project.build.finalName}-single.${project.packaging}</jarPath>
+ </configuration>
</execution>
</executions>
<configuration>
@@ -113,19 +124,12 @@
</archive>
<alias>test-applet signer</alias>
<keystore>./keystore.ks</keystore>
- <!-- attention: configuration inherited by pkcs11-sign, uncomment!
- (removed in maven-jar-pluging-2.2-mocca) -->
<storepass>storepass</storepass>
<keypass>keypass</keypass>
<verify>true</verify>
</configuration>
</plugin>
-
</plugins>
- <pluginManagement>
- <plugins>
- </plugins>
- </pluginManagement>
</build>
<profiles>
<profile>