If you don't need ABC.jar a work around hack until you find the proper solution might be to use antrun at the right phase and move ABC-small.jar to ABC.jar.
On 13 April 2012 15:42, Shyamsundar Purkayastha <s.purkayas...@airtelmail.in> wrote: > I have a maven build configuration where I do the following steps > > 1) Compile and build the jar file (ABC.jar) using the maven assembly plugin > > 2) Run proguard using maven-proguard plugin to shrink and obfuscate the jar > file to get a resultant file as ABC-small.jar > > 3) Run the maven jarsigner plugin to sign the final jar ABC-small.jar > > The problem is that the jarsigner plugin always picks the initial ABC.jar > file generated from maven-assembly instead of ABC-small.jar generated from > maven-proguard plugin. > > How do I tell jarsigner plugin to pick the ABC-small.jar ? > > Here is my maven-jarsigner config in pom file > > <plugin> > > <artifactId>maven-jarsigner-plugin</artifactId> > > <version>1.2</version> > > <executions> > > <execution> > > <id>sign</id> > > <goals> > > <goal>sign</goal> > > > > </goals> > > </execution> > > </executions> > > <configuration> > > <!-- <storetype>pkcs12</storetype> --> > > <keystore>cert\keystore</keystore> > > <alias>applet</alias> > > <storepass>applet</storepass> > > <keypass>applet</keypass> > > </configuration> > > </plugin> > > > > Thanks in advance > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org