Jean-Marc, Its a mavenism. But if it makes it easier for folks if we document it, I'm all for it.
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html Want to give a crack at adding docs about it? It is just like any other patch but applied to the reference guide's source: https://github.com/apache/hbase/blob/trunk/src/docbkx/developer.xml Jon. On Wed, Mar 20, 2013 at 4:28 PM, Jean-Marc Spaggiari < [email protected]> wrote: > Thanks Jonathan, mvn install did the trick! Do we have that documented > anywhere on the online book? > > Ted, I will try to build also 0.95 and add it to my list... > > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] HBase ............................................. SUCCESS > [31.389s] > [INFO] HBase - Common .................................... SUCCESS > [11.016s] > [INFO] HBase - Protocol .................................. SUCCESS > [16.121s] > [INFO] HBase - Client .................................... SUCCESS [7.619s] > [INFO] HBase - Prefix Tree ............................... SUCCESS [5.063s] > [INFO] HBase - Hadoop Compatibility ...................... SUCCESS [2.550s] > [INFO] HBase - Hadoop One Compatibility .................. SUCCESS [4.838s] > [INFO] HBase - Server .................................... SUCCESS > [22.744s] > [INFO] HBase - Integration Tests ......................... SUCCESS > [10.523s] > [INFO] HBase - Examples .................................. SUCCESS > [10.486s] > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD SUCCESS > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 5:33.989s > [INFO] Finished at: Wed Mar 20 19:09:15 EDT 2013 > [INFO] Final Memory: 104M/3805M > [INFO] > ------------------------------------------------------------------------ > > > 2013/3/20 Jonathan Hsieh <[email protected]>: > > Specifically, the missing jar references usually mean you need to do a > > > > mvn install (with optional -DskipTests) > > > > Jon. > > > > On Wed, Mar 20, 2013 at 2:12 PM, Jean-Marc Spaggiari < > > [email protected]> wrote: > > > >> Is there anything I'm nissing to build the trunk? I followed the steps > >> on the online book, but I'm still facing some issues. > >> > >> I have extracted a clean SVN trunk, was able to pass mvn package > >> -DskipTests > >> > >> > >> [INFO] > >> ------------------------------------------------------------------------ > >> [INFO] BUILD SUCCESS > >> [INFO] > >> ------------------------------------------------------------------------ > >> [INFO] Total time: 31.181s > >> [INFO] Finished at: Wed Mar 20 17:06:58 EDT 2013 > >> [INFO] Final Memory: 39M/797M > >> [INFO] > >> ------------------------------------------------------------------------ > >> > >> > >> But assembly is not working MAVEN_OPTS="-Xmx10g" mvn clean site > >> install assembly:assembly -DskipTests -Prelease > >> > >> [INFO] > >> ------------------------------------------------------------------------ > >> [INFO] Skipping HBase > >> [INFO] This project has been banned from the build due to previous > >> failures. > >> [INFO] > >> ------------------------------------------------------------------------ > >> [INFO] > >> ------------------------------------------------------------------------ > >> [INFO] Reactor Summary: > >> [INFO] > >> [INFO] HBase ............................................. FAILURE > >> [25.888s] > >> [INFO] HBase - Common .................................... SKIPPED > >> [INFO] HBase - Protocol .................................. SKIPPED > >> [INFO] HBase - Client .................................... SKIPPED > >> [INFO] HBase - Prefix Tree ............................... SKIPPED > >> [INFO] HBase - Hadoop Compatibility ...................... SKIPPED > >> [INFO] HBase - Hadoop One Compatibility .................. SKIPPED > >> [INFO] HBase - Server .................................... SKIPPED > >> [INFO] HBase - Integration Tests ......................... SKIPPED > >> [INFO] HBase - Examples .................................. SKIPPED > >> [INFO] > >> ------------------------------------------------------------------------ > >> [INFO] BUILD FAILURE > >> [INFO] > >> ------------------------------------------------------------------------ > >> [INFO] Total time: 26.813s > >> [INFO] Finished at: Wed Mar 20 17:11:45 EDT 2013 > >> [INFO] Final Memory: 69M/1676M > >> [INFO] > >> ------------------------------------------------------------------------ > >> [ERROR] Failed to execute goal on project hbase-server: Could not > >> resolve dependencies for project > >> org.apache.hbase:hbase-server:jar:0.97-SNAPSHOT: The following > >> artifacts could not be resolved: > >> org.apache.hbase:hbase-common:jar:0.97-SNAPSHOT, > >> org.apache.hbase:hbase-protocol:jar:0.97-SNAPSHOT, > >> org.apache.hbase:hbase-client:jar:0.97-SNAPSHOT, > >> org.apache.hbase:hbase-prefix-tree:jar:0.97-SNAPSHOT, > >> org.apache.hbase:hbase-common:jar:tests:0.97-SNAPSHOT, > >> org.apache.hbase:hbase-hadoop-compat:jar:0.97-SNAPSHOT, > >> org.apache.hbase:hbase-hadoop-compat:jar:tests:0.97-SNAPSHOT, > >> org.apache.hbase:hbase-hadoop1-compat:jar:0.97-SNAPSHOT, > >> org.apache.hbase:hbase-hadoop1-compat:jar:tests:0.97-SNAPSHOT: Failure > >> to find org.apache.hbase:hbase-common:jar:0.97-SNAPSHOT in > >> http://repository-netty.forge.cloudbees.com/snapshot/ was cached in > >> the local repository, resolution will not be reattempted until the > >> update interval of cloudbees netty has elapsed or updates are forced > >> -> [Help 1] > >> [ERROR] > >> > >> What did I wrong? > >> > >> Thanks, > >> > >> JM > >> > > > > > > > > -- > > // Jonathan Hsieh (shay) > > // Software Engineer, Cloudera > > // [email protected] > -- // Jonathan Hsieh (shay) // Software Engineer, Cloudera // [email protected]
