hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luke Lu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-3003) Publish Yarn and MapReduce artifacts to Maven snapshot repository
Date Fri, 16 Sep 2011 01:26:08 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-3003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13105803#comment-13105803

Luke Lu commented on MAPREDUCE-3003:

There are two approaches to solve the problem correctly (allowing CI to work).

# Add a maven-deploy-plugin config section in the top-level poms, a la maven-install-plugin
to specify the santized pom with <pomFile>${install.pom}</pomFile>. This preserve
the CI-friendliness of the current POMs.
# Convert all the pom.xml to use hard-coded versions and make sure everything works with versions-maven-plugin.
You can test this by using mvn versions:set something-other-than 0.24.0-SNAPSHOT and remove
.m2/repository/org/apache/hadoop/* and do mvn install or deploy to see if *all* the resulting
artifacts have the correct versions. I don't think the current patch would work correctly
as the versions in the dependencies sections will not be handled correctly.

I personally prefer the first approach as it doesn't require changing POM sources for CI to
avoid accidentally mixing in the version changes in patches and flexible build profiles. OTOH,
I can live with the second approach as long as we make sure it works with CI.

For various reasons, I temporarily don't have proper hardware setup to work on hadoop source,
otherwise I'd provide a patch :)

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


View raw message