You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Alan Cabrera (JIRA)" <ji...@codehaus.org> on 2010/06/03 17:02:13 UTC

[jira] Created: (MGPG-25) The GPG Plugin "doubly signs" artifacts

The GPG Plugin "doubly signs" artifacts
---------------------------------------

                 Key: MGPG-25
                 URL: http://jira.codehaus.org/browse/MGPG-25
             Project: Maven 2.x GPG Plugin
          Issue Type: Bug
    Affects Versions: 1.1
         Environment: Mac OS X 10.5.8
Maven 2.2.1
JDK 1.6
            Reporter: Alan Cabrera


I end up with artifacts like {{papoose-http-1.0-20100602.142421-2-javadoc.jar.asc.asc}}

You can look at my setup:

git://github.com/maguro/papoose-http.git



-- 
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

        

[jira] Commented: (MGPG-25) The GPG Plugin "doubly signs" artifacts

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MGPG-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=223945#action_223945 ] 

Benjamin Bentmann commented on MGPG-25:
---------------------------------------

"mvn clean install -P deploy"

BTW, the exact steps required to reproduce your issue should have been part of this bug report...

> The GPG Plugin "doubly signs" artifacts
> ---------------------------------------
>
>                 Key: MGPG-25
>                 URL: http://jira.codehaus.org/browse/MGPG-25
>             Project: Maven 2.x GPG Plugin
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: Mac OS X 10.5.8
> Maven 2.2.1
> JDK 1.6
>            Reporter: Alan Cabrera
>            Assignee: Benjamin Bentmann
>
> I end up with artifacts like {{papoose-http-1.0-20100602.142421-2-javadoc.jar.asc.asc}}
> You can look at my setup:
> git://github.com/maguro/papoose-http.git

-- 
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

        

[jira] Commented: (MGPG-25) The GPG Plugin "doubly signs" artifacts

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MGPG-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=223948#action_223948 ] 

Benjamin Bentmann commented on MGPG-25:
---------------------------------------

Yes, see also [Introduction to the Build Lifecycle|http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html].

> The GPG Plugin "doubly signs" artifacts
> ---------------------------------------
>
>                 Key: MGPG-25
>                 URL: http://jira.codehaus.org/browse/MGPG-25
>             Project: Maven 2.x GPG Plugin
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: Mac OS X 10.5.8
> Maven 2.2.1
> JDK 1.6
>            Reporter: Alan Cabrera
>            Assignee: Benjamin Bentmann
>
> I end up with artifacts like {{papoose-http-1.0-20100602.142421-2-javadoc.jar.asc.asc}}
> You can look at my setup:
> git://github.com/maguro/papoose-http.git

-- 
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

        

[jira] Closed: (MGPG-25) The GPG Plugin "doubly signs" artifacts

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MGPG-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann closed MGPG-25.
---------------------------------

    Resolution: Cannot Reproduce
      Assignee: Benjamin Bentmann

I only see this in the build log
{noformat}
[INFO] [gpg:sign {execution: sign-artifacts}]
[DEBUG] Generating signature for [...]/http/target/papoose-http-1.0-SNAPSHOT.jar
[DEBUG] Generating signature for [...]/http/target/papoose-http-1.0-SNAPSHOT.pom
[DEBUG] Generating signature for [...]/http/target/papoose-http-1.0-SNAPSHOT-javadoc.jar
[DEBUG] Generating signature for [...]/http/target/papoose-http-1.0-SNAPSHOT-sources.jar
[...]
[INFO] [install:install {execution: default-install}]
[INFO] Installing [...]/http/target/papoose-http-1.0-SNAPSHOT.jar to org/papoose/cmpn/papoose-http/1.0-SNAPSHOT/papoose-http-1.0-SNAPSHOT.jar
[INFO] Installing [...]/http/target/papoose-http-1.0-SNAPSHOT-javadoc.jar to org/papoose/cmpn/papoose-http/1.0-SNAPSHOT/papoose-http-1.0-SNAPSHOT-javadoc.jar
[INFO] Installing [...]/http/target/papoose-http-1.0-SNAPSHOT-sources.jar to org/papoose/cmpn/papoose-http/1.0-SNAPSHOT/papoose-http-1.0-SNAPSHOT-sources.jar
[INFO] Installing [...]/http/target/papoose-http-1.0-SNAPSHOT.jar.asc to org/papoose/cmpn/papoose-http/1.0-SNAPSHOT/papoose-http-1.0-SNAPSHOT.jar.asc
[INFO] Installing [...]/http/target/papoose-http-1.0-SNAPSHOT.pom.asc to org/papoose/cmpn/papoose-http/1.0-SNAPSHOT/papoose-http-1.0-SNAPSHOT.pom.asc
[INFO] Installing [...]/http/target/papoose-http-1.0-SNAPSHOT-javadoc.jar.asc to org/papoose/cmpn/papoose-http/1.0-SNAPSHOT/papoose-http-1.0-SNAPSHOT-javadoc.jar.asc
[INFO] Installing [...]/http/target/papoose-http-1.0-SNAPSHOT-sources.jar.asc to org/papoose/cmpn/papoose-http/1.0-SNAPSHOT/papoose-http-1.0-SNAPSHOT-sources.jar.asc
{noformat}
and there aren't duplicate signatures in either the target directory or the local repo.

