]
Tristan Tarrant updated ISPN-4725:
----------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request:
New uber jar modules fail with older maven versions
---------------------------------------------------
Key: ISPN-4725
URL:
https://issues.jboss.org/browse/ISPN-4725
Project: Infinispan
Issue Type: Bug
Components: Build process
Reporter: Tristan Tarrant
Assignee: Tristan Tarrant
INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.0.2:testCompile (default-testCompile) on
project infinispan-embedded-it: Compilation failure: Compilation failure:
[ERROR]
/home/adrian/work/infinispan22222/infinispan/integrationtests/all-embedded-it/src/test/java/org/infinispan/all/embedded/EmbeddedAllTest.java:[3,7]
error: static import declarations are not supported in -source 1.3
[ERROR]
[ERROR] (use -source 5 or higher to enable static import declarations)
[ERROR]
/home/adrian/work/infinispan22222/infinispan/integrationtests/all-embedded-it/src/test/java/org/infinispan/all/embedded/EmbeddedAllTest.java:[9,1]
error: annotations are not supported in -source 1.3
[ERROR]
[ERROR] (use -source 5 or higher to enable annotations)
[ERROR]
/home/adrian/work/infinispan22222/infinispan/integrationtests/all-embedded-it/src/test/java/org/infinispan/all/embedded/EmbeddedAllTest.java:[14,11]
error: generics are not supported in -source 1.3
[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 :infinispan-embedded-it