You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2009/08/09 13:27:59 UTC

[jira] Closed: (MJAR-99) Unsigned jar is installed instead of signed jar when the signature wasn't updated

     [ http://jira.codehaus.org/browse/MJAR-99?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann closed MJAR-99.
---------------------------------

      Assignee: Benjamin Bentmann
    Resolution: Won't Fix

The jarsigner related goals in this plugin will be deprecated, please use the dedicated [maven-jarsigner-plugin|http://maven.apache.org/plugins/maven-jarsigner-plugin/].

> Unsigned jar is installed instead of signed jar when the signature wasn't updated
> ---------------------------------------------------------------------------------
>
>                 Key: MJAR-99
>                 URL: http://jira.codehaus.org/browse/MJAR-99
>             Project: Maven 2.x Jar Plugin
>          Issue Type: Bug
>          Components: sign
>    Affects Versions: 2.2
>         Environment: Maven 2.0.8, JRE 1.5,  WindowsXP
>            Reporter: Bryan Brouckaert
>            Assignee: Benjamin Bentmann
>
> When running the first time or after an update it installes the signed jar.
> [INFO] [jar:sign {execution: default}]
> [INFO] [install:install]
> [INFO] Installing D:\Projects\CIN\MyCareNet\Portal\applet\target\signed\applet-0.3-SNAPSHOT.jar to D:\Downloads\Maven\be\cin\mycarenet\portal\applet\0.3-SNAPSHOT\applet-0.3-SNAPSHOT.jar
> The second run the signing is skipped (which is ok), but the unsigned jar in installed which isn't ok.
> [INFO] [jar:sign {execution: default}]
> [debug] jarsigner executable=[C:\Java\jdk1.5.0_14\jre\..\bin\jarsigner.exe]
> [debug] Executing: cmd.exe /X /C '"C:\Java\jdk1.5.0_14\jre\..\bin\jarsigner.exe -verify D:\Projects\CIN\MyCareNet\Portal\applet\target\signed\applet-0.3-SNAPSHOT.jar"'
> [info] jar verified.
> [INFO] JAR D:\Projects\CIN\MyCareNet\Portal\applet\target\signed\applet-0.3-SNAPSHOT.jar is already signed. Skipping.
> [INFO] [install:install]
> [INFO] Installing D:\Projects\CIN\MyCareNet\Portal\applet\target\applet-0.3-SNAPSHOT.jar to D:\Downloads\Maven\be\cin\mycarenet\portal\applet\0.3-SNAPSHOT\applet-0.3-SNAPSHOT.jar

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira