maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thiago Leão Moreira (JIRA) <>
Subject [jira] Created: (MGPG-26) sign-and-deploy-file does not work with javadoc and sources artifcats
Date Sun, 06 Jun 2010 19:12:12 GMT
sign-and-deploy-file does not work with javadoc and sources artifcats

                 Key: MGPG-26
             Project: Maven 2.x GPG Plugin
          Issue Type: Bug
    Affects Versions: 1.1, 1.2
            Reporter: Thiago Leão Moreira
         Attachments: javadoc-sources.patch

If you are trying to deploy an Ant project with javadoc and sources the gpg plugin does not
create the ".asc" appropriate file name for these types. Following is a snippet of Ant script
that reproduce the issue.

	<exec dir="." executable="${maven.executable}" failonerror="true">
		<arg value="gpg:sign-and-deploy-file" />
		<arg value="-DartifactId=core-client" />
		<arg value="-Dfile=core-client-javadoc.jar" />
		<arg value="-DgeneratePom=false" />
		<arg value="-DgroupId=com.yournamehere" />
		<arg value="-Dgpg.keyname=${gpg.keyname}" />
		<arg value="-Dpackaging=javadoc" />
		<arg value="-Dgpg.passphrase=${gpg.passphrase}" />
		<arg value="-DrepositoryId=${}" />
		<arg value="-Durl=${maven.url}" />
		<arg value="-Dversion=6.0.2" />

  The result will be "core-client-6.0.2-javadoc.javadoc.asc" when the right result would be

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message