From: Siegfried G. <wd...@us...> - 2003-04-05 14:07:15
|
wdsgoe 03/04/05 06:07:14 Modified: javaapp plugin.jelly Log: Deleting artifacts from signed JARs since the plugin can't handle them properly Revision Changes Path 1.2 +7 -3 maven-plugins/javaapp/plugin.jelly Index: plugin.jelly =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/javaapp/plugin.jelly,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- plugin.jelly 11 Dec 2002 14:46:26 -0000 1.1 +++ plugin.jelly 5 Apr 2003 14:07:14 -0000 1.2 @@ -35,9 +35,13 @@ <unzip src="${jarFile.toString()}" dest="target/classes"/> </j:forEach> - <!-- delete an existing META-INF directory from unzipped JARs --> - - <delete dir="target/classes/META-INF"/> + <!-- delete artifacts of signed JARS in the META-INF directory --> + + <delete> + <fileset dir="target/classes/META-INF" includes="*.DSA"/> + <fileset dir="target/classes/META-INF" includes="*.SF"/> + <fileset dir="target/classes/META-INF" includes="*.RSA"/> + </delete> <jar jarfile="${maven.build.dir}/${maven.javaapp.jar.name}.jar" |