james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Charles <e...@apache.org>
Subject Re: Build failure on James trunk
Date Sat, 12 Jan 2013 09:47:56 GMT
In that case, I ususally do "mvn clean install" and it works.
Add -DskipTests because we have for now test failure in the 
mailbox-integration-tests module.

Thx, Eric

On 11/01/2013 08:25, Jerry Tian wrote:
> Hello,
>
> I do think the build trunk should be put into Jenkins, but in a less frequent way, like
one build a week or one build every two weeks? Maybe the tests can be disable too. If building
without tests, the whole process should take less than 5 minutes, at least on my Macbook(a
2012 model).
>
> Unluckily, after issued an update today, the trunk fails again. ;-(
> ************************************************
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache JAMES Mime4j (DOM) 0.8-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- javacc-maven-plugin:2.6:jjtree-javacc (generate-jjtree) @ apache-mime4j-dom
---
> [INFO] Skipping - all parsers are up to date
> [INFO]
> [INFO] --- javacc-maven-plugin:2.6:javacc (generate-javacc) @ apache-mime4j-dom ---
> [INFO] Skipping - all parsers are up to date
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.2.1:process (default) @ apache-mime4j-dom
---
> [INFO]
> [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ apache-mime4j-dom
---
> [debug] execute contextualize
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 2 resources
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ apache-mime4j-dom
---
> [INFO] Compiling 65 source files to /Users/jerry/Documents/james.workspace/apache-james-trunk/mime4j/dom/target/classes
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] /Users/jerry/Documents/james.workspace/apache-james-trunk/mime4j/dom/target/generated-sources/javacc/org/apache/james/mime4j/field/address/AddressListParser.java:[64,36]
cannot access Token
> class file for Token not found
>          ((SimpleNode) n).firstToken = getToken(1);
> [ERROR] /Users/jerry/Documents/james.workspace/apache-james-trunk/mime4j/dom/target/generated-sources/javacc/org/apache/james/mime4j/field/address/AddressListParser.java:[68,45]
incompatible types
> found   : org.apache.james.mime4j.field.address.Token
> required: Token
> [INFO] 2 errors
> [INFO] -------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache James Project .............................. SUCCESS [3.987s]
> [INFO] Apache James :: Mailets parent and aggregator ..... SUCCESS [0.450s]
> [INFO] Apache James :: Mailet API ........................ SUCCESS [0.796s]
> [INFO] Apache James :: Server ............................ SUCCESS [0.372s]
> [INFO] Apache James :: Server :: Data  :: API ............ SUCCESS [1.761s]
> [INFO] Apache James :: Server :: Lifecycle API ........... SUCCESS [0.335s]
> [INFO] Apache James :: JSieve ............................ SUCCESS [0.229s]
> [INFO] Apache James :: jSieve :: Manager ................. SUCCESS [0.014s]
> [INFO] Apache James :: jSieve :: Manager API ............. SUCCESS [0.146s]
> [INFO] Apache James :: Server :: Filesystem API .......... SUCCESS [0.957s]
> [INFO] Apache James :: Server :: Lifecycle Spring ........ SUCCESS [0.904s]
> [INFO] Apache James :: Server :: Mailetcontainer API ..... SUCCESS [0.826s]
> [INFO] Apache James :: Server :: Common Utilities ........ SUCCESS [1.133s]
> [INFO] Apache James :: Protocols ......................... SUCCESS [0.214s]
> [INFO] Apache James :: Protocols :: API .................. SUCCESS [0.467s]
> [INFO] Apache James :: Protocols :: Netty Implementation . SUCCESS [0.317s]
> [INFO] Apache James :: Server :: Protocols Library ....... SUCCESS [1.161s]
> [INFO] Apache James :: Basic Mailet Toolkit .............. SUCCESS [0.341s]
> [INFO] Apache James :: Server :: Core .................... SUCCESS [0.520s]
> [INFO] Apache James :: Mailbox ........................... SUCCESS [0.199s]
> [INFO] Apache James :: Mailbox :: API .................... SUCCESS [1.126s]
> [INFO] Apache James :: Mailbox :: Store Framework ........ SUCCESS [1.327s]
> [INFO] Apache James :: Mailbox :: In Memory .............. SUCCESS [0.537s]
> [INFO] Apache James :: Mailbox :: Tools .................. SUCCESS [0.825s]
> [INFO] Apache James :: Server :: Container Spring ........ SUCCESS [1.182s]
> [INFO] Apache James :: Server :: Client .................. SUCCESS [0.851s]
> [INFO] Apache James :: Server :: DNS Service :: API ...... SUCCESS [0.754s]
> [INFO] Apache James :: Server :: DNS Service :: Library .. SUCCESS [0.294s]
> [INFO] Apache James :: Server :: Mail Queue :: API ....... SUCCESS [0.554s]
> [INFO] Apache James :: Standard Mailets .................. SUCCESS [0.349s]
> [INFO] Apache James :: Server :: Mailetcontainer Camel ... SUCCESS [0.782s]
> [INFO] Apache James :: Mailbox :: Maildir ................ SUCCESS [0.746s]
> [INFO] Apache James :: Server :: Mailbox Adapter ......... SUCCESS [0.312s]
> [INFO] Apache James :: Server :: DNS Service :: Implementation  SUCCESS [0.226s]
> [INFO] Apache James :: Server :: Data :: Library ......... SUCCESS [1.016s]
> [INFO] Apache James :: Server :: Data :: LDAP Implementation  SUCCESS [0.313s]
> [INFO] Apache James :: Protocols :: SMTP ................. SUCCESS [0.923s]
> [INFO] Apache James :: Server :: SMTP .................... SUCCESS [0.980s]
> [INFO] Apache James :: Protocols :: IMAP ................. SUCCESS [0.856s]
> [INFO] Apache James :: Server :: IMAP .................... SUCCESS [0.518s]
> [INFO] Apache James :: Protocols :: LMTP ................. SUCCESS [0.288s]
> [INFO] Apache James :: Server :: LMTP .................... SUCCESS [0.643s]
> [INFO] Apache James :: Protocols :: POP3 ................. SUCCESS [0.390s]
> [INFO] Apache James :: Server :: POP3 .................... SUCCESS [0.570s]
> [INFO] Apache James :: Server :: FetchMail ............... SUCCESS [0.328s]
> [INFO] Apache James :: Server :: Mail Queue :: File ...... SUCCESS [0.255s]
> [INFO] Apache James :: Server :: Mail Queue :: JMS ....... SUCCESS [0.952s]
> [INFO] Apache James :: Server :: Mail Queue :: ActiveMQ .. SUCCESS [0.597s]
> [INFO] Apache James :: jSieve :: Core .................... SUCCESS [0.487s]
> [INFO] Apache James :: jSieve :: Mailet .................. SUCCESS [0.164s]
> [INFO] Apache James :: Server :: Mailets ................. SUCCESS [1.047s]
> [INFO] Apache James :: Mailbox :: JPA .................... SUCCESS [1.479s]
> [INFO] Apache James :: Mailbox :: JCR .................... SUCCESS [1.236s]
> [INFO] Apache James :: Mailbox :: Spring ................. SUCCESS [4.931s]
> [INFO] Apache James :: Server :: Data :: File Persistence  SUCCESS [0.606s]
> [INFO] Apache James :: Server :: Data :: JPA Persistence . SUCCESS [0.829s]
> [INFO] Apache James :: Server :: Data :: JDBC Persistence  SUCCESS [0.384s]
> [INFO] Apache James :: Server :: Data :: JCR Persistence . SUCCESS [0.401s]
> [INFO] Apache James :: Server :: App ..................... SUCCESS [5.474s]
> [INFO] Apache James :: Mailbox :: Zookeeper Sequence Provider  SUCCESS [0.560s]
> [INFO] Apache JAMES MPT Project .......................... SUCCESS [0.568s]
> [INFO] Apache JAMES MPT Main ............................. SUCCESS [8.898s]
> [INFO] Apache James Mailbox Integration Tester ........... SUCCESS [1.417s]
> [INFO] Apache James Hupa Parent .......................... SUCCESS [0.029s]
> [INFO] Apache James Hupa Shared .......................... SUCCESS [0.590s]
> [INFO] Apache James Hupa Mock ............................ SUCCESS [0.339s]
> [INFO] Apache James Hupa Server .......................... SUCCESS [0.334s]
> [INFO] Apache James Hupa Widgets ......................... SUCCESS [0.297s]
> [INFO] Apache James Hupa ................................. SUCCESS [41.381s]
> [INFO] Apache James :: jDKIM :: DomainKey Project ........ SUCCESS [0.022s]
> [INFO] Apache James :: jDKIM ............................. SUCCESS [0.869s]
> [INFO] Apache James :: jDKIM :: Mailets .................. SUCCESS [0.258s]
> [INFO] Apache James :: jDKIM :: Assembly ................. SUCCESS [3.155s]
> [INFO] Apache JAMES jSPF ................................. SUCCESS [0.011s]
> [INFO] Apache JAMES OpenSPF Tester ....................... SUCCESS [4.016s]
> [INFO] Apache JAMES jSPF Resolver ........................ SUCCESS [6.634s]
> [INFO] Apache JAMES jSPF Assembly ........................ SUCCESS [3.492s]
> [INFO] Apache JAMES MPT AntLib ........................... SUCCESS [3.344s]
> [INFO] Apache JAMES MPT Application ...................... SUCCESS [3.352s]
> [INFO] Apache JAMES MPT Assembly ......................... SUCCESS [4.016s]
> [INFO] Apache JAMES MPT Maven2 Plugin .................... SUCCESS [2.814s]
> [INFO] Apache JAMES Mime4j Project ....................... SUCCESS [0.427s]
> [INFO] Apache JAMES Mime4j (Core) ........................ SUCCESS [2.085s]
> [INFO] Apache JAMES Mime4j (DOM) ......................... FAILURE [0.586s]
> [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 :: AI Mailets ........................ SKIPPED
> [INFO] Apache James Skin ................................. SKIPPED
> [INFO] Apache James Project current ...................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2:22.595s
> [INFO] Finished at: Fri Jan 11 16:15:55 CST 2013
> [INFO] Final Memory: 122M/237M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
(default-compile) on project apache-mime4j-dom: Compilation failure: Compilation failure:
> [ERROR] /Users/jerry/Documents/james.workspace/apache-james-trunk/mime4j/dom/target/generated-sources/javacc/org/apache/james/mime4j/field/address/AddressListParser.java:[64,36]
cannot access Token
> [ERROR] class file for Token not found
> [ERROR] ((SimpleNode) n).firstToken = getToken(1);
> [ERROR] /Users/jerry/Documents/james.workspace/apache-james-trunk/mime4j/dom/target/generated-sources/javacc/org/apache/james/mime4j/field/address/AddressListParser.java:[68,45]
incompatible types
> [ERROR] found   : org.apache.james.mime4j.field.address.Token
> [ERROR] required: Token
> [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-mime4j-dom
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message