Hello, When attempted to build from trunk and follow the latest development of James, I am stuck with two building errors. One is module version related, one is compiling error.
I am following the building instruction there: http://james.apache.org/server/3/dev-build.html After checking out, the repository has the following SVN meta: *********************************** $svn info Path: . URL: https://svn.apache.org/repos/asf/james/current Repository Root: https://svn.apache.org/repos/asf Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68 Revision: 1430166 Node Kind: directory Schedule: normal Last Changed Author: eric Last Changed Rev: 1426727 Last Changed Date: 2012-12-29 17:23:19 +0800 (Sat, 29 Dec 2012) *********************************** The first problem is JSieve's version mismatch, I have changed it, or maven will complain about missing dependencies, stop further building. A SVN diff will clearly show my changes: *********************************** $svn diff jsieve/pom.xml Index: jsieve/pom.xml =================================================================== --- jsieve/pom.xml (revision 1430169) +++ jsieve/pom.xml (working copy) @@ -79,7 +79,7 @@ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <mime4j.version>0.7.2</mime4j.version> - <apache-mailet.version>2.5.0-SNAPSHOT</apache-mailet.version> + <apache-mailet.version>2.5.1-SNAPSHOT</apache-mailet.version> <junit.version>4.10</junit.version> <jmock.version>1.2.0</jmock.version> <log4j.version>1.2.14</log4j.version> *********************************** The second problem is beyond my knowledge, I can only dump the maven output here. *********************************** [INFO] ------------------------------------------------------------------------ [INFO] Building Apache James Mailbox Integration Tester 1.8.1 [INFO] ------------------------------------------------------------------------ ...... [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ apache-james-mailbox-integration-tester --- [INFO] [INFO] --- maven-remote-resources-plugin:1.2.1:process (default) @ apache-james-mailbox-integration-tester --- [WARNING] Invalid POM for org.apache.james:apache-james-mailbox-hbase:jar:0.5-SNAPSHOT, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] Invalid project model for artifact [apache-james-mailbox-hbase:org.apache.james:0.5-SNAPSHOT]. It will be ignored by the remote resources Mojo. [INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ apache-james-mailbox-integration-tester --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 113 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ apache-james-mailbox-integration-tester --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ apache-james-mailbox-integration-tester --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 4 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ apache-james-mailbox-integration-tester --- [INFO] Compiling 95 source files to /Users/jerry/Tmp/apache-james-trunk/mailbox-integration-tester/target/test-classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /Users/jerry/Tmp/apache-james-trunk/mailbox-integration-tester/src/test/java/org/apache/james/mailbox/hbase/host/HBaseHostSystem.java:[25,30] cannot find symbol symbol : class HBaseConfiguration location: package org.apache.hadoop.hbase [ERROR] /Users/jerry/Tmp/apache-james-trunk/mailbox-integration-tester/src/test/java/org/apache/james/mailbox/hbase/host/HBaseHostSystem.java:[25,30] cannot find symbol symbol : class HBaseConfiguration location: package org.apache.hadoop.hbase [ERROR] /Users/jerry/Tmp/apache-james-trunk/mailbox-integration-tester/src/test/java/org/apache/james/mailbox/hbase/host/HBaseHostSystem.java:[81,19] cannot find symbol symbol : variable HBaseConfiguration location: class org.apache.james.mailbox.hbase.host.HBaseHostSystem [INFO] 3 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache James Project .............................. SUCCESS [0.738s] [INFO] Apache James :: Server ............................ SUCCESS [0.534s] [INFO] Apache James :: Server :: Data :: API ............ SUCCESS [1.790s] [INFO] Apache James :: Server :: Lifecycle API ........... SUCCESS [0.338s] [INFO] Apache James :: JSieve ............................ SUCCESS [0.026s] [INFO] Apache James :: jSieve :: Manager ................. SUCCESS [0.023s] [INFO] Apache James :: jSieve :: Manager API ............. SUCCESS [0.289s] [INFO] Apache James :: Server :: Filesystem API .......... SUCCESS [0.552s] [INFO] Apache James :: Server :: Lifecycle Spring ........ SUCCESS [0.826s] [INFO] Apache James :: Server :: Mailetcontainer API ..... SUCCESS [0.413s] [INFO] Apache James :: Server :: Common Utilities ........ SUCCESS [0.978s] [INFO] Apache James :: Protocols ......................... SUCCESS [0.086s] [INFO] Apache James :: Protocols :: API .................. SUCCESS [0.581s] [INFO] Apache James :: Protocols :: Netty Implementation . SUCCESS [0.412s] [INFO] Apache James :: Server :: Protocols Library ....... SUCCESS [0.641s] [INFO] Apache James :: Server :: Core .................... SUCCESS [0.409s] [INFO] Apache James :: Mailbox ........................... SUCCESS [0.171s] [INFO] Apache James :: Mailbox :: API .................... SUCCESS [0.809s] [INFO] Apache James :: Mailbox :: Store Framework ........ SUCCESS [1.157s] [INFO] Apache James :: Mailbox :: In Memory .............. SUCCESS [0.488s] [INFO] Apache James :: Mailbox :: Tools .................. SUCCESS [0.638s] [INFO] Apache James :: Server :: Container Spring ........ SUCCESS [1.048s] [INFO] Apache James :: Server :: Client .................. SUCCESS [0.733s] [INFO] Apache James :: Server :: DNS Service :: API ...... SUCCESS [0.250s] [INFO] Apache James :: Server :: DNS Service :: Library .. SUCCESS [0.289s] [INFO] Apache James :: Server :: Mail Queue :: API ....... SUCCESS [0.315s] [INFO] Apache James :: Server :: Mailetcontainer Camel ... SUCCESS [0.661s] [INFO] Apache James :: Mailbox :: Maildir ................ SUCCESS [0.659s] [INFO] Apache James :: Server :: Mailbox Adapter ......... SUCCESS [0.372s] [INFO] Apache James :: Server :: DNS Service :: Implementation SUCCESS [0.242s] [INFO] Apache James :: Server :: Data :: Library ......... SUCCESS [0.539s] [INFO] Apache James :: Server :: Data :: LDAP Implementation SUCCESS [0.247s] [INFO] Apache James :: Protocols :: SMTP ................. SUCCESS [1.026s] [INFO] Apache James :: Server :: SMTP .................... SUCCESS [0.936s] [INFO] Apache James :: Protocols :: IMAP ................. SUCCESS [1.642s] [INFO] Apache James :: Server :: IMAP .................... SUCCESS [0.501s] [INFO] Apache James :: Protocols :: LMTP ................. SUCCESS [0.288s] [INFO] Apache James :: Server :: LMTP .................... SUCCESS [0.538s] [INFO] Apache James :: Protocols :: POP3 ................. SUCCESS [0.379s] [INFO] Apache James :: Server :: POP3 .................... SUCCESS [0.509s] [INFO] Apache James :: Server :: FetchMail ............... SUCCESS [0.297s] [INFO] Apache James :: Server :: Mail Queue :: File ...... SUCCESS [0.217s] [INFO] Apache James :: Server :: Mail Queue :: JMS ....... SUCCESS [0.627s] [INFO] Apache James :: Server :: Mail Queue :: ActiveMQ .. SUCCESS [0.504s] [INFO] Apache James :: jSieve :: Core .................... SUCCESS [1.063s] [INFO] Apache James :: Mailets parent and aggregator ..... SUCCESS [11.307s] [INFO] Apache James :: Mailet API ........................ SUCCESS [0.144s] [INFO] Apache James :: Basic Mailet Toolkit .............. SUCCESS [0.301s] [INFO] Apache James :: jSieve :: Mailet .................. SUCCESS [0.336s] [INFO] Apache James :: Server :: Mailets ................. SUCCESS [1.131s] [INFO] Apache James :: Mailbox :: JPA .................... SUCCESS [41.442s] [INFO] Apache James :: Mailbox :: JCR .................... SUCCESS [37.906s] [INFO] Apache James :: Mailbox :: Spring ................. SUCCESS [6:52.277s] [INFO] Apache James :: Server :: Data :: File Persistence SUCCESS [0.399s] [INFO] Apache James :: Server :: Data :: JPA Persistence . SUCCESS [0.895s] [INFO] Apache James :: Server :: Data :: JDBC Persistence SUCCESS [0.412s] [INFO] Apache James :: Server :: Data :: JCR Persistence . SUCCESS [0.427s] [INFO] Apache James :: Server :: App ..................... SUCCESS [2.708s] [INFO] Apache James :: Mailbox :: Zookeeper Sequence Provider SUCCESS [33.293s] [INFO] Apache JAMES MPT Project .......................... SUCCESS [1.428s] [INFO] Apache JAMES MPT Main ............................. SUCCESS [40.107s] [INFO] Apache James Mailbox Integration Tester ........... FAILURE [7:07.040s] [INFO] Apache James Hupa Parent .......................... SKIPPED [INFO] Apache James Hupa Shared .......................... SKIPPED [INFO] Apache James Hupa Mock ............................ SKIPPED [INFO] Apache James Hupa Server .......................... SKIPPED [INFO] Apache James Hupa Widgets ......................... SKIPPED [INFO] Apache James Hupa ................................. SKIPPED [INFO] Apache James :: jDKIM :: DomainKey Project ........ SKIPPED [INFO] Apache James :: jDKIM ............................. SKIPPED [INFO] Apache James :: jDKIM :: Mailets .................. SKIPPED [INFO] Apache James :: jDKIM :: Assembly ................. SKIPPED [INFO] Apache JAMES jSPF ................................. SKIPPED [INFO] Apache JAMES OpenSPF Tester ....................... SKIPPED [INFO] Apache JAMES jSPF Resolver ........................ SKIPPED [INFO] Apache JAMES jSPF Assembly ........................ SKIPPED [INFO] Apache JAMES MPT AntLib ........................... SKIPPED [INFO] Apache JAMES MPT Application ...................... SKIPPED [INFO] Apache JAMES MPT Assembly ......................... SKIPPED [INFO] Apache JAMES MPT Maven2 Plugin .................... SKIPPED [INFO] Apache JAMES Mime4j Project ....................... SKIPPED [INFO] Apache JAMES Mime4j (Core) ........................ SKIPPED [INFO] Apache JAMES Mime4j (DOM) ......................... SKIPPED [INFO] Apache JAMES Mime4j (Storage) ..................... SKIPPED [INFO] Apache JAMES Mime4j (Benchmarks) .................. SKIPPED [INFO] Apache JAMES Mime4j (Mbox Iterator) ............... SKIPPED [INFO] Apache JAMES Mime4j (Code Examples) ............... SKIPPED [INFO] Apache JAMES Mime4j (Assembly) .................... SKIPPED [INFO] Apache James Postage .............................. SKIPPED [INFO] Apache James :: jSieve :: Utilities ............... SKIPPED [INFO] Apache James :: jSieve :: Manager Mock ............ SKIPPED [INFO] Apache James :: jSieve :: Manager Core ............ SKIPPED [INFO] Apache James :: jSieve :: Manager jSieve .......... SKIPPED [INFO] Apache James :: jSieve :: Manager Mailet .......... SKIPPED [INFO] Apache James :: jSieve :: All ..................... SKIPPED [INFO] Apache James :: Mailetdocs Maven Plugin ........... SKIPPED [INFO] Apache James :: Crypto Mailets .................... SKIPPED [INFO] Apache James :: Standard Mailets .................. SKIPPED [INFO] Apache James :: AI Mailets ........................ SKIPPED [INFO] Apache James Skin ................................. SKIPPED [INFO] Apache James Project current ...................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 17:19.640s [INFO] Finished at: Tue Jan 08 17:25:07 CST 2013 [INFO] Final Memory: 93M/123M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile (default-testCompile) on project apache-james-mailbox-integration-tester: Compilation failure: Compilation failure: [ERROR] /Users/jerry/Tmp/apache-james-trunk/mailbox-integration-tester/src/test/java/org/apache/james/mailbox/hbase/host/HBaseHostSystem.java:[25,30] cannot find symbol [ERROR] symbol : class HBaseConfiguration [ERROR] location: package org.apache.hadoop.hbase [ERROR] /Users/jerry/Tmp/apache-james-trunk/mailbox-integration-tester/src/test/java/org/apache/james/mailbox/hbase/host/HBaseHostSystem.java:[25,30] cannot find symbol [ERROR] symbol : class HBaseConfiguration [ERROR] location: package org.apache.hadoop.hbase [ERROR] /Users/jerry/Tmp/apache-james-trunk/mailbox-integration-tester/src/test/java/org/apache/james/mailbox/hbase/host/HBaseHostSystem.java:[81,19] cannot find symbol [ERROR] symbol : variable HBaseConfiguration [ERROR] location: class org.apache.james.mailbox.hbase.host.HBaseHostSystem [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/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :apache-james-mailbox-integration-tester *********************************** It complains about "symbol not found", so I am quite sure my building tools are not the cause of the problem. Still, post the maven version information below if it helps: *********************************** $ mvn --version Apache Maven 3.0.4 (r1232337; 2012-01-17 16:44:56+0800) Maven home: /Users/jerry/apache-maven-3.0.4 Java version: 1.6.0_37, vendor: Apple Inc. Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home Default locale: en_US, platform encoding: MacRoman OS name: "mac os x", version: "10.8.2", arch: "x86_64", family: "mac" *********************************** Thanks. -- Jerry Tian Sent with Sparrow (http://www.sparrowmailapp.com/?sig)