Hi guys, I am trying to build James trunk on CentOS:
I just checked out from SVN as was recommended: *svn co http://svn.apache.org/repos/asf/james/server/trunk* *mvn clean package* As you can see at the bottom, build failed. Can anyone help? What went wrong? Here is info about my system and tools used: *uname -a* Linux fleetwood 2.6.18-53.el5 #1 SMP Mon Nov 12 02:22:48 EST 2007 i686 i686 i386 GNU/Linux *java -version* java version "1.6.0_18" Java(TM) SE Runtime Environment (build 1.6.0_18-b07) Java HotSpot(TM) Server VM (build 16.0-b13, mixed mode) *mvn -version* Apache Maven 2.2.1 (r801777; 2009-08-06 20:16:01+0100) Java version: 1.6.0_18 Java home: /usr/java/jdk1.6.0_18/jre Default locale: ru_RU, platform encoding: UTF-8 OS name: "linux" version: "2.6.18-53.el5" arch: "i386" Family: "unix" ERROR LOG: Tests run: 63, Failures: 0, Errors: 0, Skipped: 0 [INFO] [jar:jar {execution: default-jar}] [INFO] Building jar: /home/james/trunk/smtpserver/target/james-server-smtpserver-3.0-M1.jar [INFO] [jar:test-jar {execution: default}] [INFO] Building jar: /home/james/trunk/smtpserver/target/james-server-smtpserver-3.0-M1-tests.jar [INFO] ------------------------------------------------------------------------ [INFO] Building Apache JAMES Server POP3 [INFO] task-segment: [clean, package] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean {execution: default-clean}] [INFO] [remote-resources:process {execution: default}] [INFO] snapshot org.apache.james:apache-james-imap-memory:0.1-M2-SNAPSHOT: checking for updates from module-local [INFO] snapshot org.apache.james:apache-james-imap-memory:0.1-M2-SNAPSHOT: checking for updates from maven2-repository.dev.java.net [INFO] snapshot org.apache.james:apache-james-imap-memory:0.1-M2-SNAPSHOT: checking for updates from maven1-repository.dev.java.net [INFO] snapshot org.apache.james:apache-james-imap-memory:0.1-M2-SNAPSHOT: checking for updates from apache.snapshots Downloading: http://repository.apache.org/snapshots/org/apache/james/apache-james-imap-memory/0.1-M2-SNAPSHOT/apache-james-imap-memory-0.1-M2-20100407.003228-74.pom 2K downloaded (apache-james-imap-memory-0.1-M2-20100407.003228-74.pom) Downloading: http://repository.apache.org/snapshots/org/apache/james/apache-james-imap-memory/0.1-M2-SNAPSHOT/apache-james-imap-memory-0.1-M2-20100407.003228-74.jar 23K downloaded (apache-james-imap-memory-0.1-M2-20100407.003228-74.jar) [INFO] [resources:resources {execution: default-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 0 resource [INFO] Copying 3 resources [INFO] [compiler:compile {execution: default-compile}] [INFO] Compiling 27 source files to /home/james/trunk/pop3server/target/classes [INFO] [resources:testResources {execution: default-testResources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 0 resource [INFO] Copying 3 resources [INFO] [compiler:testCompile {execution: default-testCompile}] [INFO] Compiling 2 source files to /home/james/trunk/pop3server/target/test-classes [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure /home/james/trunk/pop3server/src/test/java/org/apache/james/pop3server/AsyncPOP3ServerTest.java:[425,15] appendMessage(java.io.InputStream,java.util.Date,org.apache.james.imap.mailbox.MailboxSession,boolean,javax.mail.Flags) in org.apache.james.imap.mailbox.Mailbox cannot be applied to (byte[],java.util.Date,org.apache.james.imap.mailbox.MailboxSession,boolean,javax.mail.Flags) /home/james/trunk/pop3server/src/test/java/org/apache/james/pop3server/AsyncPOP3ServerTest.java:[427,15] appendMessage(java.io.InputStream,java.util.Date,org.apache.james.imap.mailbox.MailboxSession,boolean,javax.mail.Flags) in org.apache.james.imap.mailbox.Mailbox cannot be applied to (byte[],java.util.Date,org.apache.james.imap.mailbox.MailboxSession,boolean,javax.mail.Flags) [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4 minutes 11 seconds [INFO] Finished at: Wed Apr 07 16:54:09 BST 2010 [INFO] Final Memory: 98M/263M [INFO] ------------------------------------------------------------------------
