Thanks Jerome!
That was fast and fixed the problem!

Dan

On Tue, May 13, 2008 at 11:13 AM, Jerome Lacoste <[EMAIL PROTECTED]>
wrote:

> On Tue, May 13, 2008 at 5:08 PM, Software Developer
> <[EMAIL PROTECTED]> wrote:
> > Hi
> >
> >  I am trying to sign a jar, but build fails.
> >  The funny thing is that if I copy the same command from maven trace and
> >  execute it over the command line, it works OK.
> >  I hope someone could lend me a hand, thanks!
> >
> >  Dan
> >
> >  Here goes the info.
> >
> >  So, this command executes OK:
> >  D:\WORKSPACES\USERS_ALERTS\users>"C:\Program
> >  Files\Java\j2sdk1.4.2_15\jre\..\bin
> >  \jarsigner.exe" -keystore "C:\Documents and
> Settings\danmayolo/.keystore"
> >  -storep
> >  ass password1 -keypass password1
> >  D:\WORKSPACES\USERS_ALERTS\users\target\users-1
> >  .0.2-20080511.jar mykey
> >  ------
> >  This is my POM:
> >  <?xml version="1.0" encoding="UTF-8"?>
> >  <project>
> >     <parent>
> >         <artifactId>maven</artifactId>
> >         <groupId>net.excelsystems</groupId>
> >         <version>1.0</version>
> >         <relativePath>../maven</relativePath>
> >     </parent>
> >     <modelVersion>4.0.0</modelVersion>
> >     <groupId>net.excelsystems.framework</groupId>
> >     <artifactId>users</artifactId>
> >     <version>1.0.2-20080511</version>
> >     <name>Excelsystems Users</name>
> >     <description>User administration module</description>
> >     <build>
> >         <sourceDirectory>src</sourceDirectory>
> >         <plugins>
> >             <plugin>
> >                 <groupId>org.apache.maven.plugins</groupId>
> >                 <artifactId>maven-jar-plugin</artifactId>
> >                 <version>2.1</version>
> >                 <executions>
> >                     <execution>
> >                         <goals>
> >                             <goal>sign</goal>
> >                         </goals>
>
>
> Problem is known and fixed in jar plugin 2.2:
> http://jira.codehaus.org/browse/MJAR-49
>
> Upgrade to maven-jar-plugin version 2.2.
>
> Jerome
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to