You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by Tim Broberg <tb...@yahoo.com> on 2011/10/02 22:34:19 UTC
Artifact missing - org.apache.hadoop:hadoop-project:pom:0.24.0-SNAPSHOT
I am trying to build hadoop so I can understand it and perhaps make some moderate contributions.
Following the instructions here, http://wiki.apache.org/hadoop/HowToContribute, I am running the following commands:
svn checkout http://svn.apache.org/repos/asf/hadoop/common/trunk/ hadoop-trunk
cd hadoop-trunk
mvn clean package -Pdist -DskipTests -P-cbuild
...but I am getting errors similar to this guy: https://github.com/harrah/xsbt/issues/190.
Do I need to go hunting around to manually download this file? Is this normal?
Thanks,
- Tim.
Complete Maven output:
mvn clean package -Pdist -DskipTests -P-cbuild
/usr/java/jre1.6.0_27
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Apache Hadoop Project POM
[INFO] Apache Hadoop Annotations
[INFO] Apache Hadoop Assemblies
[INFO] Apache Hadoop Project Dist POM
[INFO] Apache Hadoop Auth
[INFO] Apache Hadoop Auth Examples
[INFO] Apache Hadoop Common
[INFO] Apache Hadoop Common Project
[INFO] Apache Hadoop HDFS
[INFO] Apache Hadoop HDFS Project
[INFO] hadoop-yarn
[INFO] hadoop-yarn-api
[INFO] hadoop-yarn-common
[INFO] hadoop-yarn-server
[INFO] hadoop-yarn-server-common
[INFO] hadoop-yarn-server-nodemanager
[INFO] hadoop-yarn-server-resourcemanager
[INFO] hadoop-yarn-server-tests
[INFO] hadoop-yarn-applications
[INFO] hadoop-yarn-applications-distributedshell
[INFO] hadoop-yarn-site
[INFO] hadoop-mapreduce
[INFO] hadoop-mapreduce-client
[INFO] hadoop-mapreduce-client-core
[INFO] hadoop-mapreduce-client-common
[INFO] hadoop-mapreduce-client-shuffle
[INFO] hadoop-mapreduce-client-app
[INFO] hadoop-mapreduce-client-hs
[INFO] hadoop-mapreduce-client-jobclient
[INFO] Apache Hadoop Main
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Hadoop Project POM
[INFO] task-segment: [clean, package]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) jdk.tools:jdk.tools:jar:1.6
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=jdk.tools -DartifactId=jdk.tools -Dversion=1.6 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=jdk.tools -DartifactId=jdk.tools -Dversion=1.6 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.hadoop:hadoop-project:pom:0.24.0-SNAPSHOT
2) jdk.tools:jdk.tools:jar:1.6
----------
1 required artifact is missing.
for artifact:
org.apache.hadoop:hadoop-project:pom:0.24.0-SNAPSHOT
from the specified remote repositories:
apache.snapshots.https (https://repository.apache.org/content/repositories/snapshots),
central (http://repo1.maven.org/maven2),
__jpp_pom_repo__ (file:///usr/share/maven-poms),
__jpp_repo2__ (file:///usr/share/maven/repository),
__jpp_repo__ (file:///usr/share/maven2/repository)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Sun Oct 02 13:11:50 PDT 2011
[INFO] Final Memory: 9M/21M
[INFO] ------------------------------------------------------------------------
[tbroberg@f15 hadoop-trunk]$
RE: Artifact missing -
org.apache.hadoop:hadoop-project:pom:0.24.0-SNAPSHOT
Posted by Ravi Teja <ra...@huawei.com>.
Hi Praveen,
cbuild is a maven profile in Mapreduce project which compiles the native
code. By specifying -P-cbuild, u are deactivating the cbuild profile, hence
avoiding the compilation of the native code while building.
Regards,
Ravi Teja
-----Original Message-----
From: Prashant [mailto:prashant.s@imaginea.com]
Sent: Monday, October 03, 2011 11:47 AM
To: common-dev@hadoop.apache.org
Subject: Re: Artifact missing -
org.apache.hadoop:hadoop-project:pom:0.24.0-SNAPSHOT
On 10/03/2011 06:39 AM, Tim Broberg wrote:
>
> I am trying to build hadoop so I can understand it and perhaps make some
moderate contributions.
>
>
> Following the instructions here,
http://wiki.apache.org/hadoop/HowToContribute, I am running the following
commands:
>
> svn checkout http://svn.apache.org/repos/asf/hadoop/common/trunk/
hadoop-trunk
> cd hadoop-trunk
> mvn clean package -Pdist -DskipTests -P-cbuild
>
> ...but I am getting errors similar to this guy:
https://github.com/harrah/xsbt/issues/190.
>
> Do I need to go hunting around to manually download this file? Is this
normal?
>
> Thanks,
> - Tim.
>
> Complete Maven output:
>
> mvn clean package -Pdist -DskipTests -P-cbuild
> /usr/java/jre1.6.0_27
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO] Apache Hadoop Project POM
> [INFO] Apache Hadoop Annotations
> [INFO] Apache Hadoop Assemblies
> [INFO] Apache Hadoop Project Dist POM
> [INFO] Apache Hadoop Auth
> [INFO] Apache Hadoop Auth Examples
> [INFO] Apache Hadoop Common
> [INFO] Apache Hadoop Common Project
> [INFO] Apache Hadoop HDFS
> [INFO] Apache Hadoop HDFS Project
> [INFO] hadoop-yarn
> [INFO] hadoop-yarn-api
> [INFO] hadoop-yarn-common
> [INFO] hadoop-yarn-server
> [INFO] hadoop-yarn-server-common
> [INFO] hadoop-yarn-server-nodemanager
> [INFO] hadoop-yarn-server-resourcemanager
> [INFO] hadoop-yarn-server-tests
> [INFO] hadoop-yarn-applications
> [INFO] hadoop-yarn-applications-distributedshell
> [INFO] hadoop-yarn-site
> [INFO] hadoop-mapreduce
> [INFO] hadoop-mapreduce-client
> [INFO] hadoop-mapreduce-client-core
> [INFO] hadoop-mapreduce-client-common
> [INFO] hadoop-mapreduce-client-shuffle
> [INFO] hadoop-mapreduce-client-app
> [INFO] hadoop-mapreduce-client-hs
> [INFO] hadoop-mapreduce-client-jobclient
> [INFO] Apache Hadoop Main
> [INFO]
------------------------------------------------------------------------
> [INFO] Building Apache Hadoop Project POM
> [INFO] task-segment: [clean, package]
> [INFO]
------------------------------------------------------------------------
> [INFO]
------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> Missing:
> ----------
> 1) jdk.tools:jdk.tools:jar:1.6
> Try downloading the file manually from the project website.
> Then, install it using the command:
> mvn install:install-file -DgroupId=jdk.tools -DartifactId=jdk.tools
-Dversion=1.6 -Dpackaging=jar -Dfile=/path/to/file
> Alternatively, if you host your own repository you can deploy the file
there:
> mvn deploy:deploy-file -DgroupId=jdk.tools -DartifactId=jdk.tools
-Dversion=1.6 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]
> Path to dependency:
> 1) org.apache.hadoop:hadoop-project:pom:0.24.0-SNAPSHOT
> 2) jdk.tools:jdk.tools:jar:1.6
> ----------
> 1 required artifact is missing.
> for artifact:
> org.apache.hadoop:hadoop-project:pom:0.24.0-SNAPSHOT
> from the specified remote repositories:
> apache.snapshots.https
(https://repository.apache.org/content/repositories/snapshots),
> central (http://repo1.maven.org/maven2),
> __jpp_pom_repo__ (file:///usr/share/maven-poms),
> __jpp_repo2__ (file:///usr/share/maven/repository),
> __jpp_repo__ (file:///usr/share/maven2/repository)
>
> [INFO]
------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
------------------------------------------------------------------------
> [INFO] Total time: 6 seconds
> [INFO] Finished at: Sun Oct 02 13:11:50 PDT 2011
> [INFO] Final Memory: 9M/21M
> [INFO]
------------------------------------------------------------------------
> [tbroberg@f15 hadoop-trunk]$
What is c-build for ?
Re: Artifact missing - org.apache.hadoop:hadoop-project:pom:0.24.0-SNAPSHOT
Posted by Prashant <pr...@imaginea.com>.
On 10/03/2011 06:39 AM, Tim Broberg wrote:
>
> I am trying to build hadoop so I can understand it and perhaps make some moderate contributions.
>
>
> Following the instructions here, http://wiki.apache.org/hadoop/HowToContribute, I am running the following commands:
>
> svn checkout http://svn.apache.org/repos/asf/hadoop/common/trunk/ hadoop-trunk
> cd hadoop-trunk
> mvn clean package -Pdist -DskipTests -P-cbuild
>
> ...but I am getting errors similar to this guy: https://github.com/harrah/xsbt/issues/190.
>
> Do I need to go hunting around to manually download this file? Is this normal?
>
> Thanks,
> - Tim.
>
> Complete Maven output:
>
> mvn clean package -Pdist -DskipTests -P-cbuild
> /usr/java/jre1.6.0_27
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO] Apache Hadoop Project POM
> [INFO] Apache Hadoop Annotations
> [INFO] Apache Hadoop Assemblies
> [INFO] Apache Hadoop Project Dist POM
> [INFO] Apache Hadoop Auth
> [INFO] Apache Hadoop Auth Examples
> [INFO] Apache Hadoop Common
> [INFO] Apache Hadoop Common Project
> [INFO] Apache Hadoop HDFS
> [INFO] Apache Hadoop HDFS Project
> [INFO] hadoop-yarn
> [INFO] hadoop-yarn-api
> [INFO] hadoop-yarn-common
> [INFO] hadoop-yarn-server
> [INFO] hadoop-yarn-server-common
> [INFO] hadoop-yarn-server-nodemanager
> [INFO] hadoop-yarn-server-resourcemanager
> [INFO] hadoop-yarn-server-tests
> [INFO] hadoop-yarn-applications
> [INFO] hadoop-yarn-applications-distributedshell
> [INFO] hadoop-yarn-site
> [INFO] hadoop-mapreduce
> [INFO] hadoop-mapreduce-client
> [INFO] hadoop-mapreduce-client-core
> [INFO] hadoop-mapreduce-client-common
> [INFO] hadoop-mapreduce-client-shuffle
> [INFO] hadoop-mapreduce-client-app
> [INFO] hadoop-mapreduce-client-hs
> [INFO] hadoop-mapreduce-client-jobclient
> [INFO] Apache Hadoop Main
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Hadoop Project POM
> [INFO] task-segment: [clean, package]
> [INFO] ------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> Missing:
> ----------
> 1) jdk.tools:jdk.tools:jar:1.6
> Try downloading the file manually from the project website.
> Then, install it using the command:
> mvn install:install-file -DgroupId=jdk.tools -DartifactId=jdk.tools -Dversion=1.6 -Dpackaging=jar -Dfile=/path/to/file
> Alternatively, if you host your own repository you can deploy the file there:
> mvn deploy:deploy-file -DgroupId=jdk.tools -DartifactId=jdk.tools -Dversion=1.6 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> Path to dependency:
> 1) org.apache.hadoop:hadoop-project:pom:0.24.0-SNAPSHOT
> 2) jdk.tools:jdk.tools:jar:1.6
> ----------
> 1 required artifact is missing.
> for artifact:
> org.apache.hadoop:hadoop-project:pom:0.24.0-SNAPSHOT
> from the specified remote repositories:
> apache.snapshots.https (https://repository.apache.org/content/repositories/snapshots),
> central (http://repo1.maven.org/maven2),
> __jpp_pom_repo__ (file:///usr/share/maven-poms),
> __jpp_repo2__ (file:///usr/share/maven/repository),
> __jpp_repo__ (file:///usr/share/maven2/repository)
>
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 6 seconds
> [INFO] Finished at: Sun Oct 02 13:11:50 PDT 2011
> [INFO] Final Memory: 9M/21M
> [INFO] ------------------------------------------------------------------------
> [tbroberg@f15 hadoop-trunk]$
What is c-build for ?
Artifact missing - org.apache.hadoop:hadoop-project:pom:0.24.0-SNAPSHOT
Posted by Tim Broberg <tb...@yahoo.com>.
I am trying to build hadoop so I can understand it and perhaps make some moderate contributions.
Following the instructions here, http://wiki.apache.org/hadoop/HowToContribute, I am running the following commands:
svn checkout http://svn.apache.org/repos/asf/hadoop/common/trunk/ hadoop-trunk
cd hadoop-trunk
mvn clean package -Pdist -DskipTests -P-cbuild
...but I am getting errors similar to this guy: https://github.com/harrah/xsbt/issues/190.
Do I need to go hunting around to manually download this file? Is this normal?
Thanks,
- Tim.
Complete Maven output:
mvn clean package -Pdist -DskipTests -P-cbuild
/usr/java/jre1.6.0_27
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Apache Hadoop Project POM
[INFO] Apache Hadoop Annotations
[INFO] Apache Hadoop Assemblies
[INFO] Apache Hadoop Project Dist POM
[INFO] Apache Hadoop Auth
[INFO] Apache Hadoop Auth Examples
[INFO] Apache Hadoop Common
[INFO] Apache Hadoop Common Project
[INFO] Apache Hadoop HDFS
[INFO] Apache Hadoop HDFS Project
[INFO] hadoop-yarn
[INFO] hadoop-yarn-api
[INFO] hadoop-yarn-common
[INFO] hadoop-yarn-server
[INFO] hadoop-yarn-server-common
[INFO] hadoop-yarn-server-nodemanager
[INFO] hadoop-yarn-server-resourcemanager
[INFO] hadoop-yarn-server-tests
[INFO] hadoop-yarn-applications
[INFO] hadoop-yarn-applications-distributedshell
[INFO] hadoop-yarn-site
[INFO] hadoop-mapreduce
[INFO] hadoop-mapreduce-client
[INFO] hadoop-mapreduce-client-core
[INFO] hadoop-mapreduce-client-common
[INFO] hadoop-mapreduce-client-shuffle
[INFO] hadoop-mapreduce-client-app
[INFO] hadoop-mapreduce-client-hs
[INFO] hadoop-mapreduce-client-jobclient
[INFO] Apache Hadoop Main
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Hadoop Project POM
[INFO] task-segment: [clean, package]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) jdk.tools:jdk.tools:jar:1.6
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=jdk.tools -DartifactId=jdk.tools -Dversion=1.6 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=jdk.tools -DartifactId=jdk.tools -Dversion=1.6 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.hadoop:hadoop-project:pom:0.24.0-SNAPSHOT
2) jdk.tools:jdk.tools:jar:1.6
----------
1 required artifact is missing.
for artifact:
org.apache.hadoop:hadoop-project:pom:0.24.0-SNAPSHOT
from the specified remote repositories:
apache.snapshots.https (https://repository.apache.org/content/repositories/snapshots),
central (http://repo1.maven.org/maven2),
__jpp_pom_repo__ (file:///usr/share/maven-poms),
__jpp_repo2__ (file:///usr/share/maven/repository),
__jpp_repo__ (file:///usr/share/maven2/repository)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Sun Oct 02 13:11:50 PDT 2011
[INFO] Final Memory: 9M/21M
[INFO] ------------------------------------------------------------------------
[tbroberg@f15 hadoop-trunk]$
Re: Artifact missing - org.apache.hadoop:hadoop-project:pom:0.24.0-SNAPSHOT
Posted by Luke Lu <ll...@vicaya.com>.
To work around the hadoop-project pom issue. Just use mvn install ...
instead of mvn package ...
On Mon, Oct 3, 2011 at 1:38 AM, Ravi Teja <ra...@huawei.com> wrote:
> Hi Tim,
> You have set your JAVA_HOME to JRE(Java Runtime env) instead of setting it
> to JDK (Java Dev Kit). The tools jar is not available in the jre.
>
> For the hadoop project pom, I think its a issue with your maven
> proxy settings. Can u provide the detailed stack using -e or -X option when
> u run.
>
> Regards,
> Ravi Teja
>
>
> -----Original Message-----
> From: Tim Broberg [mailto:tbroberg@yahoo.com]
> Sent: Monday, October 03, 2011 2:04 AM
> To: common-dev@hadoop.apache.org
> Subject: Artifact missing -
> org.apache.hadoop:hadoop-project:pom:0.24.0-SNAPSHOT
>
> I am trying to build hadoop so I can understand it and perhaps make some
> moderate contributions.
>
> Following the instructions here,
> http://wiki.apache.org/hadoop/HowToContribute, I am running the following
> commands:
>
> svn checkout http://svn.apache.org/repos/asf/hadoop/common/trunk/
> hadoop-trunk
> cd hadoop-trunk
> mvn clean package -Pdist -DskipTests -P-cbuild
>
> ...but I am getting errors similar to this guy:
> https://github.com/harrah/xsbt/issues/190.
>
> Do I need to go hunting around to manually download this file? Is this
> normal?
>
> Thanks,
> - Tim.
>
> Complete Maven output:
>
> mvn clean package -Pdist -DskipTests -P-cbuild
> /usr/java/jre1.6.0_27
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO] Apache Hadoop Project POM
> [INFO] Apache Hadoop Annotations
> [INFO] Apache Hadoop Assemblies
> [INFO] Apache Hadoop Project Dist POM
> [INFO] Apache Hadoop Auth
> [INFO] Apache Hadoop Auth Examples
> [INFO] Apache Hadoop Common
> [INFO] Apache Hadoop Common Project
> [INFO] Apache Hadoop HDFS
> [INFO] Apache Hadoop HDFS Project
> [INFO] hadoop-yarn
> [INFO] hadoop-yarn-api
> [INFO] hadoop-yarn-common
> [INFO] hadoop-yarn-server
> [INFO] hadoop-yarn-server-common
> [INFO] hadoop-yarn-server-nodemanager
> [INFO] hadoop-yarn-server-resourcemanager
> [INFO] hadoop-yarn-server-tests
> [INFO] hadoop-yarn-applications
> [INFO] hadoop-yarn-applications-distributedshell
> [INFO] hadoop-yarn-site
> [INFO] hadoop-mapreduce
> [INFO] hadoop-mapreduce-client
> [INFO] hadoop-mapreduce-client-core
> [INFO] hadoop-mapreduce-client-common
> [INFO] hadoop-mapreduce-client-shuffle
> [INFO] hadoop-mapreduce-client-app
> [INFO] hadoop-mapreduce-client-hs
> [INFO] hadoop-mapreduce-client-jobclient
> [INFO] Apache Hadoop Main
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache Hadoop Project POM
> [INFO] task-segment: [clean, package]
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> Missing:
> ----------
> 1) jdk.tools:jdk.tools:jar:1.6
> Try downloading the file manually from the project website.
> Then, install it using the command:
> mvn install:install-file -DgroupId=jdk.tools -DartifactId=jdk.tools
> -Dversion=1.6 -Dpackaging=jar -Dfile=/path/to/file
> Alternatively, if you host your own repository you can deploy the file
> there:
> mvn deploy:deploy-file -DgroupId=jdk.tools -DartifactId=jdk.tools
> -Dversion=1.6 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
> -DrepositoryId=[id]
> Path to dependency:
> 1) org.apache.hadoop:hadoop-project:pom:0.24.0-SNAPSHOT
> 2) jdk.tools:jdk.tools:jar:1.6
> ----------
> 1 required artifact is missing.
> for artifact:
> org.apache.hadoop:hadoop-project:pom:0.24.0-SNAPSHOT
> from the specified remote repositories:
> apache.snapshots.https
> (https://repository.apache.org/content/repositories/snapshots),
> central (http://repo1.maven.org/maven2),
> __jpp_pom_repo__ (file:///usr/share/maven-poms),
> __jpp_repo2__ (file:///usr/share/maven/repository),
> __jpp_repo__ (file:///usr/share/maven2/repository)
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 6 seconds
> [INFO] Finished at: Sun Oct 02 13:11:50 PDT 2011
> [INFO] Final Memory: 9M/21M
> [INFO]
> ------------------------------------------------------------------------
> [tbroberg@f15 hadoop-trunk]$
>
>
RE: Artifact missing -
org.apache.hadoop:hadoop-project:pom:0.24.0-SNAPSHOT
Posted by Ravi Teja <ra...@huawei.com>.
Hi Tim,
You have set your JAVA_HOME to JRE(Java Runtime env) instead of setting it
to JDK (Java Dev Kit). The tools jar is not available in the jre.
For the hadoop project pom, I think its a issue with your maven
proxy settings. Can u provide the detailed stack using -e or -X option when
u run.
Regards,
Ravi Teja
-----Original Message-----
From: Tim Broberg [mailto:tbroberg@yahoo.com]
Sent: Monday, October 03, 2011 2:04 AM
To: common-dev@hadoop.apache.org
Subject: Artifact missing -
org.apache.hadoop:hadoop-project:pom:0.24.0-SNAPSHOT
I am trying to build hadoop so I can understand it and perhaps make some
moderate contributions.
Following the instructions here,
http://wiki.apache.org/hadoop/HowToContribute, I am running the following
commands:
svn checkout http://svn.apache.org/repos/asf/hadoop/common/trunk/
hadoop-trunk
cd hadoop-trunk
mvn clean package -Pdist -DskipTests -P-cbuild
...but I am getting errors similar to this guy:
https://github.com/harrah/xsbt/issues/190.
Do I need to go hunting around to manually download this file? Is this
normal?
Thanks,
- Tim.
Complete Maven output:
mvn clean package -Pdist -DskipTests -P-cbuild
/usr/java/jre1.6.0_27
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Apache Hadoop Project POM
[INFO] Apache Hadoop Annotations
[INFO] Apache Hadoop Assemblies
[INFO] Apache Hadoop Project Dist POM
[INFO] Apache Hadoop Auth
[INFO] Apache Hadoop Auth Examples
[INFO] Apache Hadoop Common
[INFO] Apache Hadoop Common Project
[INFO] Apache Hadoop HDFS
[INFO] Apache Hadoop HDFS Project
[INFO] hadoop-yarn
[INFO] hadoop-yarn-api
[INFO] hadoop-yarn-common
[INFO] hadoop-yarn-server
[INFO] hadoop-yarn-server-common
[INFO] hadoop-yarn-server-nodemanager
[INFO] hadoop-yarn-server-resourcemanager
[INFO] hadoop-yarn-server-tests
[INFO] hadoop-yarn-applications
[INFO] hadoop-yarn-applications-distributedshell
[INFO] hadoop-yarn-site
[INFO] hadoop-mapreduce
[INFO] hadoop-mapreduce-client
[INFO] hadoop-mapreduce-client-core
[INFO] hadoop-mapreduce-client-common
[INFO] hadoop-mapreduce-client-shuffle
[INFO] hadoop-mapreduce-client-app
[INFO] hadoop-mapreduce-client-hs
[INFO] hadoop-mapreduce-client-jobclient
[INFO] Apache Hadoop Main
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Hadoop Project POM
[INFO] task-segment: [clean, package]
[INFO]
------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) jdk.tools:jdk.tools:jar:1.6
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=jdk.tools -DartifactId=jdk.tools
-Dversion=1.6 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there:
mvn deploy:deploy-file -DgroupId=jdk.tools -DartifactId=jdk.tools
-Dversion=1.6 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]
Path to dependency:
1) org.apache.hadoop:hadoop-project:pom:0.24.0-SNAPSHOT
2) jdk.tools:jdk.tools:jar:1.6
----------
1 required artifact is missing.
for artifact:
org.apache.hadoop:hadoop-project:pom:0.24.0-SNAPSHOT
from the specified remote repositories:
apache.snapshots.https
(https://repository.apache.org/content/repositories/snapshots),
central (http://repo1.maven.org/maven2),
__jpp_pom_repo__ (file:///usr/share/maven-poms),
__jpp_repo2__ (file:///usr/share/maven/repository),
__jpp_repo__ (file:///usr/share/maven2/repository)
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Sun Oct 02 13:11:50 PDT 2011
[INFO] Final Memory: 9M/21M
[INFO]
------------------------------------------------------------------------
[tbroberg@f15 hadoop-trunk]$