bookkeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhaijia03@gmail.com" <zhaiji...@gmail.com>
Subject Please help: mvn compile error
Date Wed, 03 Dec 2014 12:59:59 GMT
Hi,
 
:) Excuse me for troubling you by such a plain error. 
 
After trying bookkeeper, I try to build bookkeeper project by myself, so I did the following
things on my linux machine, and met an error in build. 
Would you please help on how to solve this problem?

Here is the steps on my machine:
1,  checkout project
[root]# svn checkout https://svn.apache.org/repos/asfbookkeeper/trunk/ bookkeeper-trunk
2,  compile
[root]# cd bookkeeper-trunk
[root]# mvn compile | tee mvn_compile.txt
 
Then met error like this: 
[INFO] Reactor Summary:
[INFO]
[INFO] bookkeeper ........................................ SUCCESS [1.298s]
[INFO] compability dependencies .......................... SUCCESS [0.061s]
[INFO] bookkeeper-server-compat400 ....................... SUCCESS [1.594s]
[INFO] bookkeeper-server-compat410 ....................... SUCCESS [0.415s]
[INFO] bookkeeper-server-compat420 ....................... SUCCESS [0.405s]
[INFO] hedwig-server-compat400 ........................... SUCCESS [0.663s]
[INFO] hedwig-server-compat410 ........................... SUCCESS [0.672s]
[INFO] hedwig-server-compat420 ........................... SUCCESS [0.384s]
[INFO] hedwig-protocol ................................... SUCCESS [7.716s]
[INFO] Stats API for bookkeeper .......................... SUCCESS [0.768s]
[INFO] bookkeeper-server ................................. SUCCESS [21.749s]
[INFO] hedwig-client ..................................... SUCCESS [5.230s]
[INFO] hedwig-server ..................................... FAILURE [0.364s]              
                     < ==== start the error
[INFO] hedwig-client-jms ................................. SKIPPED
[INFO] bookkeeper-benchmark .............................. SKIPPED
[INFO] Stats provider for twitter-stats package .......... SKIPPED
[INFO] Stats provider for twitter-ostrich package ........ SKIPPED
[INFO] Stats provider for codahale metrics ............... SKIPPED
[INFO] bookkeeper-stats-providers ........................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 42.456s
[INFO] Finished at: Wed Dec 03 20:44:16 CST 2014
[INFO] Final Memory: 23M/260M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.1:process
(default) on project hedwig-server: Failed to resolve dependencies for one or more projects
in the reactor. Reason: Missing:
[ERROR] ----------
[ERROR] 1) org.apache.bookkeeper:bookkeeper-server:test-jar:tests:4.4.0-SNAPSHOT         
             < ===== Failed to find this file on website. Do you know where is it?
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=org.apache.bookkeeper -DartifactId=bookkeeper-server
-Dversion=4.4.0-SNAPSHOT -Dclassifier=tests -Dpackaging=test-jar -Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy the file there:
[ERROR] mvn deploy:deploy-file -DgroupId=org.apache.bookkeeper -DartifactId=bookkeeper-server
-Dversion=4.4.0-SNAPSHOT -Dclassifier=tests -Dpackaging=test-jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]
[ERROR]
[ERROR] Path to dependency:
[ERROR] 1) org.apache.bookkeeper:hedwig-server:jar:4.4.0-SNAPSHOT
[ERROR] 2) org.apache.bookkeeper:bookkeeper-server:test-jar:tests:4.4.0-SNAPSHOT
[ERROR]
[ERROR] ----------
[ERROR] 1 required artifact is missing.
[ERROR]
[ERROR] for artifact:
[ERROR] org.apache.bookkeeper:hedwig-server:jar:4.4.0-SNAPSHOT
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] apache.snapshots (http://repository.apache.org/snapshots, releases=false, snapshots=true),
[ERROR] central (http://repo.maven.apache.org/maven2, releases=true, snapshots=false)
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following
articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :hedwig-server

I also attached the full log(mvn_compile.txt), and a detailed log file(mvn_compile_debug.txt)
by using "mvn compile -e -X"


Thanks a lot.
-Jia
Mime
View raw message