[ 
https://issues.apache.org/jira/browse/HADOOP-7798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Doug Cutting updated HADOOP-7798:
---------------------------------

    Attachment: HADOOP-7798.patch

Here's a patch for the 0.23 branch that works for me.  Just adding the profiles 
isn't enough.  It seems you can't stage stuff named *-SNAPSHOT either.  Also, 
the Maven versions plugin doesn't seem to like it when the version is repeated 
in the child, but you need to name the parent's version.

With this, 'mvn -P dist,sign deploy -DskipTests -Dgpg.passphrase=XXX' works for 
me, staging a release at https://repository.apache.org/ that I can close, 
including source and documentation jars, everything signed, etc.

After this, to change the version, you can edit the version in the top-level 
pom.xml then use 'mvn versions:update-child-modules' to propagate that to all 
of the children.  There are a few other files that unfortunately contain the 
version too...
                
> Release artifacts need to be signed for Nexus
> ---------------------------------------------
>
>                 Key: HADOOP-7798
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7798
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.23.0
>            Reporter: Arun C Murthy
>            Priority: Blocker
>             Fix For: 0.23.0
>
>         Attachments: HADOOP-7798.patch
>
>
> When I uploaded hadoop-0.23.0-rc1 artifacts to Nexus it complains that 
> artifacts aren't signed. Hence I won't be able push the release jars after 
> the vote.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to