hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Abdelnur (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9279) Compile failure when hadoop-maven-plugins doesn't exist in local repository
Date Tue, 12 Feb 2013 18:55:14 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-9279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13576885#comment-13576885
] 

Alejandro Abdelnur commented on HADOOP-9279:
--------------------------------------------

Regarding the "Building components seperately" section:

* typo on 'seperately'
* a more correct way of stating things here would be: If you are building a submodule directory,
all the hadoop dependencies this submodule has will be resolved as all other 3rd party dependencies.
This is, from the Maven cache or from a Maven repository (if not available in the cache or
the SNAPSHOT 'timed out'). An alternative is to run 'mvn install -DskipTests' from Hadoop
source top level once; and then work from the submodule. Keep in mind that SNAPSHOTs time
out after a while, using the Maven '-nsu' will stop Maven from trying to update SNAPSHOTs
from external repos.
                
> Compile failure when hadoop-maven-plugins doesn't exist in local repository
> ---------------------------------------------------------------------------
>
>                 Key: HADOOP-9279
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9279
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: build, documentation
>    Affects Versions: 3.0.0
>         Environment: hadoop-maven-plugins-3.0.0-SNAPSHOT.jar doesn't exist in local repository
or at maven central repository.
>            Reporter: Tsuyoshi OZAWA
>            Assignee: Tsuyoshi OZAWA
>         Attachments: HADOOP-9279.2.patch, HADOOP-9279.patch
>
>
> In current hadoop-trunk, compile fails when hadoop-maven-plugins-3.0.0-SNAPSHOT.jar doesn't
exist in local repository or at maven central repository.
> The affected components are:
> ./hadoop-common-project/hadoop-common/pom.xml
> ./hadoop-maven-plugins/pom.xml
> ./hadoop-project/pom.xml
> ./hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/pom.xml
> The error log is as follows
> {quote}
> [ERROR] Plugin org.apache.hadoop.maven.plugin:hadoop-maven-plugins:1.0 or one of its
dependencies could not be resolved: Failed to read artifact descriptor for org.apache.hadoop.maven.plugin:hadoop-maven-plugins:jar:1.0:
Could not find artifact org.apache.hadoop.maven.plugin:hadoop-maven-plugins:pom:1.0 in central
(http://repo.maven.apache.org/maven2) -> [Help 1]
> {quote}
> This can be avoidable if hadoop-maven-plugins is installed before packaging. This is
undocumented, so this should get documented.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message