[
https://issues.apache.org/jira/browse/MAPREDUCE-3003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13104793#comment-13104793
]
Alejandro Abdelnur commented on MAPREDUCE-3003:
-----------------------------------------------
Arun, no worries.
I'm not sure how Luke got that result. Pelase try the following:
Run:
{code}
$ mkdir /tmp/repo
$ mvn deploy -P-cbuild -DskipTests
-DaltDeploymentRepository=foo::default::file:///tmp/repo
{code}
And then check any of the MR poms under /tmp/repo, you'll see that the
variables are not resolved, for example:
{code}
<project>
<parent>
<artifactId>hadoop-mapreduce-client</artifactId>
<groupId>org.apache.hadoop</groupId>
<version>${hadoop-mapreduce.version}</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-mapreduce-client-core</artifactId>
<name>hadoop-mapreduce-client-core</name>
{code}
> Publish Yarn and MapReduce artifacts to Maven snapshot repository
> -----------------------------------------------------------------
>
> Key: MAPREDUCE-3003
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3003
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: build
> Reporter: Tom White
> Assignee: Tom White
> Attachments: MAPREDUCE-3003-0.23.patch, MAPREDUCE-3003.patch,
> MAPREDUCE-3003.patch
>
>
> Currently this is failing since no distribution management section is defined
> in the POM.
> https://builds.apache.org/view/G-L/view/Hadoop/job/Hadoop-Common-trunk-Commit/883/consoleFull
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira