You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Pierre-Arnaud Marcelot <pa...@marcelot.net> on 2011/06/30 11:39:58 UTC

[ApacheDS] Build issue and Java 5 compatibility (Fwd: Build failed in Jenkins: dir-apacheds-jdk15-ubuntu-deploy #310)

Hi dev,

The ApacheDS Jenkins build is badly failing because of the issue introduced with the use of the latest version of ActiveMQ, being compiled with only Java 6.
See the detailed error here (and the complete mail below):
> [ERROR] <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventLogCursor.java>:[24,-1] cannot access org.apache.activemq.ActiveMQQueueBrowser
> bad class file: /home/hudson/.m2/repository/org/apache/activemq/activemq-core/5.5.0/activemq-core-5.5.0.jar(org/apache/activemq/ActiveMQQueueBrowser.class)
> class file has wrong version 50.0, should be 49.0


I think we need to resolve this issue as fast as possible because it's never good to see CI fail constantly and it make other Jenkins builds depending on the latest version of ApacheDS fail too (like Studio's for example).

I suggest we start a clear discussion and a vote about a way to solve the problem.

I see too possible workarounds:
- we switch back to a version of ActiveMQ still compiled using Java 5
- we move our compilation for ApacheDS from Java 5 to Java 6
  (This also implicitly indicates that we will do the same for Studio as it depends on the latest version of ApacheDS)

What are your thoughts about this?

Regards,
Pierre-Arnaud

Begin forwarded message:

