[
https://issues.apache.org/jira/browse/HADOOP-10225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lewis John McGibbney updated HADOOP-10225:
------------------------------------------
Attachment: HADOOP-10225.patch
Patch for hadoop-common trunk codebase.
Adds scm properties as well as a release profile to parent pom.xml.
Using the maven-release-plugin like
mvn release:clean release:prepare -DautoVersionSubmodules=true
to check generated artifacts, then
mvn release:perform
to push the Maven artifacts to Nexus should do the trick. I've confirmed that
sources and Javadoc artifacts are now generated locally.
This works perfectly for us over on Apache Gora when we are doing the release
procedure.
> Publish Maven javadoc and sources artifacts with Hadoop releases.
> -----------------------------------------------------------------
>
> Key: HADOOP-10225
> URL: https://issues.apache.org/jira/browse/HADOOP-10225
> Project: Hadoop Common
> Issue Type: Improvement
> Components: build
> Reporter: Lewis John McGibbney
> Fix For: 3.0.0
>
> Attachments: HADOOP-10225.patch
>
>
> Right now Maven javadoc and sources artifacts do not accompany Hadoop
> releases within Maven central. This means that one needs to checkout source
> code to DEBUG aspects of the codebase... this is not user friendly.
> The build script(s) should be amended to accommodate publication of javadoc
> and sources artifacts alongside pom and jar artifacts.
> Some history on this conversation can be seen below
> http://s.apache.org/7qR
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)