I've set it to use Maven 3.3.3 & still get a compile failure in LevelDB Store:
[WARNING] The requested profile "slow-tests" could not be activated because it does not exist.[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:testCompile (default-testCompile) on project activemq-leveldb-store: Compilation failure: Compilation failure:[ERROR] /scratch/jenkins/workspace/ZZZZ_COBERTURA_activemq/activemq-leveldb-store/src/test/scala/org/apache/activemq/leveldb/dfs/IndexManifestDTO.java:[32,8] duplicate class: org.apache.activemq.leveldb.dfs.IndexManifestDTO[ERROR] /scratch/jenkins/workspace/ZZZZ_COBERTURA_activemq/activemq-leveldb-store/src/test/scala/org/apache/activemq/leveldb/test/IDERunner.java:[24,8] duplicate class: org.apache.activemq.leveldb.test.IDERunner[ERROR] /scratch/jenkins/workspace/ZZZZ_COBERTURA_activemq/activemq-leveldb-store/src/test/scala/org/apache/activemq/leveldb/test/LevelDBPlistTest.java:[25,8] duplicate class: org.apache.activemq.leveldb.test.LevelDBPlistTest[ERROR] /scratch/jenkins/workspace/ZZZZ_COBERTURA_activemq/activemq-leveldb-store/src/test/scala/org/apache/activemq/leveldb/test/PListTest.java:[37,8] duplicate class: org.apache.activemq.leveldb.test.PListTest[ERROR] -> [Help 1] --- *G. Ann CAMPBELL* | SonarSource Product Owner http://sonarsource.com On Fri, Oct 30, 2015 at 6:33 AM, Christopher Shannon < [email protected]> wrote: > Would it be possible to use try a more recent version of Maven? The parent > pom defines a prerequisite of at least Maven 3.1.1. I've never had any > problems building using Maven 3.2.x or Maven 3.3.x so I'm wondering if the > Maven version is the issue. > > On Thu, Oct 29, 2015 at 11:24 AM, G. Ann Campbell < > [email protected]> wrote: > > > Any other insight on this? > > > > Again, here's my checkout/build: > > > > > git rev-parse origin/master^{commit} > > Checking out Revision 4d73b089230e40c003d16dbf2f3171f1e8bf07f1 > > (origin/master) > > > git config core.sparsecheckout > > > git checkout -f 4d73b089230e40c003d16dbf2f3171f1e8bf07f1 > > > git rev-list 4d73b089230e40c003d16dbf2f3171f1e8bf07f1 > > [ZZZZ_COBERTURA_activemq] $ /opt/maven/apache-maven-3.0.4/bin/mvn > > clean install cobertura:cobertura -Dcobertura.report.format=xml > > -Dmaven.test.failure.ignore=true -V -Dcheckstyle.skip=true > > -Dpmd.skip=true -B -e -U -P slow-tests -fae > > > > > > And here's how it ends: > > > > [INFO] Reactor Summary: > > [INFO] > > [INFO] ActiveMQ .......................................... SUCCESS > [8.095s] > > [INFO] ActiveMQ :: Openwire Generator .................... SUCCESS > > [11.138s] > > [INFO] ActiveMQ :: Client ................................ SUCCESS > > [2:45.067s] > > [INFO] ActiveMQ :: Openwire Legacy Support ............... SUCCESS > > [16.027s] > > [INFO] ActiveMQ :: JAAS .................................. SUCCESS > > [1:44.030s] > > [INFO] ActiveMQ :: Broker ................................ SUCCESS > > [2:03.076s] > > [INFO] ActiveMQ :: KahaDB Store .......................... SUCCESS > > [4:00.902s] > > [INFO] ActiveMQ :: STOMP Protocol ........................ SUCCESS > > [28:59.803s] > > [INFO] ActiveMQ :: MQTT Protocol ......................... SUCCESS > > [33:12.207s] > > [INFO] ActiveMQ :: JDBC Store ............................ SUCCESS > > [10.056s] > > [INFO] ActiveMQ :: LevelDB Store ......................... FAILURE > > [14:59.372s] > > [INFO] ActiveMQ :: Generic JMS Pool ...................... SUCCESS > > [54.070s] > > [INFO] ActiveMQ :: Pool .................................. SUCCESS > [9.868s] > > [INFO] ActiveMQ :: RA .................................... SUCCESS > > [3:44.562s] > > [INFO] ActiveMQ :: Spring ................................ SKIPPED > > [INFO] ActiveMQ :: AMQP .................................. SKIPPED > > [INFO] ActiveMQ :: Console ............................... SUCCESS > > [34.888s] > > [INFO] ActiveMQ :: Partition Management .................. SKIPPED > > [INFO] ActiveMQ :: Unit Tests ............................ SKIPPED > > [INFO] ActiveMQ :: Camel ................................. SKIPPED > > [INFO] ActiveMQ :: HTTP Protocol Support ................. SKIPPED > > [INFO] ActiveMQ :: All JAR bundle ........................ SKIPPED > > [INFO] ActiveMQ :: File Server ........................... SKIPPED > > [INFO] ActiveMQ :: Log4j Appender ........................ SUCCESS > [7.846s] > > [INFO] ActiveMQ :: Apache Karaf .......................... SKIPPED > > [INFO] ActiveMQ :: RAR ................................... SKIPPED > > [INFO] ActiveMQ :: Run Jar ............................... SUCCESS > [2.210s] > > [INFO] ActiveMQ :: Shiro ................................. SKIPPED > > [INFO] ActiveMQ :: Runtime Configuration ................. SKIPPED > > [INFO] ActiveMQ :: Tooling ............................... SUCCESS > [0.041s] > > [INFO] ActiveMQ :: Memory Usage Test Plugin .............. SUCCESS > > [15.684s] > > [INFO] ActiveMQ :: Performance Test Plugin ............... SKIPPED > > [INFO] ActiveMQ :: StartUp/Stop Plugin ................... SKIPPED > > [INFO] ActiveMQ :: Web ................................... SKIPPED > > [INFO] ActiveMQ :: OSGi bundle ........................... SKIPPED > > [INFO] ActiveMQ :: Blueprint ............................. SUCCESS > [1.431s] > > [INFO] ActiveMQ :: Web Demo .............................. SKIPPED > > [INFO] ActiveMQ :: Web Console ........................... SKIPPED > > [INFO] ActiveMQ :: Karaf Integration Tests ............... SKIPPED > > [INFO] ActiveMQ :: Integration Test :: Spring 3.1 ........ SKIPPED > > [INFO] ActiveMQ :: Assembly .............................. SKIPPED > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] BUILD FAILURE > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Total time: 1:34:27.004s > > [INFO] Finished at: Thu Oct 29 15:01:33 CET 2015 > > [INFO] Final Memory: 82M/495M > > [INFO] > > > ------------------------------------------------------------------------[WARNING] > > The requested profile "slow-tests" could not be activated because it > > does not exist.[ERROR] Failed to execute goal > > org.apache.maven.plugins:maven-compiler-plugin:3.3:testCompile > > (default-testCompile) on project activemq-leveldb-store: Compilation > > failure: Compilation failure:[ERROR] > > > > > /scratch/jenkins/workspace/ZZZZ_COBERTURA_activemq/activemq-leveldb-store/src/test/scala/org/apache/activemq/leveldb/dfs/IndexManifestDTO.java:[32,8] > > duplicate class: > > org.apache.activemq.leveldb.dfs.IndexManifestDTO[ERROR] > > > > > /scratch/jenkins/workspace/ZZZZ_COBERTURA_activemq/activemq-leveldb-store/src/test/scala/org/apache/activemq/leveldb/test/IDERunner.java:[24,8] > > duplicate class: org.apache.activemq.leveldb.test.IDERunner[ERROR] > > > > > /scratch/jenkins/workspace/ZZZZ_COBERTURA_activemq/activemq-leveldb-store/src/test/scala/org/apache/activemq/leveldb/test/LevelDBPlistTest.java:[25,8] > > duplicate class: > > org.apache.activemq.leveldb.test.LevelDBPlistTest[ERROR] > > > > > /scratch/jenkins/workspace/ZZZZ_COBERTURA_activemq/activemq-leveldb-store/src/test/scala/org/apache/activemq/leveldb/test/PListTest.java:[37,8] > > duplicate class: org.apache.activemq.leveldb.test.PListTest[ERROR] -> > > [Help 1] > > > > > > > > --- > > *G. Ann CAMPBELL* | SonarSource > > Product Owner > > http://sonarsource.com > > >