> From: Apache Jenkins Server <je...@builds.apache.org>
> Date: 30 juin 2011 06:09:13 HAEC
> To: notifications@directory.apache.org
> Subject: Build failed in Jenkins: dir-apacheds-jdk15-ubuntu-deploy #310
> Reply-To: notifications@directory.apache.org
> 
> See <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/310/>
> 
> ------------------------------------------
> [...truncated 2258 lines...]
> [INFO] Copying 3 resources
> 
> [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ apacheds-protocol-kerberos ---
> [INFO] [INFO] Compiling 11 source files to <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-kerberos/target/test-classes>
> 
> [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ apacheds-protocol-kerberos ---
> [INFO] Surefire report directory: <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-kerberos/target/surefire-reports>
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.8:test (default-test) @ apacheds-protocol-kerberos ---
> 
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.apache.directory.server.kerberos.protocol.TicketGrantingServiceTest
> Tests run: 37, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.954 sec
> Running org.apache.directory.server.kerberos.protocol.TicketGrantingPolicyTest
> Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.063 sec
> Running org.apache.directory.server.kerberos.protocol.AuthenticationServiceTest
> Tests run: 30, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.08 sec
> Running org.apache.directory.server.kerberos.protocol.TicketGrantingEncryptionTypeTest
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.116 sec
> Running org.apache.directory.server.kerberos.protocol.PreAuthenticationTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
> Running org.apache.directory.server.kerberos.protocol.AuthenticationPolicyTest
> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
> Running org.apache.directory.server.kerberos.protocol.EncTktInSkeyTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
> Running org.apache.directory.server.kerberos.protocol.AuthenticationEncryptionTypeTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec
> 
> Results :
> 
> Tests run: 101, Failures: 0, Errors: 0, Skipped: 1
> 
> [JENKINS] Recording test results
> [INFO] 
> [INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ apacheds-protocol-kerberos ---
> [INFO] Building jar: <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-kerberos/target/apacheds-protocol-kerberos-2.0.0-M2-SNAPSHOT.jar>
> [INFO] [INFO] Checking legal files in: apacheds-protocol-kerberos-2.0.0-M2-SNAPSHOT.jar
> 
> [INFO] --- tools-maven-plugin:1.4:verify-legal-files (verify-legal-files) @ apacheds-protocol-kerberos ---
> [INFO] [INFO] Exclude: **/target/**/*
> [INFO] Exclude: **/cobertura.ser
> [INFO] Exclude: **/.classpath
> [INFO] Exclude: **/.project
> [INFO] Exclude: **/.settings/**/*
> [INFO] Exclude: **/ApacheDS.launch
> [INFO] Exclude: **/*.iml
> [INFO] Exclude: **/*.ipr
> [INFO] Exclude: **/*.iws
> [INFO] Exclude: **/MANIFEST.MF
> [INFO] Exclude: **/dependency-reduced-pom.xml
> [INFO] Exclude: **/*.ldif
> [INFO] Exclude: **/*.pdu
> [INFO] Exclude: jdbm/**/*
> [INFO] Exclude: installers-maven-plugin/src/main/resources/org/apache/directory/server/installers/deb/control
> [INFO] Exclude: installers-maven-plugin/src/main/resources/org/apache/directory/server/installers/macosxpkg/License.rtf
> [INFO] Exclude: installers-maven-plugin/src/main/resources/org/apache/directory/server/installers/solarispkg/pkginfo
> [INFO] Exclude: installers-maven-plugin/src/main/resources/org/apache/directory/server/installers/solarispkg/Prototype
> [INFO] Exclude: osgi/src/main/resources/META-INF/spring.handlers
> [INFO] Exclude: osgi/src/main/resources/META-INF/spring.schemas
> [INFO] Exclude: **/*.log
> 
> [INFO] --- apache-rat-plugin:0.7:check (default) @ apacheds-protocol-kerberos ---
> mojo forkStarted org.apache.maven.plugins:maven-source-plugin:2.1.2(attach-sources)
> mojo forkSucceeded org.apache.maven.plugins:maven-source-plugin:2.1.2(attach-sources)
> ignoring exception during new ExecutedMojo null
> [INFO] 
> [INFO] --- maven-source-plugin:2.1.2:jar (attach-sources) @ apacheds-protocol-kerberos ---
> [INFO] META-INF already added, skipping
> [INFO] META-INF already added, skipping
> [INFO] META-INF/NOTICE already added, skipping
> [INFO] META-INF/DEPENDENCIES already added, skipping
> [INFO] META-INF/LICENSE already added, skipping
> [INFO] Building jar: <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-kerberos/target/apacheds-protocol-kerberos-2.0.0-M2-SNAPSHOT-sources.jar>
> [INFO] META-INF already added, skipping
> [INFO] META-INF already added, skipping
> [INFO] META-INF/NOTICE already added, skipping
> [INFO] META-INF/DEPENDENCIES already added, skipping
> [INFO] META-INF/LICENSE already added, skipping
> [INFO] [INFO] Installing <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-kerberos/target/apacheds-protocol-kerberos-2.0.0-M2-SNAPSHOT.jar> to /home/hudson/.m2/repository/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/apacheds-protocol-kerberos-2.0.0-M2-SNAPSHOT.jar
> [INFO] Installing <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-kerberos/pom.xml> to /home/hudson/.m2/repository/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/apacheds-protocol-kerberos-2.0.0-M2-SNAPSHOT.pom
> [INFO] Installing <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-kerberos/target/apacheds-protocol-kerberos-2.0.0-M2-SNAPSHOT-sources.jar> to /home/hudson/.m2/repository/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/apacheds-protocol-kerberos-2.0.0-M2-SNAPSHOT-sources.jar
> 
> [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ apacheds-protocol-kerberos ---
> [INFO] Downloading: https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/maven-metadata.xml
> 
> [INFO] --- maven-deploy-plugin:2.5:deploy (default-deploy) @ apacheds-protocol-kerberos ---
> Downloaded: https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/maven-metadata.xml (2 KB at 2.7 KB/sec)
> Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/apacheds-protocol-kerberos-2.0.0-M2-20110630.040859-7.jar
> Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/apacheds-protocol-kerberos-2.0.0-M2-20110630.040859-7.jar (48 KB at 190.4 KB/sec)
> Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/apacheds-protocol-kerberos-2.0.0-M2-20110630.040859-7.pom
> Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/apacheds-protocol-kerberos-2.0.0-M2-20110630.040859-7.pom (4 KB at 20.5 KB/sec)
> Downloading: https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/maven-metadata.xml
> Downloaded: https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/maven-metadata.xml (476 B at 4.0 KB/sec)
> Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/maven-metadata.xml
> Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/maven-metadata.xml (2 KB at 5.8 KB/sec)
> Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/maven-metadata.xml
> Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/maven-metadata.xml (476 B at 3.0 KB/sec)
> Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/apacheds-protocol-kerberos-2.0.0-M2-20110630.040859-7-sources.jar
> Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/apacheds-protocol-kerberos-2.0.0-M2-20110630.040859-7-sources.jar (44 KB at 246.8 KB/sec)
> Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/maven-metadata.xml
> Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/maven-metadata.xml (2 KB at 7.2 KB/sec)
> projectSucceeded org.apache.directory.server:apacheds-protocol-kerberos:2.0.0-M2-SNAPSHOT
> [JENKINS] Archiving <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-kerberos/pom.xml> to /home/hudson/hudson/jobs/dir-apacheds-jdk15-ubuntu-deploy/modules/org.apache.directory.server$apacheds-protocol-kerberos/builds/2011-06-30_04-03-28/archive/org.apache.directory.server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/apacheds-protocol-kerberos-2.0.0-M2-SNAPSHOT.pom
> [JENKINS] Archiving <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-kerberos/target/apacheds-protocol-kerberos-2.0.0-M2-SNAPSHOT.jar> to /home/hudson/hudson/jobs/dir-apacheds-jdk15-ubuntu-deploy/modules/org.apache.directory.server$apacheds-protocol-kerberos/builds/2011-06-30_04-03-28/archive/org.apache.directory.server/apacheds-protocol-kerberos/2.0.0-M2-20110630.040859-7/apacheds-protocol-kerberos-2.0.0-M2-20110630.040859-7.jar
> [JENKINS] Archiving <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-kerberos/target/apacheds-protocol-kerberos-2.0.0-M2-SNAPSHOT-sources.jar> to /home/hudson/hudson/jobs/dir-apacheds-jdk15-ubuntu-deploy/modules/org.apache.directory.server$apacheds-protocol-kerberos/builds/2011-06-30_04-03-28/archive/org.apache.directory.server/apacheds-protocol-kerberos/2.0.0-M2-20110630.040859-7/apacheds-protocol-kerberos-2.0.0-M2-20110630.040859-7-sources.jar
> [INFO] Downloading: http://repository.apache.org/snapshots/org/apache/directory/shared/shared-ldap-extras-sp/1.0.0-M6-SNAPSHOT/maven-metadata.xml
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building ApacheDS Protocol Ldap 2.0.0-M2-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> Downloaded: http://repository.apache.org/snapshots/org/apache/directory/shared/shared-ldap-extras-sp/1.0.0-M6-SNAPSHOT/maven-metadata.xml (807 B at 4.3 KB/sec)
> Downloading: http://repository.apache.org/snapshots/org/apache/directory/shared/shared-ldap-extras-sp/1.0.0-M6-SNAPSHOT/shared-ldap-extras-sp-1.0.0-M6-20110630.032103-8.pom
> Downloaded: http://repository.apache.org/snapshots/org/apache/directory/shared/shared-ldap-extras-sp/1.0.0-M6-SNAPSHOT/shared-ldap-extras-sp-1.0.0-M6-20110630.032103-8.pom (4 KB at 26.4 KB/sec)
> Downloading: http://repository.apache.org/snapshots/org/apache/directory/shared/shared-ldap-extras-sp/1.0.0-M6-SNAPSHOT/shared-ldap-extras-sp-1.0.0-M6-20110630.032103-8.jar
> Downloaded: http://repository.apache.org/snapshots/org/apache/directory/shared/shared-ldap-extras-sp/1.0.0-M6-SNAPSHOT/shared-ldap-extras-sp-1.0.0-M6-20110630.032103-8.jar (13 KB at 98.6 KB/sec)
> [INFO] Deleting <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-ldap/target>
> [INFO] 
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ apacheds-protocol-ldap ---
> [INFO] 
> [INFO] --- maven-remote-resources-plugin:1.2:process (default) @ apacheds-protocol-ldap ---
> Downloading: http://repository.apache.org/snapshots/org/apache/directory/shared/shared-ldap-extras-sp/1.0.0-M6-SNAPSHOT/maven-metadata.xml
> Downloaded: http://repository.apache.org/snapshots/org/apache/directory/shared/shared-ldap-extras-sp/1.0.0-M6-SNAPSHOT/maven-metadata.xml (807 B at 9.3 KB/sec)
> [debug] execute contextualize
> [INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO] Copying 3 resources
> 
> [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ apacheds-protocol-ldap ---
> [INFO] [INFO] Compiling 64 source files to <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-ldap/target/classes>
> 
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ apacheds-protocol-ldap ---
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR : 
> [INFO] -------------------------------------------------------------
> [ERROR] <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventLogCursor.java>:[24,-1] cannot access org.apache.activemq.ActiveMQQueueBrowser
> bad class file: /home/hudson/.m2/repository/org/apache/activemq/activemq-core/5.5.0/activemq-core-5.5.0.jar(org/apache/activemq/ActiveMQQueueBrowser.class)
> class file has wrong version 50.0, should be 49.0
> [INFO] 1 error
> [INFO] -------------------------------------------------------------
> mojoFailed org.apache.maven.plugins:maven-compiler-plugin:2.3.2(default-compile)
> projectFailed org.apache.directory.server:apacheds-protocol-ldap:2.0.0-M2-SNAPSHOT
> [JENKINS] Archiving <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-ldap/pom.xml> to /home/hudson/hudson/jobs/dir-apacheds-jdk15-ubuntu-deploy/modules/org.apache.directory.server$apacheds-protocol-ldap/builds/2011-06-30_04-03-28/archive/org.apache.directory.server/apacheds-protocol-ldap/2.0.0-M2-SNAPSHOT/apacheds-protocol-ldap-2.0.0-M2-SNAPSHOT.pom
> sessionEnded
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] ApacheDS .......................................... SUCCESS [31.728s]
> [INFO] ApacheDS I18n ..................................... SUCCESS [5.558s]
> [INFO] ApacheDS Core Constants ........................... SUCCESS [4.061s]
> [INFO] ApacheDS Core API ................................. SUCCESS [40.353s]
> [INFO] ApacheDS Core ..................................... SUCCESS [20.058s]
> [INFO] ApacheDS Core AVL ................................. SUCCESS [10.604s]
> [INFO] ApacheDS Generalized (X) DBM Partition ............ SUCCESS [17.542s]
> [INFO] ApacheDS LDIF Partition ........................... SUCCESS [18.034s]
> [INFO] ApacheDS JDBM implementation ...................... SUCCESS [17.115s]
> [INFO] ApacheDS JDBM Partition ........................... SUCCESS [19.509s]
> [INFO] ApacheDS Core Annotations ......................... SUCCESS [16.730s]
> [INFO] ApacheDS Core JNDI ................................ SUCCESS [9.123s]
> [INFO] ApacheDS Protocol Shared .......................... SUCCESS [7.420s]
> [INFO] ApacheDS Protocol Kerberos Codec .................. SUCCESS [22.378s]
> [INFO] ApacheDS Interceptors for Kerberos ................ SUCCESS [8.522s]
> [INFO] ApacheDS Protocol Dhcp ............................ SUCCESS [7.997s]
> [INFO] ApacheDS Protocol Dns ............................. SUCCESS [10.598s]
> [INFO] ApacheDS Protocol Kerberos ........................ SUCCESS [11.484s]
> [INFO] ApacheDS Protocol Ldap ............................ FAILURE [6.322s]
> [INFO] ApacheDS Protocol Ntp ............................. SKIPPED
> [INFO] Apacheds Server Annotations ....................... SKIPPED
> [INFO] ApacheDS Server Config ............................ SKIPPED
> [INFO] ApacheDS Server JNDI .............................. SKIPPED
> [INFO] ApacheDS Server Replication Service ............... SKIPPED
> [INFO] ApacheDS Test Framework ........................... SKIPPED
> [INFO] ApacheDS Generalized (X) DBM Tools ................ SKIPPED
> [INFO] ApacheDS All ...................................... SKIPPED
> [INFO] ApacheDS Core Integration ......................... SKIPPED
> [INFO] ApacheDS Server Integration ....................... SKIPPED
> [INFO] ApacheDS DirectoryService-WebApp bridge ........... SKIPPED
> [INFO] ApacheDS Jetty HTTP Server Integration ............ SKIPPED
> [INFO] ApacheDS Service Builder .......................... SKIPPED
> [INFO] ApacheDS Protocol Kerberos Test ................... SKIPPED
> [INFO] Apache Directory LDAP Client API test ............. SKIPPED
> [INFO] ApacheDS Service .................................. SKIPPED
> [INFO] ApacheDS Wrapper .................................. SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 5:27.320s
> [INFO] Finished at: Wed Jun 29 20:09:09 GMT-08:00 2011
> [INFO] Final Memory: 49M/98M
> [INFO] ------------------------------------------------------------------------
> maven builder waiting
> mavenExecutionResult exceptions not empty
> message : Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project apacheds-protocol-ldap: Compilation failure
> <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventLogCursor.java>:[24,-1] cannot access org.apache.activemq.ActiveMQQueueBrowser
> bad class file: /home/hudson/.m2/repository/org/apache/activemq/activemq-core/5.5.0/activemq-core-5.5.0.jar(org/apache/activemq/ActiveMQQueueBrowser.class)
> class file has wrong version 50.0, should be 49.0
> 
> cause : Compilation failure
> <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventLogCursor.java>:[24,-1] cannot access org.apache.activemq.ActiveMQQueueBrowser
> bad class file: /home/hudson/.m2/repository/org/apache/activemq/activemq-core/5.5.0/activemq-core-5.5.0.jar(org/apache/activemq/ActiveMQQueueBrowser.class)
> class file has wrong version 50.0, should be 49.0
> 
> Stack trace : 
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project apacheds-protocol-ldap: Compilation failure
> <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventLogCursor.java>:[24,-1] cannot access org.apache.activemq.ActiveMQQueueBrowser
> bad class file: /home/hudson/.m2/repository/org/apache/activemq/activemq-core/5.5.0/activemq-core-5.5.0.jar(org/apache/activemq/ActiveMQQueueBrowser.class)
> class file has wrong version 50.0, should be 49.0
> 
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> 	at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:592)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
> 	at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158)
> 	at hudson.maven.Maven3Builder.call(Maven3Builder.java:128)
> 	at hudson.maven.Maven3Builder.call(Maven3Builder.java:75)
> 	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
> 	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
> 	at hudson.remoting.Request$2.run(Request.java:270)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:123)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
> 	at java.lang.Thread.run(Thread.java:595)
> Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
> <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventLogCursor.java>:[24,-1] cannot access org.apache.activemq.ActiveMQQueueBrowser
> bad class file: /home/hudson/.m2/repository/org/apache/activemq/activemq-core/5.5.0/activemq-core-5.5.0.jar(org/apache/activemq/ActiveMQQueueBrowser.class)
> class file has wrong version 50.0, should be 49.0
> 
> 	at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:656)
> 	at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128)
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> 	... 27 more
> Sending e-mails to: notifications@directory.apache.org
> channel stopped
> 


Re: [ApacheDS] Build issue and Java 5 compatibility (Fwd: Build failed in Jenkins: dir-apacheds-jdk15-ubuntu-deploy #310)

Posted by Emmanuel Lecharny <el...@gmail.com>.
On 7/1/11 1:36 PM, Pierre-Arnaud Marcelot wrote:
> How about launching a more formal vote about this ?
> I think such an important change deserves a real 72 hours vote.
>
> Kiran suggested me on IM that we also take some feedback from users via a notice mail on the users ML.
> I think it's a very good idea and we should do that prior to the vote.
>
> Lastly, we've seen that moving ApacheDS to Java 6 only implicates that Studio should do the same.
> What about the LDAP API ?
> There's no technical reason to move it to Java 6 only, except the fact that we want to unify all our sub-projects.
>
> WDYT?

Vote, vote vote. (à la Steve Ballmer)


-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com


Re: [ApacheDS] Build issue and Java 5 compatibility (Fwd: Build failed in Jenkins: dir-apacheds-jdk15-ubuntu-deploy #310)

Posted by Pierre-Arnaud Marcelot <pa...@marcelot.net>.
How about launching a more formal vote about this ?
I think such an important change deserves a real 72 hours vote.

Kiran suggested me on IM that we also take some feedback from users via a notice mail on the users ML.
I think it's a very good idea and we should do that prior to the vote.

Lastly, we've seen that moving ApacheDS to Java 6 only implicates that Studio should do the same.
What about the LDAP API ?
There's no technical reason to move it to Java 6 only, except the fact that we want to unify all our sub-projects.

WDYT?

Regards,
Pierre-Arnaud


On 30 juin 2011, at 15:23, Alex Karasulu wrote:

> On Thu, Jun 30, 2011 at 12:42 PM, Emmanuel Lecharny <el...@gmail.com> wrote:
> 
> SNIP ...
> 
>>> I see too possible workarounds:
>>> - we switch back to a version of ActiveMQ still compiled using Java 5
>>> - we move our compilation for ApacheDS from Java 5 to Java 6
>>>   (This also implicitly indicates that we will do the same for Studio as
>>> it depends on the latest version of ApacheDS)
>>> 
>>> What are your thoughts about this?
>> 
>> Let's get rid of Java 5.
> 
> +1
> 
> Regards,
> Alex


Re: [ApacheDS] Build issue and Java 5 compatibility (Fwd: Build failed in Jenkins: dir-apacheds-jdk15-ubuntu-deploy #310)

Posted by Alex Karasulu <ak...@apache.org>.
On Thu, Jun 30, 2011 at 12:42 PM, Emmanuel Lecharny <el...@gmail.com> wrote:

SNIP ...

>> I see too possible workarounds:
>> - we switch back to a version of ActiveMQ still compiled using Java 5
>> - we move our compilation for ApacheDS from Java 5 to Java 6
>>   (This also implicitly indicates that we will do the same for Studio as
>> it depends on the latest version of ApacheDS)
>>
>> What are your thoughts about this?
>
> Let's get rid of Java 5.

+1

Regards,
Alex

Re: [ApacheDS] Build issue and Java 5 compatibility (Fwd: Build failed in Jenkins: dir-apacheds-jdk15-ubuntu-deploy #310)

Posted by Emmanuel Lecharny <el...@gmail.com>.
On 6/30/11 11:39 AM, Pierre-Arnaud Marcelot wrote:
> Hi dev,
>
> The ApacheDS Jenkins build is badly failing because of the issue introduced with the use of the latest version of ActiveMQ, being compiled with only Java 6.
> See the detailed error here (and the complete mail below):
>> [ERROR]<https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventLogCursor.java>:[24,-1] cannot access org.apache.activemq.ActiveMQQueueBrowser
>> bad class file: /home/hudson/.m2/repository/org/apache/activemq/activemq-core/5.5.0/activemq-core-5.5.0.jar(org/apache/activemq/ActiveMQQueueBrowser.class)
>> class file has wrong version 50.0, should be 49.0
>
> I think we need to resolve this issue as fast as possible because it's never good to see CI fail constantly and it make other Jenkins builds depending on the latest version of ApacheDS fail too (like Studio's for example).
>
> I suggest we start a clear discussion and a vote about a way to solve the problem.
>
> I see too possible workarounds:
> - we switch back to a version of ActiveMQ still compiled using Java 5
> - we move our compilation for ApacheDS from Java 5 to Java 6
>    (This also implicitly indicates that we will do the same for Studio as it depends on the latest version of ApacheDS)
>
> What are your thoughts about this?

Let's get rid of Java 5.


-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com


Re: [ApacheDS] Build issue and Java 5 compatibility (Fwd: Build failed in Jenkins: dir-apacheds-jdk15-ubuntu-deploy #310)

Posted by Stefan Seelmann <se...@apache.org>.
Lets move to Java 6.

Kind Regards,
Stefan


On Thu, Jun 30, 2011 at 11:39 AM, Pierre-Arnaud Marcelot
<pa...@marcelot.net> wrote:
> Hi dev,
> The ApacheDS Jenkins build is badly failing because of the issue introduced
> with the use of the latest version of ActiveMQ, being compiled with only
> Java 6.
> See the detailed error here (and the complete mail below):
>
> [ERROR]
> <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventLogCursor.java>:[24,-1]
> cannot access org.apache.activemq.ActiveMQQueueBrowser
> bad class file:
> /home/hudson/.m2/repository/org/apache/activemq/activemq-core/5.5.0/activemq-core-5.5.0.jar(org/apache/activemq/ActiveMQQueueBrowser.class)
> class file has wrong version 50.0, should be 49.0
>
> I think we need to resolve this issue as fast as possible because it's never
> good to see CI fail constantly and it make other Jenkins builds depending on
> the latest version of ApacheDS fail too (like Studio's for example).
> I suggest we start a clear discussion and a vote about a way to solve the
> problem.
> I see too possible workarounds:
> - we switch back to a version of ActiveMQ still compiled using Java 5
> - we move our compilation for ApacheDS from Java 5 to Java 6
>   (This also implicitly indicates that we will do the same for Studio as it
> depends on the latest version of ApacheDS)
> What are your thoughts about this?
> Regards,
> Pierre-Arnaud
> Begin forwarded message:
>
> From: Apache Jenkins Server <je...@builds.apache.org>
> Date: 30 juin 2011 06:09:13 HAEC
> To: notifications@directory.apache.org
> Subject: Build failed in Jenkins: dir-apacheds-jdk15-ubuntu-deploy #310
> Reply-To: notifications@directory.apache.org
>
> See <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/310/>
>
> ------------------------------------------
> [...truncated 2258 lines...]
> [INFO] Copying 3 resources
>
> [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources)
> @ apacheds-protocol-kerberos ---
> [INFO] [INFO] Compiling 11 source files to
> <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-kerberos/target/test-classes>
>
> [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @
> apacheds-protocol-kerberos ---
> [INFO] Surefire report directory:
> <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-kerberos/target/surefire-reports>
> [INFO]
> [INFO] --- maven-surefire-plugin:2.8:test (default-test) @
> apacheds-protocol-kerberos ---
>
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running
> org.apache.directory.server.kerberos.protocol.TicketGrantingServiceTest
> Tests run: 37, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.954 sec
> Running
> org.apache.directory.server.kerberos.protocol.TicketGrantingPolicyTest
> Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.063 sec
> Running
> org.apache.directory.server.kerberos.protocol.AuthenticationServiceTest
> Tests run: 30, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.08 sec
> Running
> org.apache.directory.server.kerberos.protocol.TicketGrantingEncryptionTypeTest
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.116 sec
> Running org.apache.directory.server.kerberos.protocol.PreAuthenticationTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
> Running
> org.apache.directory.server.kerberos.protocol.AuthenticationPolicyTest
> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
> Running org.apache.directory.server.kerberos.protocol.EncTktInSkeyTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
> Running
> org.apache.directory.server.kerberos.protocol.AuthenticationEncryptionTypeTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec
>
> Results :
>
> Tests run: 101, Failures: 0, Errors: 0, Skipped: 1
>
> [JENKINS] Recording test results
> [INFO]
> [INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @
> apacheds-protocol-kerberos ---
> [INFO] Building jar:
> <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-kerberos/target/apacheds-protocol-kerberos-2.0.0-M2-SNAPSHOT.jar>
> [INFO] [INFO] Checking legal files in:
> apacheds-protocol-kerberos-2.0.0-M2-SNAPSHOT.jar
>
> [INFO] --- tools-maven-plugin:1.4:verify-legal-files (verify-legal-files) @
> apacheds-protocol-kerberos ---
> [INFO] [INFO] Exclude: **/target/**/*
> [INFO] Exclude: **/cobertura.ser
> [INFO] Exclude: **/.classpath
> [INFO] Exclude: **/.project
> [INFO] Exclude: **/.settings/**/*
> [INFO] Exclude: **/ApacheDS.launch
> [INFO] Exclude: **/*.iml
> [INFO] Exclude: **/*.ipr
> [INFO] Exclude: **/*.iws
> [INFO] Exclude: **/MANIFEST.MF
> [INFO] Exclude: **/dependency-reduced-pom.xml
> [INFO] Exclude: **/*.ldif
> [INFO] Exclude: **/*.pdu
> [INFO] Exclude: jdbm/**/*
> [INFO] Exclude:
> installers-maven-plugin/src/main/resources/org/apache/directory/server/installers/deb/control
> [INFO] Exclude:
> installers-maven-plugin/src/main/resources/org/apache/directory/server/installers/macosxpkg/License.rtf
> [INFO] Exclude:
> installers-maven-plugin/src/main/resources/org/apache/directory/server/installers/solarispkg/pkginfo
> [INFO] Exclude:
> installers-maven-plugin/src/main/resources/org/apache/directory/server/installers/solarispkg/Prototype
> [INFO] Exclude: osgi/src/main/resources/META-INF/spring.handlers
> [INFO] Exclude: osgi/src/main/resources/META-INF/spring.schemas
> [INFO] Exclude: **/*.log
>
> [INFO] --- apache-rat-plugin:0.7:check (default) @
> apacheds-protocol-kerberos ---
> mojo forkStarted
> org.apache.maven.plugins:maven-source-plugin:2.1.2(attach-sources)
> mojo forkSucceeded
> org.apache.maven.plugins:maven-source-plugin:2.1.2(attach-sources)
> ignoring exception during new ExecutedMojo null
> [INFO]
> [INFO] --- maven-source-plugin:2.1.2:jar (attach-sources) @
> apacheds-protocol-kerberos ---
> [INFO] META-INF already added, skipping
> [INFO] META-INF already added, skipping
> [INFO] META-INF/NOTICE already added, skipping
> [INFO] META-INF/DEPENDENCIES already added, skipping
> [INFO] META-INF/LICENSE already added, skipping
> [INFO] Building jar:
> <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-kerberos/target/apacheds-protocol-kerberos-2.0.0-M2-SNAPSHOT-sources.jar>
> [INFO] META-INF already added, skipping
> [INFO] META-INF already added, skipping
> [INFO] META-INF/NOTICE already added, skipping
> [INFO] META-INF/DEPENDENCIES already added, skipping
> [INFO] META-INF/LICENSE already added, skipping
> [INFO] [INFO] Installing
> <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-kerberos/target/apacheds-protocol-kerberos-2.0.0-M2-SNAPSHOT.jar>
> to
> /home/hudson/.m2/repository/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/apacheds-protocol-kerberos-2.0.0-M2-SNAPSHOT.jar
> [INFO] Installing
> <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-kerberos/pom.xml>
> to
> /home/hudson/.m2/repository/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/apacheds-protocol-kerberos-2.0.0-M2-SNAPSHOT.pom
> [INFO] Installing
> <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-kerberos/target/apacheds-protocol-kerberos-2.0.0-M2-SNAPSHOT-sources.jar>
> to
> /home/hudson/.m2/repository/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/apacheds-protocol-kerberos-2.0.0-M2-SNAPSHOT-sources.jar
>
> [INFO] --- maven-install-plugin:2.3.1:install (default-install) @
> apacheds-protocol-kerberos ---
> [INFO] Downloading:
> https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/maven-metadata.xml
>
> [INFO] --- maven-deploy-plugin:2.5:deploy (default-deploy) @
> apacheds-protocol-kerberos ---
> Downloaded:
> https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/maven-metadata.xml
> (2 KB at 2.7 KB/sec)
> Uploading:
> https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/apacheds-protocol-kerberos-2.0.0-M2-20110630.040859-7.jar
> Uploaded:
> https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/apacheds-protocol-kerberos-2.0.0-M2-20110630.040859-7.jar
> (48 KB at 190.4 KB/sec)
> Uploading:
> https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/apacheds-protocol-kerberos-2.0.0-M2-20110630.040859-7.pom
> Uploaded:
> https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/apacheds-protocol-kerberos-2.0.0-M2-20110630.040859-7.pom
> (4 KB at 20.5 KB/sec)
> Downloading:
> https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/maven-metadata.xml
> Downloaded:
> https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/maven-metadata.xml
> (476 B at 4.0 KB/sec)
> Uploading:
> https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/maven-metadata.xml
> Uploaded:
> https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/maven-metadata.xml
> (2 KB at 5.8 KB/sec)
> Uploading:
> https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/maven-metadata.xml
> Uploaded:
> https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/maven-metadata.xml
> (476 B at 3.0 KB/sec)
> Uploading:
> https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/apacheds-protocol-kerberos-2.0.0-M2-20110630.040859-7-sources.jar
> Uploaded:
> https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/apacheds-protocol-kerberos-2.0.0-M2-20110630.040859-7-sources.jar
> (44 KB at 246.8 KB/sec)
> Uploading:
> https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/maven-metadata.xml
> Uploaded:
> https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/maven-metadata.xml
> (2 KB at 7.2 KB/sec)
> projectSucceeded
> org.apache.directory.server:apacheds-protocol-kerberos:2.0.0-M2-SNAPSHOT
> [JENKINS] Archiving
> <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-kerberos/pom.xml>
> to
> /home/hudson/hudson/jobs/dir-apacheds-jdk15-ubuntu-deploy/modules/org.apache.directory.server$apacheds-protocol-kerberos/builds/2011-06-30_04-03-28/archive/org.apache.directory.server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/apacheds-protocol-kerberos-2.0.0-M2-SNAPSHOT.pom
> [JENKINS] Archiving
> <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-kerberos/target/apacheds-protocol-kerberos-2.0.0-M2-SNAPSHOT.jar>
> to
> /home/hudson/hudson/jobs/dir-apacheds-jdk15-ubuntu-deploy/modules/org.apache.directory.server$apacheds-protocol-kerberos/builds/2011-06-30_04-03-28/archive/org.apache.directory.server/apacheds-protocol-kerberos/2.0.0-M2-20110630.040859-7/apacheds-protocol-kerberos-2.0.0-M2-20110630.040859-7.jar
> [JENKINS] Archiving
> <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-kerberos/target/apacheds-protocol-kerberos-2.0.0-M2-SNAPSHOT-sources.jar>
> to
> /home/hudson/hudson/jobs/dir-apacheds-jdk15-ubuntu-deploy/modules/org.apache.directory.server$apacheds-protocol-kerberos/builds/2011-06-30_04-03-28/archive/org.apache.directory.server/apacheds-protocol-kerberos/2.0.0-M2-20110630.040859-7/apacheds-protocol-kerberos-2.0.0-M2-20110630.040859-7-sources.jar
> [INFO] Downloading:
> http://repository.apache.org/snapshots/org/apache/directory/shared/shared-ldap-extras-sp/1.0.0-M6-SNAPSHOT/maven-metadata.xml
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building ApacheDS Protocol Ldap 2.0.0-M2-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> Downloaded:
> http://repository.apache.org/snapshots/org/apache/directory/shared/shared-ldap-extras-sp/1.0.0-M6-SNAPSHOT/maven-metadata.xml
> (807 B at 4.3 KB/sec)
> Downloading:
> http://repository.apache.org/snapshots/org/apache/directory/shared/shared-ldap-extras-sp/1.0.0-M6-SNAPSHOT/shared-ldap-extras-sp-1.0.0-M6-20110630.032103-8.pom
> Downloaded:
> http://repository.apache.org/snapshots/org/apache/directory/shared/shared-ldap-extras-sp/1.0.0-M6-SNAPSHOT/shared-ldap-extras-sp-1.0.0-M6-20110630.032103-8.pom
> (4 KB at 26.4 KB/sec)
> Downloading:
> http://repository.apache.org/snapshots/org/apache/directory/shared/shared-ldap-extras-sp/1.0.0-M6-SNAPSHOT/shared-ldap-extras-sp-1.0.0-M6-20110630.032103-8.jar
> Downloaded:
> http://repository.apache.org/snapshots/org/apache/directory/shared/shared-ldap-extras-sp/1.0.0-M6-SNAPSHOT/shared-ldap-extras-sp-1.0.0-M6-20110630.032103-8.jar
> (13 KB at 98.6 KB/sec)
> [INFO] Deleting
> <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-ldap/target>
> [INFO]
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @
> apacheds-protocol-ldap ---
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.2:process (default) @
> apacheds-protocol-ldap ---
> Downloading:
> http://repository.apache.org/snapshots/org/apache/directory/shared/shared-ldap-extras-sp/1.0.0-M6-SNAPSHOT/maven-metadata.xml
> Downloaded:
> http://repository.apache.org/snapshots/org/apache/directory/shared/shared-ldap-extras-sp/1.0.0-M6-SNAPSHOT/maven-metadata.xml
> (807 B at 9.3 KB/sec)
> [debug] execute contextualize
> [INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO] Copying 3 resources
>
> [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
> apacheds-protocol-ldap ---
> [INFO] [INFO] Compiling 64 source files to
> <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-ldap/target/classes>
>
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
> apacheds-protocol-ldap ---
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR]
> <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventLogCursor.java>:[24,-1]
> cannot access org.apache.activemq.ActiveMQQueueBrowser
> bad class file:
> /home/hudson/.m2/repository/org/apache/activemq/activemq-core/5.5.0/activemq-core-5.5.0.jar(org/apache/activemq/ActiveMQQueueBrowser.class)
> class file has wrong version 50.0, should be 49.0
> [INFO] 1 error
> [INFO] -------------------------------------------------------------
> mojoFailed
> org.apache.maven.plugins:maven-compiler-plugin:2.3.2(default-compile)
> projectFailed
> org.apache.directory.server:apacheds-protocol-ldap:2.0.0-M2-SNAPSHOT
> [JENKINS] Archiving
> <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-ldap/pom.xml>
> to
> /home/hudson/hudson/jobs/dir-apacheds-jdk15-ubuntu-deploy/modules/org.apache.directory.server$apacheds-protocol-ldap/builds/2011-06-30_04-03-28/archive/org.apache.directory.server/apacheds-protocol-ldap/2.0.0-M2-SNAPSHOT/apacheds-protocol-ldap-2.0.0-M2-SNAPSHOT.pom
> sessionEnded
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] ApacheDS .......................................... SUCCESS [31.728s]
> [INFO] ApacheDS I18n ..................................... SUCCESS [5.558s]
> [INFO] ApacheDS Core Constants ........................... SUCCESS [4.061s]
> [INFO] ApacheDS Core API ................................. SUCCESS [40.353s]
> [INFO] ApacheDS Core ..................................... SUCCESS [20.058s]
> [INFO] ApacheDS Core AVL ................................. SUCCESS [10.604s]
> [INFO] ApacheDS Generalized (X) DBM Partition ............ SUCCESS [17.542s]
> [INFO] ApacheDS LDIF Partition ........................... SUCCESS [18.034s]
> [INFO] ApacheDS JDBM implementation ...................... SUCCESS [17.115s]
> [INFO] ApacheDS JDBM Partition ........................... SUCCESS [19.509s]
> [INFO] ApacheDS Core Annotations ......................... SUCCESS [16.730s]
> [INFO] ApacheDS Core JNDI ................................ SUCCESS [9.123s]
> [INFO] ApacheDS Protocol Shared .......................... SUCCESS [7.420s]
> [INFO] ApacheDS Protocol Kerberos Codec .................. SUCCESS [22.378s]
> [INFO] ApacheDS Interceptors for Kerberos ................ SUCCESS [8.522s]
> [INFO] ApacheDS Protocol Dhcp ............................ SUCCESS [7.997s]
> [INFO] ApacheDS Protocol Dns ............................. SUCCESS [10.598s]
> [INFO] ApacheDS Protocol Kerberos ........................ SUCCESS [11.484s]
> [INFO] ApacheDS Protocol Ldap ............................ FAILURE [6.322s]
> [INFO] ApacheDS Protocol Ntp ............................. SKIPPED
> [INFO] Apacheds Server Annotations ....................... SKIPPED
> [INFO] ApacheDS Server Config ............................ SKIPPED
> [INFO] ApacheDS Server JNDI .............................. SKIPPED
> [INFO] ApacheDS Server Replication Service ............... SKIPPED
> [INFO] ApacheDS Test Framework ........................... SKIPPED
> [INFO] ApacheDS Generalized (X) DBM Tools ................ SKIPPED
> [INFO] ApacheDS All ...................................... SKIPPED
> [INFO] ApacheDS Core Integration ......................... SKIPPED
> [INFO] ApacheDS Server Integration ....................... SKIPPED
> [INFO] ApacheDS DirectoryService-WebApp bridge ........... SKIPPED
> [INFO] ApacheDS Jetty HTTP Server Integration ............ SKIPPED
> [INFO] ApacheDS Service Builder .......................... SKIPPED
> [INFO] ApacheDS Protocol Kerberos Test ................... SKIPPED
> [INFO] Apache Directory LDAP Client API test ............. SKIPPED
> [INFO] ApacheDS Service .................................. SKIPPED
> [INFO] ApacheDS Wrapper .................................. SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 5:27.320s
> [INFO] Finished at: Wed Jun 29 20:09:09 GMT-08:00 2011
> [INFO] Final Memory: 49M/98M
> [INFO]
> ------------------------------------------------------------------------
> maven builder waiting
> mavenExecutionResult exceptions not empty
> message : Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
> (default-compile) on project apacheds-protocol-ldap: Compilation failure
> <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventLogCursor.java>:[24,-1]
> cannot access org.apache.activemq.ActiveMQQueueBrowser
> bad class file:
> /home/hudson/.m2/repository/org/apache/activemq/activemq-core/5.5.0/activemq-core-5.5.0.jar(org/apache/activemq/ActiveMQQueueBrowser.class)
> class file has wrong version 50.0, should be 49.0
>
> cause : Compilation failure
> <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventLogCursor.java>:[24,-1]
> cannot access org.apache.activemq.ActiveMQQueueBrowser
> bad class file:
> /home/hudson/.m2/repository/org/apache/activemq/activemq-core/5.5.0/activemq-core-5.5.0.jar(org/apache/activemq/ActiveMQQueueBrowser.class)
> class file has wrong version 50.0, should be 49.0
>
> Stack trace :
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
> (default-compile) on project apacheds-protocol-ldap: Compilation failure
> <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventLogCursor.java>:[24,-1]
> cannot access org.apache.activemq.ActiveMQQueueBrowser
> bad class file:
> /home/hudson/.m2/repository/org/apache/activemq/activemq-core/5.5.0/activemq-core-5.5.0.jar(org/apache/activemq/ActiveMQQueueBrowser.class)
> class file has wrong version 50.0, should be 49.0
>
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> at
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> at
> org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:592)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
> at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158)
> at hudson.maven.Maven3Builder.call(Maven3Builder.java:128)
> at hudson.maven.Maven3Builder.call(Maven3Builder.java:75)
> at hudson.remoting.UserRequest.perform(UserRequest.java:118)
> at hudson.remoting.UserRequest.perform(UserRequest.java:48)
> at hudson.remoting.Request$2.run(Request.java:270)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
> at java.util.concurrent.FutureTask.run(FutureTask.java:123)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
> at java.lang.Thread.run(Thread.java:595)
> Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation
> failure
> <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventLogCursor.java>:[24,-1]
> cannot access org.apache.activemq.ActiveMQQueueBrowser
> bad class file:
> /home/hudson/.m2/repository/org/apache/activemq/activemq-core/5.5.0/activemq-core-5.5.0.jar(org/apache/activemq/ActiveMQQueueBrowser.class)
> class file has wrong version 50.0, should be 49.0
>
> at
> org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:656)
> at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128)
> at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> ... 27 more
> Sending e-mails to: notifications@directory.apache.org
> channel stopped
>
>
>

Re: [ApacheDS] Build issue and Java 5 compatibility (Fwd: Build failed in Jenkins: dir-apacheds-jdk15-ubuntu-deploy #310)

Posted by Pierre-Arnaud Marcelot <pa...@marcelot.net>.
Personally, I'm not really sure we want to move our compilation target just because one of our dependencies has dropped support for Java 5.

I have no idea if there are still a lot of users running ApacheDS or Studio in a Java 5 JVM.

On the other hand Java 5 is EOL for a little while now...

I'm still stuck between the two solutions...

I will probably choose my side after hearing your arguments... ;)

Regards,
Pierre-Arnaud

On 30 juin 2011, at 11:39, Pierre-Arnaud Marcelot wrote:

> Hi dev,
> 
> The ApacheDS Jenkins build is badly failing because of the issue introduced with the use of the latest version of ActiveMQ, being compiled with only Java 6.
> See the detailed error here (and the complete mail below):
>> [ERROR] <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventLogCursor.java>:[24,-1] cannot access org.apache.activemq.ActiveMQQueueBrowser
>> bad class file: /home/hudson/.m2/repository/org/apache/activemq/activemq-core/5.5.0/activemq-core-5.5.0.jar(org/apache/activemq/ActiveMQQueueBrowser.class)
>> class file has wrong version 50.0, should be 49.0
> 
> 
> I think we need to resolve this issue as fast as possible because it's never good to see CI fail constantly and it make other Jenkins builds depending on the latest version of ApacheDS fail too (like Studio's for example).
> 
> I suggest we start a clear discussion and a vote about a way to solve the problem.
> 
> I see too possible workarounds:
> - we switch back to a version of ActiveMQ still compiled using Java 5
> - we move our compilation for ApacheDS from Java 5 to Java 6
>   (This also implicitly indicates that we will do the same for Studio as it depends on the latest version of ApacheDS)
> 
> What are your thoughts about this?
> 
> Regards,
> Pierre-Arnaud
> 
> Begin forwarded message:
> 
>> From: Apache Jenkins Server <je...@builds.apache.org>
>> Date: 30 juin 2011 06:09:13 HAEC
>> To: notifications@directory.apache.org
>> Subject: Build failed in Jenkins: dir-apacheds-jdk15-ubuntu-deploy #310
>> Reply-To: notifications@directory.apache.org
>> 
>> See <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/310/>
>> 
>> ------------------------------------------
>> [...truncated 2258 lines...]
>> [INFO] Copying 3 resources
>> 
>> [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ apacheds-protocol-kerberos ---
>> [INFO] [INFO] Compiling 11 source files to <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-kerberos/target/test-classes>
>> 
>> [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ apacheds-protocol-kerberos ---
>> [INFO] Surefire report directory: <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-kerberos/target/surefire-reports>
>> [INFO] 
>> [INFO] --- maven-surefire-plugin:2.8:test (default-test) @ apacheds-protocol-kerberos ---
>> 
>> -------------------------------------------------------
>> T E S T S
>> -------------------------------------------------------
>> Running org.apache.directory.server.kerberos.protocol.TicketGrantingServiceTest
>> Tests run: 37, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.954 sec
>> Running org.apache.directory.server.kerberos.protocol.TicketGrantingPolicyTest
>> Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.063 sec
>> Running org.apache.directory.server.kerberos.protocol.AuthenticationServiceTest
>> Tests run: 30, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.08 sec
>> Running org.apache.directory.server.kerberos.protocol.TicketGrantingEncryptionTypeTest
>> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.116 sec
>> Running org.apache.directory.server.kerberos.protocol.PreAuthenticationTest
>> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
>> Running org.apache.directory.server.kerberos.protocol.AuthenticationPolicyTest
>> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
>> Running org.apache.directory.server.kerberos.protocol.EncTktInSkeyTest
>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
>> Running org.apache.directory.server.kerberos.protocol.AuthenticationEncryptionTypeTest
>> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec
>> 
>> Results :
>> 
>> Tests run: 101, Failures: 0, Errors: 0, Skipped: 1
>> 
>> [JENKINS] Recording test results
>> [INFO] 
>> [INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ apacheds-protocol-kerberos ---
>> [INFO] Building jar: <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-kerberos/target/apacheds-protocol-kerberos-2.0.0-M2-SNAPSHOT.jar>
>> [INFO] [INFO] Checking legal files in: apacheds-protocol-kerberos-2.0.0-M2-SNAPSHOT.jar
>> 
>> [INFO] --- tools-maven-plugin:1.4:verify-legal-files (verify-legal-files) @ apacheds-protocol-kerberos ---
>> [INFO] [INFO] Exclude: **/target/**/*
>> [INFO] Exclude: **/cobertura.ser
>> [INFO] Exclude: **/.classpath
>> [INFO] Exclude: **/.project
>> [INFO] Exclude: **/.settings/**/*
>> [INFO] Exclude: **/ApacheDS.launch
>> [INFO] Exclude: **/*.iml
>> [INFO] Exclude: **/*.ipr
>> [INFO] Exclude: **/*.iws
>> [INFO] Exclude: **/MANIFEST.MF
>> [INFO] Exclude: **/dependency-reduced-pom.xml
>> [INFO] Exclude: **/*.ldif
>> [INFO] Exclude: **/*.pdu
>> [INFO] Exclude: jdbm/**/*
>> [INFO] Exclude: installers-maven-plugin/src/main/resources/org/apache/directory/server/installers/deb/control
>> [INFO] Exclude: installers-maven-plugin/src/main/resources/org/apache/directory/server/installers/macosxpkg/License.rtf
>> [INFO] Exclude: installers-maven-plugin/src/main/resources/org/apache/directory/server/installers/solarispkg/pkginfo
>> [INFO] Exclude: installers-maven-plugin/src/main/resources/org/apache/directory/server/installers/solarispkg/Prototype
>> [INFO] Exclude: osgi/src/main/resources/META-INF/spring.handlers
>> [INFO] Exclude: osgi/src/main/resources/META-INF/spring.schemas
>> [INFO] Exclude: **/*.log
>> 
>> [INFO] --- apache-rat-plugin:0.7:check (default) @ apacheds-protocol-kerberos ---
>> mojo forkStarted org.apache.maven.plugins:maven-source-plugin:2.1.2(attach-sources)
>> mojo forkSucceeded org.apache.maven.plugins:maven-source-plugin:2.1.2(attach-sources)
>> ignoring exception during new ExecutedMojo null
>> [INFO] 
>> [INFO] --- maven-source-plugin:2.1.2:jar (attach-sources) @ apacheds-protocol-kerberos ---
>> [INFO] META-INF already added, skipping
>> [INFO] META-INF already added, skipping
>> [INFO] META-INF/NOTICE already added, skipping
>> [INFO] META-INF/DEPENDENCIES already added, skipping
>> [INFO] META-INF/LICENSE already added, skipping
>> [INFO] Building jar: <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-kerberos/target/apacheds-protocol-kerberos-2.0.0-M2-SNAPSHOT-sources.jar>
>> [INFO] META-INF already added, skipping
>> [INFO] META-INF already added, skipping
>> [INFO] META-INF/NOTICE already added, skipping
>> [INFO] META-INF/DEPENDENCIES already added, skipping
>> [INFO] META-INF/LICENSE already added, skipping
>> [INFO] [INFO] Installing <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-kerberos/target/apacheds-protocol-kerberos-2.0.0-M2-SNAPSHOT.jar> to /home/hudson/.m2/repository/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/apacheds-protocol-kerberos-2.0.0-M2-SNAPSHOT.jar
>> [INFO] Installing <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-kerberos/pom.xml> to /home/hudson/.m2/repository/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/apacheds-protocol-kerberos-2.0.0-M2-SNAPSHOT.pom
>> [INFO] Installing <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-kerberos/target/apacheds-protocol-kerberos-2.0.0-M2-SNAPSHOT-sources.jar> to /home/hudson/.m2/repository/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/apacheds-protocol-kerberos-2.0.0-M2-SNAPSHOT-sources.jar
>> 
>> [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ apacheds-protocol-kerberos ---
>> [INFO] Downloading: https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/maven-metadata.xml
>> 
>> [INFO] --- maven-deploy-plugin:2.5:deploy (default-deploy) @ apacheds-protocol-kerberos ---
>> Downloaded: https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/maven-metadata.xml (2 KB at 2.7 KB/sec)
>> Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/apacheds-protocol-kerberos-2.0.0-M2-20110630.040859-7.jar
>> Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/apacheds-protocol-kerberos-2.0.0-M2-20110630.040859-7.jar (48 KB at 190.4 KB/sec)
>> Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/apacheds-protocol-kerberos-2.0.0-M2-20110630.040859-7.pom
>> Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/apacheds-protocol-kerberos-2.0.0-M2-20110630.040859-7.pom (4 KB at 20.5 KB/sec)
>> Downloading: https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/maven-metadata.xml
>> Downloaded: https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/maven-metadata.xml (476 B at 4.0 KB/sec)
>> Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/maven-metadata.xml
>> Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/maven-metadata.xml (2 KB at 5.8 KB/sec)
>> Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/maven-metadata.xml
>> Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/maven-metadata.xml (476 B at 3.0 KB/sec)
>> Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/apacheds-protocol-kerberos-2.0.0-M2-20110630.040859-7-sources.jar
>> Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/apacheds-protocol-kerberos-2.0.0-M2-20110630.040859-7-sources.jar (44 KB at 246.8 KB/sec)
>> Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/maven-metadata.xml
>> Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/maven-metadata.xml (2 KB at 7.2 KB/sec)
>> projectSucceeded org.apache.directory.server:apacheds-protocol-kerberos:2.0.0-M2-SNAPSHOT
>> [JENKINS] Archiving <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-kerberos/pom.xml> to /home/hudson/hudson/jobs/dir-apacheds-jdk15-ubuntu-deploy/modules/org.apache.directory.server$apacheds-protocol-kerberos/builds/2011-06-30_04-03-28/archive/org.apache.directory.server/apacheds-protocol-kerberos/2.0.0-M2-SNAPSHOT/apacheds-protocol-kerberos-2.0.0-M2-SNAPSHOT.pom
>> [JENKINS] Archiving <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-kerberos/target/apacheds-protocol-kerberos-2.0.0-M2-SNAPSHOT.jar> to /home/hudson/hudson/jobs/dir-apacheds-jdk15-ubuntu-deploy/modules/org.apache.directory.server$apacheds-protocol-kerberos/builds/2011-06-30_04-03-28/archive/org.apache.directory.server/apacheds-protocol-kerberos/2.0.0-M2-20110630.040859-7/apacheds-protocol-kerberos-2.0.0-M2-20110630.040859-7.jar
>> [JENKINS] Archiving <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-kerberos/target/apacheds-protocol-kerberos-2.0.0-M2-SNAPSHOT-sources.jar> to /home/hudson/hudson/jobs/dir-apacheds-jdk15-ubuntu-deploy/modules/org.apache.directory.server$apacheds-protocol-kerberos/builds/2011-06-30_04-03-28/archive/org.apache.directory.server/apacheds-protocol-kerberos/2.0.0-M2-20110630.040859-7/apacheds-protocol-kerberos-2.0.0-M2-20110630.040859-7-sources.jar
>> [INFO] Downloading: http://repository.apache.org/snapshots/org/apache/directory/shared/shared-ldap-extras-sp/1.0.0-M6-SNAPSHOT/maven-metadata.xml
>> 
>> [INFO] ------------------------------------------------------------------------
>> [INFO] Building ApacheDS Protocol Ldap 2.0.0-M2-SNAPSHOT
>> [INFO] ------------------------------------------------------------------------
>> Downloaded: http://repository.apache.org/snapshots/org/apache/directory/shared/shared-ldap-extras-sp/1.0.0-M6-SNAPSHOT/maven-metadata.xml (807 B at 4.3 KB/sec)
>> Downloading: http://repository.apache.org/snapshots/org/apache/directory/shared/shared-ldap-extras-sp/1.0.0-M6-SNAPSHOT/shared-ldap-extras-sp-1.0.0-M6-20110630.032103-8.pom
>> Downloaded: http://repository.apache.org/snapshots/org/apache/directory/shared/shared-ldap-extras-sp/1.0.0-M6-SNAPSHOT/shared-ldap-extras-sp-1.0.0-M6-20110630.032103-8.pom (4 KB at 26.4 KB/sec)
>> Downloading: http://repository.apache.org/snapshots/org/apache/directory/shared/shared-ldap-extras-sp/1.0.0-M6-SNAPSHOT/shared-ldap-extras-sp-1.0.0-M6-20110630.032103-8.jar
>> Downloaded: http://repository.apache.org/snapshots/org/apache/directory/shared/shared-ldap-extras-sp/1.0.0-M6-SNAPSHOT/shared-ldap-extras-sp-1.0.0-M6-20110630.032103-8.jar (13 KB at 98.6 KB/sec)
>> [INFO] Deleting <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-ldap/target>
>> [INFO] 
>> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ apacheds-protocol-ldap ---
>> [INFO] 
>> [INFO] --- maven-remote-resources-plugin:1.2:process (default) @ apacheds-protocol-ldap ---
>> Downloading: http://repository.apache.org/snapshots/org/apache/directory/shared/shared-ldap-extras-sp/1.0.0-M6-SNAPSHOT/maven-metadata.xml
>> Downloaded: http://repository.apache.org/snapshots/org/apache/directory/shared/shared-ldap-extras-sp/1.0.0-M6-SNAPSHOT/maven-metadata.xml (807 B at 9.3 KB/sec)
>> [debug] execute contextualize
>> [INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] Copying 0 resource
>> [INFO] Copying 3 resources
>> 
>> [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ apacheds-protocol-ldap ---
>> [INFO] [INFO] Compiling 64 source files to <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-ldap/target/classes>
>> 
>> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ apacheds-protocol-ldap ---
>> [INFO] -------------------------------------------------------------
>> [ERROR] COMPILATION ERROR : 
>> [INFO] -------------------------------------------------------------
>> [ERROR] <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventLogCursor.java>:[24,-1] cannot access org.apache.activemq.ActiveMQQueueBrowser
>> bad class file: /home/hudson/.m2/repository/org/apache/activemq/activemq-core/5.5.0/activemq-core-5.5.0.jar(org/apache/activemq/ActiveMQQueueBrowser.class)
>> class file has wrong version 50.0, should be 49.0
>> [INFO] 1 error
>> [INFO] -------------------------------------------------------------
>> mojoFailed org.apache.maven.plugins:maven-compiler-plugin:2.3.2(default-compile)
>> projectFailed org.apache.directory.server:apacheds-protocol-ldap:2.0.0-M2-SNAPSHOT
>> [JENKINS] Archiving <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-ldap/pom.xml> to /home/hudson/hudson/jobs/dir-apacheds-jdk15-ubuntu-deploy/modules/org.apache.directory.server$apacheds-protocol-ldap/builds/2011-06-30_04-03-28/archive/org.apache.directory.server/apacheds-protocol-ldap/2.0.0-M2-SNAPSHOT/apacheds-protocol-ldap-2.0.0-M2-SNAPSHOT.pom
>> sessionEnded
>> [INFO] ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO] 
>> [INFO] ApacheDS .......................................... SUCCESS [31.728s]
>> [INFO] ApacheDS I18n ..................................... SUCCESS [5.558s]
>> [INFO] ApacheDS Core Constants ........................... SUCCESS [4.061s]
>> [INFO] ApacheDS Core API ................................. SUCCESS [40.353s]
>> [INFO] ApacheDS Core ..................................... SUCCESS [20.058s]
>> [INFO] ApacheDS Core AVL ................................. SUCCESS [10.604s]
>> [INFO] ApacheDS Generalized (X) DBM Partition ............ SUCCESS [17.542s]
>> [INFO] ApacheDS LDIF Partition ........................... SUCCESS [18.034s]
>> [INFO] ApacheDS JDBM implementation ...................... SUCCESS [17.115s]
>> [INFO] ApacheDS JDBM Partition ........................... SUCCESS [19.509s]
>> [INFO] ApacheDS Core Annotations ......................... SUCCESS [16.730s]
>> [INFO] ApacheDS Core JNDI ................................ SUCCESS [9.123s]
>> [INFO] ApacheDS Protocol Shared .......................... SUCCESS [7.420s]
>> [INFO] ApacheDS Protocol Kerberos Codec .................. SUCCESS [22.378s]
>> [INFO] ApacheDS Interceptors for Kerberos ................ SUCCESS [8.522s]
>> [INFO] ApacheDS Protocol Dhcp ............................ SUCCESS [7.997s]
>> [INFO] ApacheDS Protocol Dns ............................. SUCCESS [10.598s]
>> [INFO] ApacheDS Protocol Kerberos ........................ SUCCESS [11.484s]
>> [INFO] ApacheDS Protocol Ldap ............................ FAILURE [6.322s]
>> [INFO] ApacheDS Protocol Ntp ............................. SKIPPED
>> [INFO] Apacheds Server Annotations ....................... SKIPPED
>> [INFO] ApacheDS Server Config ............................ SKIPPED
>> [INFO] ApacheDS Server JNDI .............................. SKIPPED
>> [INFO] ApacheDS Server Replication Service ............... SKIPPED
>> [INFO] ApacheDS Test Framework ........................... SKIPPED
>> [INFO] ApacheDS Generalized (X) DBM Tools ................ SKIPPED
>> [INFO] ApacheDS All ...................................... SKIPPED
>> [INFO] ApacheDS Core Integration ......................... SKIPPED
>> [INFO] ApacheDS Server Integration ....................... SKIPPED
>> [INFO] ApacheDS DirectoryService-WebApp bridge ........... SKIPPED
>> [INFO] ApacheDS Jetty HTTP Server Integration ............ SKIPPED
>> [INFO] ApacheDS Service Builder .......................... SKIPPED
>> [INFO] ApacheDS Protocol Kerberos Test ................... SKIPPED
>> [INFO] Apache Directory LDAP Client API test ............. SKIPPED
>> [INFO] ApacheDS Service .................................. SKIPPED
>> [INFO] ApacheDS Wrapper .................................. SKIPPED
>> [INFO] ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO] ------------------------------------------------------------------------
>> [INFO] Total time: 5:27.320s
>> [INFO] Finished at: Wed Jun 29 20:09:09 GMT-08:00 2011
>> [INFO] Final Memory: 49M/98M
>> [INFO] ------------------------------------------------------------------------
>> maven builder waiting
>> mavenExecutionResult exceptions not empty
>> message : Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project apacheds-protocol-ldap: Compilation failure
>> <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventLogCursor.java>:[24,-1] cannot access org.apache.activemq.ActiveMQQueueBrowser
>> bad class file: /home/hudson/.m2/repository/org/apache/activemq/activemq-core/5.5.0/activemq-core-5.5.0.jar(org/apache/activemq/ActiveMQQueueBrowser.class)
>> class file has wrong version 50.0, should be 49.0
>> 
>> cause : Compilation failure
>> <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventLogCursor.java>:[24,-1] cannot access org.apache.activemq.ActiveMQQueueBrowser
>> bad class file: /home/hudson/.m2/repository/org/apache/activemq/activemq-core/5.5.0/activemq-core-5.5.0.jar(org/apache/activemq/ActiveMQQueueBrowser.class)
>> class file has wrong version 50.0, should be 49.0
>> 
>> Stack trace : 
>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project apacheds-protocol-ldap: Compilation failure
>> <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventLogCursor.java>:[24,-1] cannot access org.apache.activemq.ActiveMQQueueBrowser
>> bad class file: /home/hudson/.m2/repository/org/apache/activemq/activemq-core/5.5.0/activemq-core-5.5.0.jar(org/apache/activemq/ActiveMQQueueBrowser.class)
>> class file has wrong version 50.0, should be 49.0
>> 
>> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
>> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
>> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>> 	at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79)
>> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> 	at java.lang.reflect.Method.invoke(Method.java:592)
>> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
>> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
>> 	at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158)
>> 	at hudson.maven.Maven3Builder.call(Maven3Builder.java:128)
>> 	at hudson.maven.Maven3Builder.call(Maven3Builder.java:75)
>> 	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
>> 	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
>> 	at hudson.remoting.Request$2.run(Request.java:270)
>> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
>> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
>> 	at java.util.concurrent.FutureTask.run(FutureTask.java:123)
>> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
>> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
>> 	at java.lang.Thread.run(Thread.java:595)
>> Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
>> <https://builds.apache.org/job/dir-apacheds-jdk15-ubuntu-deploy/ws/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventLogCursor.java>:[24,-1] cannot access org.apache.activemq.ActiveMQQueueBrowser
>> bad class file: /home/hudson/.m2/repository/org/apache/activemq/activemq-core/5.5.0/activemq-core-5.5.0.jar(org/apache/activemq/ActiveMQQueueBrowser.class)
>> class file has wrong version 50.0, should be 49.0
>> 
>> 	at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:656)
>> 	at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128)
>> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>> 	... 27 more
>> Sending e-mails to: notifications@directory.apache.org
>> channel stopped
>> 
>