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


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

        

Reply via email to