AxonFramework / AxonFramework

Framework for Evolutionary Message-Driven Microservices on the JVM
https://axoniq.io/
Apache License 2.0
3.29k stars 784 forks source link

fresh clone of master branch does not compile tests: package org.apache.commons.collections.set does not exist #34

Closed spelbergit closed 12 years ago

spelbergit commented 12 years ago

Using:

Console output:

chris@chris:~/dev/axon/AxonFramework$ mvn clean install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] Axon Framework
[INFO] Axon Framework core
[INFO] Axon Framework Spring Integration Support
[INFO] Axon Framework Test Fixtures
[INFO] Axon Framework Distributed CommandBus
[INFO] Axon Integration tests
[INFO] Axon - MongoDB integration
[INFO] Axon - Google App Engine integration
[INFO] Spring Insight Plugin for the Axon Framework
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Axon Framework 2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ axon ---
[INFO] 
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ axon ---
[INFO] Installing /home/chris/dev/axon/AxonFramework/pom.xml to /home/chris/.m2/repository/org/axonframework/axon/2.0-SNAPSHOT/axon-2.0-SNAPSHOT.pom
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Axon Framework core 2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ axon-core ---
[INFO] Deleting /home/chris/dev/axon/AxonFramework/core/target
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ axon-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 6 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ axon-core ---
[INFO] Compiling 321 source files to /home/chris/dev/axon/AxonFramework/core/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ axon-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 22 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ axon-core ---
[INFO] Compiling 143 source files to /home/chris/dev/axon/AxonFramework/core/target/test-classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/chris/dev/axon/AxonFramework/core/src/test/java/org/axonframework/common/TestUtils.java:[19,41] package org.apache.commons.collections.set does not exist
[ERROR] /home/chris/dev/axon/AxonFramework/core/src/test/java/org/axonframework/saga/SagaManagerTest.java:[19,41] package org.apache.commons.collections.set does not exist
[ERROR] /home/chris/dev/axon/AxonFramework/core/src/test/java/org/axonframework/common/TestUtils.java:[31,15] cannot find symbol
symbol  : variable ListOrderedSet
location: class org.axonframework.common.TestUtils
[ERROR] /home/chris/dev/axon/AxonFramework/core/src/test/java/org/axonframework/saga/SagaManagerTest.java:[115,15] cannot find symbol
symbol  : variable ListOrderedSet
location: class org.axonframework.saga.SagaManagerTest
[INFO] 4 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Axon Framework .................................... SUCCESS [0.497s]
[INFO] Axon Framework core ............................... FAILURE [10.111s]
[INFO] Axon Framework Spring Integration Support ......... SKIPPED
[INFO] Axon Framework Test Fixtures ...................... SKIPPED
[INFO] Axon Framework Distributed CommandBus ............. SKIPPED
[INFO] Axon Integration tests ............................ SKIPPED
[INFO] Axon - MongoDB integration ........................ SKIPPED
[INFO] Axon - Google App Engine integration .............. SKIPPED
[INFO] Spring Insight Plugin for the Axon Framework ...... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.956s
[INFO] Finished at: Mon Feb 20 11:18:39 CET 2012
[INFO] Final Memory: 19M/157M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile (default-testCompile) on project axon-core: Compilation failure: Compilation failure:
[ERROR] /home/chris/dev/axon/AxonFramework/core/src/test/java/org/axonframework/common/TestUtils.java:[19,41] package org.apache.commons.collections.set does not exist
[ERROR] /home/chris/dev/axon/AxonFramework/core/src/test/java/org/axonframework/saga/SagaManagerTest.java:[19,41] package org.apache.commons.collections.set does not exist
[ERROR] /home/chris/dev/axon/AxonFramework/core/src/test/java/org/axonframework/common/TestUtils.java:[31,15] cannot find symbol
[ERROR] symbol  : variable ListOrderedSet
[ERROR] location: class org.axonframework.common.TestUtils
[ERROR] /home/chris/dev/axon/AxonFramework/core/src/test/java/org/axonframework/saga/SagaManagerTest.java:[115,15] cannot find symbol
[ERROR] symbol  : variable ListOrderedSet
[ERROR] location: class org.axonframework.saga.SagaManagerTest
[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 :axon-core
abuijze commented 12 years ago

Hi, the dependency should have been available as a transitive dependency. I did a clean checkout a little while ago, and it all seemed to work.

Anyway, I added an explicit dependency, which should solve your problem.

Cheers,

Allard