Hi, I've been playing around with developer previews of JDK 8 lately and I just realized that LANG does not build with JDK 8. This may not be super critical but I thought better to be aware of this early instead of being caught off guard.
Here is some info about my system and the complete log of mvn clean test: localhost:lang bene$ java -version java version "1.8.0-ea" Java(TM) SE Runtime Environment (build 1.8.0-ea-b102) Java HotSpot(TM) 64-Bit Server VM (build 25.0-b44, mixed mode) localhost:lang bene$ mvn -version Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 14:51:28+0100) Maven home: /Applications/dev/maven/apache-maven-3.0.5 Java version: 1.8.0-ea, vendor: Oracle Corporation Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/jre Default locale: de_DE, platform encoding: UTF-8 OS name: "mac os x", version: "10.8.4", arch: "x86_64", family: "mac" localhost:lang bene$ mvn clean test [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Commons Lang 3.2-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ commons-lang3 --- [INFO] Deleting /Users/bene/workspace/apache/commons/lang/target [INFO] [INFO] --- maven-antrun-plugin:1.7:run (javadoc.resources) @ commons-lang3 --- [INFO] Executing tasks main: [copy] Copying 2 files to /Users/bene/workspace/apache/commons/lang/target/apidocs/META-INF [INFO] Executed tasks [INFO] [INFO] --- maven-remote-resources-plugin:1.4:process (default) @ commons-lang3 --- [INFO] [INFO] --- buildnumber-maven-plugin:1.2:create (default) @ commons-lang3 --- [INFO] Checking for local modifications: skipped. [INFO] Updating project files from SCM: skipped. [INFO] Executing: /bin/sh -c cd /Users/bene/workspace/apache/commons/lang && svn --non-interactive info [INFO] Working directory: /Users/bene/workspace/apache/commons/lang [INFO] Storing buildNumber: 1512811 at timestamp: 1376333311755 [INFO] Executing: /bin/sh -c cd /Users/bene/workspace/apache/commons/lang && svn --non-interactive info [INFO] Working directory: /Users/bene/workspace/apache/commons/lang [INFO] Storing buildScmBranch: trunk [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ commons-lang3 --- [INFO] Using 'ISO-8859-1' encoding to copy filtered resources. [INFO] Copying 0 resource [INFO] Copying 2 resources to META-INF [INFO] [INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ commons-lang3 --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 108 source files to /Users/bene/workspace/apache/commons/lang/target/classes [INFO] [INFO] --- maven-bundle-plugin:2.3.7:manifest (bundle-manifest) @ commons-lang3 --- [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ commons-lang3 --- [INFO] Using 'ISO-8859-1' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] Copying 2 resources to META-INF [INFO] [INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ commons-lang3 --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 129 source files to /Users/bene/workspace/apache/commons/lang/target/test-classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /Users/bene/workspace/apache/commons/lang/src/test/java/org/apache/commons/lang3/reflect/TypeUtilsTest.java:[530,47] incompatible types: inferred type does not conform to upper bound(s) inferred: G upper bound(s): java.lang.Comparable<G>,java.lang.Integer [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7.467s [INFO] Finished at: Mon Aug 12 20:48:38 CEST 2013 [INFO] Final Memory: 28M/446M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:testCompile (default-testCompile) on project commons-lang3: Compilation failure [ERROR] /Users/bene/workspace/apache/commons/lang/src/test/java/org/apache/commons/lang3/reflect/TypeUtilsTest.java:[530,47] incompatible types: inferred type does not conform to upper bound(s) [ERROR] inferred: G [ERROR] upper bound(s): java.lang.Comparable<G>,java.lang.Integer [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 Benedikt -- http://people.apache.org/~britter/ http://www.systemoutprintln.de/ http://twitter.com/BenediktRitter http://github.com/britter