maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bryan Brouckaert (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MJAR-99) Unsigned jar is installed instead of signed jar when the signature wasn't updated
Date Tue, 26 Feb 2008 13:19:28 GMT

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

Bryan Brouckaert commented on MJAR-99:
--------------------------------------

This is of couse only a problem with the following configuration:

<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <executions>
          <execution>
            <goals>
              <goal>sign</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <keystore>/code.keystore</keystore>
          <alias>alias</alias>
          <storepass>xxx</storepass>
          <signedjar>${project.build.directory}/signed/${project.build.finalName}.jar</signedjar>
        </configuration>

> 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

        

Mime
View raw message