It would be interesting to see a build log that shows otherwise.

> The GPG Plugin "doubly signs" artifacts
> ---------------------------------------
>
>                 Key: MGPG-25
>                 URL: http://jira.codehaus.org/browse/MGPG-25
>             Project: Maven 2.x GPG Plugin
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: Mac OS X 10.5.8
> Maven 2.2.1
> JDK 1.6
>            Reporter: Alan Cabrera
>            Assignee: Benjamin Bentmann
>
> I end up with artifacts like {{papoose-http-1.0-20100602.142421-2-javadoc.jar.asc.asc}}
> You can look at my setup:
> git://github.com/maguro/papoose-http.git

-- 
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

        

[jira] Commented: (MGPG-25) The GPG Plugin "doubly signs" artifacts

Posted by "Alan Cabrera (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MGPG-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=223952#action_223952 ] 

Alan Cabrera commented on MGPG-25:
----------------------------------

Man thanks!

> The GPG Plugin "doubly signs" artifacts
> ---------------------------------------
>
>                 Key: MGPG-25
>                 URL: http://jira.codehaus.org/browse/MGPG-25
>             Project: Maven 2.x GPG Plugin
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: Mac OS X 10.5.8
> Maven 2.2.1
> JDK 1.6
>            Reporter: Alan Cabrera
>            Assignee: Benjamin Bentmann
>
> I end up with artifacts like {{papoose-http-1.0-20100602.142421-2-javadoc.jar.asc.asc}}
> You can look at my setup:
> git://github.com/maguro/papoose-http.git

-- 
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

        

[jira] Commented: (MGPG-25) The GPG Plugin "doubly signs" artifacts

Posted by "Alan Cabrera (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MGPG-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=223946#action_223946 ] 

Alan Cabrera commented on MGPG-25:
----------------------------------

I get double artifacts when I execute
{code}
mvn clean install deploy -P deploy
{code}

It seems that the signing gets re-run when I also add the deploy target.  Is that expected behavior?

> The GPG Plugin "doubly signs" artifacts
> ---------------------------------------
>
>                 Key: MGPG-25
>                 URL: http://jira.codehaus.org/browse/MGPG-25
>             Project: Maven 2.x GPG Plugin
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: Mac OS X 10.5.8
> Maven 2.2.1
> JDK 1.6
>            Reporter: Alan Cabrera
>            Assignee: Benjamin Bentmann
>
> I end up with artifacts like {{papoose-http-1.0-20100602.142421-2-javadoc.jar.asc.asc}}
> You can look at my setup:
> git://github.com/maguro/papoose-http.git

-- 
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

        

[jira] Commented: (MGPG-25) The GPG Plugin "doubly signs" artifacts

Posted by "Alan Cabrera (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MGPG-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=223943#action_223943 ] 

Alan Cabrera commented on MGPG-25:
----------------------------------

What command did you execute?

> The GPG Plugin "doubly signs" artifacts
> ---------------------------------------
>
>                 Key: MGPG-25
>                 URL: http://jira.codehaus.org/browse/MGPG-25
>             Project: Maven 2.x GPG Plugin
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: Mac OS X 10.5.8
> Maven 2.2.1
> JDK 1.6
>            Reporter: Alan Cabrera
>            Assignee: Benjamin Bentmann
>
> I end up with artifacts like {{papoose-http-1.0-20100602.142421-2-javadoc.jar.asc.asc}}
> You can look at my setup:
> git://github.com/maguro/papoose-http.git

-- 
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