You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Jonathan Eagles (Commented) (JIRA)" <ji...@apache.org> on 2012/02/29 23:31:58 UTC

[jira] [Commented] (HADOOP-8123) hadoop-project invalid pom warnings prevent transitive dependency resolution

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

Jonathan Eagles commented on HADOOP-8123:
-----------------------------------------

env.JAVA_HOME is not guaranteed to be available instead maven recommends using java.home

http://maven.apache.org/general.html#tools-jar-dependency
                
> hadoop-project invalid pom warnings prevent transitive dependency resolution
> ----------------------------------------------------------------------------
>
>                 Key: HADOOP-8123
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8123
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.23.1
>            Reporter: Jonathan Eagles
>            Assignee: Jonathan Eagles
>            Priority: Critical
>
> [DEBUG]   Artifact resolved
> [WARNING] POM for 'org.apache.hadoop:hadoop-common:pom:0.23.1:compile' is invalid.
> Its dependencies (if any) will NOT be available to the current build.
> [DEBUG] Reason: Failed to validate POM for project org.apache.hadoop:hadoop-common at Artifact [org.apache.hadoop:hadoop-common:pom:0.23.1:compile]
> [DEBUG]
> Validation Errors:
> [DEBUG] For dependency Dependency {groupId=jdk.tools, artifactId=jdk.tools, version=1.6, type=jar}: system-scoped dependency must specify an absolute path systemPath.
> [DEBUG]
> [DEBUG]   org.apache.hadoop:hadoop-common:jar:0.23.1:compile (selected for compile)

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