crash:AxonFramework crash$ mvn clean install Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=1024m; support was removed in 8.0 [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Axon Framework [INFO] Axon Framework core [INFO] Axon Framework Distributed CommandBus [INFO] Axon Framework Spring Support [INFO] Axon Framework Test Fixtures [INFO] Axon MongoDB Components [INFO] Axon AMQP [INFO] Axon Integration tests [INFO] Axon Metrics [INFO] Axon Quickstart [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Axon Framework 3.0-M3 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ axon --- [INFO] [INFO] --- maven-source-plugin:2.1.2:jar-no-fork (attach-sources) @ axon --- [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ axon --- [INFO] Installing /Users/crash/git/AxonFramework/pom.xml to /Users/crash/.m2/repository/org/axonframework/axon/3.0-M3/axon-3.0-M3.pom [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Axon Framework core 3.0-M3 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ axon-core --- [INFO] Deleting /Users/crash/git/AxonFramework/core/target [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-banned-dependencies) @ axon-core --- [INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ axon-core --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 7 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ axon-core --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 409 source files to /Users/crash/git/AxonFramework/core/target/classes [WARNING] /Users/crash/git/AxonFramework/core/src/main/java/org/axonframework/commandhandling/gateway/GatewayProxyFactory.java: /Users/crash/git/AxonFramework/core/src/main/java/org/axonframework/commandhandling/gateway/GatewayProxyFactory.java uses or overrides a deprecated API. [WARNING] /Users/crash/git/AxonFramework/core/src/main/java/org/axonframework/commandhandling/gateway/GatewayProxyFactory.java: Recompile with -Xlint:deprecation for details. [WARNING] /Users/crash/git/AxonFramework/core/src/main/java/org/axonframework/commandhandling/SimpleCommandBus.java: Some input files use unchecked or unsafe operations. [WARNING] /Users/crash/git/AxonFramework/core/src/main/java/org/axonframework/commandhandling/SimpleCommandBus.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-bundle-plugin:2.4.0:manifest (default) @ axon-core --- [INFO] [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ axon-core --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 12 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ axon-core --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 159 source files to /Users/crash/git/AxonFramework/core/target/test-classes [INFO] ------------------------------------------------------------- [WARNING] COMPILATION WARNING : [INFO] ------------------------------------------------------------- [WARNING] /Users/crash/git/AxonFramework/core/src/test/java/org/axonframework/eventhandling/async/AsynchronousEventProcessingStrategyTest.java: Some input files use unchecked or unsafe operations. [WARNING] /Users/crash/git/AxonFramework/core/src/test/java/org/axonframework/eventhandling/async/AsynchronousEventProcessingStrategyTest.java: Recompile with -Xlint:unchecked for details. [WARNING] Some messages have been simplified; recompile with -Xdiags:verbose to get full output [INFO] 3 warnings [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /Users/crash/git/AxonFramework/core/src/test/java/org/axonframework/eventhandling/async/AsynchronousEventProcessorConcurrencyTest.java:[47,73] incompatible types: bad return type in method reference ? cannot be converted to java.lang.Object [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Axon Framework ..................................... SUCCESS [ 0.853 s] [INFO] Axon Framework core ................................ FAILURE [ 19.719 s] [INFO] Axon Framework Distributed CommandBus .............. SKIPPED [INFO] Axon Framework Spring Support ...................... SKIPPED [INFO] Axon Framework Test Fixtures ....................... SKIPPED [INFO] Axon MongoDB Components ............................ SKIPPED [INFO] Axon AMQP .......................................... SKIPPED [INFO] Axon Integration tests ............................. SKIPPED [INFO] Axon Metrics ....................................... SKIPPED [INFO] Axon Quickstart .................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 22.413 s [INFO] Finished at: 2016-08-27T07:23:55+07:00 [INFO] Final Memory: 34M/835M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile (default-testCompile) on project axon-core: Compilation failure [ERROR] /Users/crash/git/AxonFramework/core/src/test/java/org/axonframework/eventhandling/async/AsynchronousEventProcessorConcurrencyTest.java:[47,73] incompatible types: bad return type in method reference [ERROR] ? cannot be converted to java.lang.Object [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 -rf :axon-core