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

Vinayakumar B commented on HADOOP-12820:
----------------------------------------

Instead of {{mvn install -Dmaven.test.skip=true}}
 try {{mvn install -DskipTests}}


{{-Dmaven.test.skip=true}} will avoid compiling tests and installing test jar, 
which is what its expecting, {{hadoop-auth:jar:tests:3.0.0-SNAPSHOT}}

where as {{-DskipTests}} will just skip running the tests, but compiles and 
installs test jar to local repo.

> build order might be wrong, cannot find artifact 
> org.apache.hadoop:hadoop-auth:jar:tests:3.0.0-SNAPSHOT
> -------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-12820
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12820
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>            Reporter: james michael dupont
>            Priority: Minor
>
> On the version, git head [email protected]:apache/hadoop.git
>    commit 453e7e0d1091cf795152c8992c6c5cbc772d80d6
>    Author: Tsuyoshi Ozawa <[email protected]>
>    Date:   Wed Feb 17 14:13:31 2016 +0900
> Doing a mvn build, it seems the build order is wrong.
> mvn install -Dmaven.test.skip=true
> The end of the build log :
> Downloading: 
> https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/hadoop-auth/3.0.0-SNAPSHOT/hado
> op-auth-3.0.0-SNAPSHOT-tests.jar
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Apache Hadoop Main ................................. SUCCESS [  2.922 
> s]
> [INFO] Apache Hadoop Build Tools .......................... SUCCESS [  1.280 
> s]
> [INFO] Apache Hadoop Project POM .......................... SUCCESS [  1.106 
> s]
> [INFO] Apache Hadoop Annotations .......................... SUCCESS [  1.120 
> s]
> [INFO] Apache Hadoop Project Dist POM ..................... SUCCESS [  0.701 
> s]
> [INFO] Apache Hadoop Assemblies ........................... SUCCESS [  0.216 
> s]
> [INFO] Apache Hadoop Maven Plugins ........................ SUCCESS [  3.860 
> s]
> [INFO] Apache Hadoop MiniKDC .............................. SUCCESS [  4.246 
> s]
> [INFO] Apache Hadoop Auth ................................. SUCCESS [ 18.039 
> s]
> [INFO] Apache Hadoop Auth Examples ........................ SUCCESS [  7.456 
> s]
> [INFO] Apache Hadoop Common ............................... FAILURE [ 18.441 
> s]
> [INFO] Apache Hadoop NFS .................................. SKIPPED
> [INFO] Apache Hadoop KMS .................................. SKIPPED
> [INFO] Apache Hadoop Common Project ....................... SKIPPED
> [INFO] Apache Hadoop HDFS Client .......................... SKIPPED
> [INFO] Apache Hadoop HDFS ................................. SKIPPED
> [INFO] Apache Hadoop HDFS Native Client ................... SKIPPED
> [INFO] Apache Hadoop HttpFS ............................... SKIPPED
> [INFO] Apache Hadoop HDFS BookKeeper Journal .............. SKIPPED
> [INFO] Apache Hadoop HDFS-NFS ............................. SKIPPED
> [INFO] Apache Hadoop HDFS Project ......................... SKIPPED
> [INFO] Apache Hadoop YARN ................................. SKIPPED
> [INFO] Apache Hadoop YARN API ............................. SKIPPED
> [INFO] Apache Hadoop YARN Common .......................... SKIPPED
> [INFO] Apache Hadoop YARN Server .......................... SKIPPED
> [INFO] Apache Hadoop YARN Server Common ................... SKIPPED
> [INFO] Apache Hadoop YARN NodeManager ..................... SKIPPED
> [INFO] Apache Hadoop YARN Web Proxy ....................... SKIPPED
> [INFO] Apache Hadoop YARN ApplicationHistoryService ....... SKIPPED
> [INFO] Apache Hadoop YARN ResourceManager ................. SKIPPED
> [INFO] Apache Hadoop YARN Server Tests .................... SKIPPED
> [INFO] Apache Hadoop YARN Client .......................... SKIPPED
> [INFO] Apache Hadoop YARN SharedCacheManager .............. SKIPPED
> [INFO] Apache Hadoop YARN Timeline Plugin Storage ......... SKIPPED
> [INFO] Apache Hadoop YARN Applications .................... SKIPPED
> [INFO] Apache Hadoop YARN DistributedShell ................ SKIPPED
> [INFO] Apache Hadoop YARN Unmanaged Am Launcher ........... SKIPPED
> [INFO] Apache Hadoop YARN Site ............................ SKIPPED
> [INFO] Apache Hadoop YARN Registry ........................ SKIPPED
> [INFO] Apache Hadoop YARN Project ......................... SKIPPED
> [INFO] Apache Hadoop MapReduce Client ..................... SKIPPED
> [INFO] Apache Hadoop MapReduce Core ....................... SKIPPED
> [INFO] Apache Hadoop MapReduce Common ..................... SKIPPED
> [INFO] Apache Hadoop MapReduce Shuffle .................... SKIPPED
> [INFO] Apache Hadoop MapReduce App ........................ SKIPPED
> [INFO] Apache Hadoop MapReduce HistoryServer .............. SKIPPED
> [INFO] Apache Hadoop MapReduce JobClient .................. SKIPPED
> [INFO] Apache Hadoop MapReduce HistoryServer Plugins ...... SKIPPED
> [INFO] Apache Hadoop MapReduce NativeTask ................. SKIPPED
> [INFO] Apache Hadoop MapReduce Examples ................... SKIPPED
> [INFO] Apache Hadoop MapReduce ............................ SKIPPED
> [INFO] Apache Hadoop MapReduce Streaming .................. SKIPPED
> [INFO] Apache Hadoop Distributed Copy ..................... SKIPPED
> [INFO] Apache Hadoop Archives ............................. SKIPPED
> [INFO] Apache Hadoop Archive Logs ......................... SKIPPED
> [INFO] Apache Hadoop Rumen ................................ SKIPPED
> [INFO] Apache Hadoop Gridmix .............................. SKIPPED
> [INFO] Apache Hadoop Data Join ............................ SKIPPED
> [INFO] Apache Hadoop Auth Examples ........................ SUCCESS [  7.456 
> s]
> [INFO] Apache Hadoop Ant Tasks ............................ SKIPPED
> [INFO] Apache Hadoop Extras ............................... SKIPPED
> [INFO] Apache Hadoop Pipes ................................ SKIPPED
> [INFO] Apache Hadoop OpenStack support .................... SKIPPED
> [INFO] Apache Hadoop Amazon Web Services support .......... SKIPPED
> [INFO] Apache Hadoop Azure support ........................ SKIPPED
> [INFO] Apache Hadoop Client ............................... SKIPPED
> [INFO] Apache Hadoop Mini-Cluster ......................... SKIPPED
> [INFO] Apache Hadoop Scheduler Load Simulator ............. SKIPPED
> [INFO] Apache Hadoop Tools Dist ........................... SKIPPED
> [INFO] Apache Hadoop Kafka Library support ................ SKIPPED
> [INFO] Apache Hadoop Tools ................................ SKIPPED
> [INFO] Apache Hadoop Distribution ......................... SKIPPED
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 01:05 min
> [INFO] Finished at: 2016-02-18T04:21:13-05:00
> [INFO] Final Memory: 51M/122M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project hadoop-common: Could not resolve 
> dependencies for project org.apache.hadoop:hadoo
> p-common:jar:3.0.0-SNAPSHOT: Could not find artifact 
> org.apache.hadoop:hadoop-auth:jar:tests:3.0.0-SNAPSHOT in apache.snaps
> hots.https (https://repository.apache.org/content/repositories/snapshots) -> 
> [Help



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to