Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-4725

New uber jar modules fail with older maven versions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.Beta2
    • 7.0.0.Beta1
    • Build
    • None

      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

              ttarrant@redhat.com Tristan Tarrant
              ttarrant@redhat.com Tristan Tarrant
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: