Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Not A Problem
-
None
-
None
-
None
-
None
-
java -version
openjdk version "14" 2020-03-17
OpenJDK Runtime Environment AdoptOpenJDK (build 14+36)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 14+36, mixed mode, sharing)
Description
I am still facing an issue using groovy eclipse compiler.
java -version openjdk version "14" 2020-03-17 OpenJDK Runtime Environment AdoptOpenJDK (build 14+36) OpenJDK 64-Bit Server VM AdoptOpenJDK (build 14+36, mixed mode, sharing)
<properties> <java.version>14</java.version> </properties>
<dependency> <groupId>org.codehaus.groovy</groupId> <artifactId>groovy-all</artifactId> <version>3.0.3</version> <type>pom</type> </dependency>
<plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.1</version> <configuration> <compilerId>groovy-eclipse-compiler</compilerId> <source>14</source> <target>14</target> </configuration> <dependencies> <dependency> <groupId>org.codehaus.groovy</groupId> <artifactId>groovy-eclipse-compiler</artifactId> <version>3.6.0-03</version> </dependency> <dependency> <groupId>org.codehaus.groovy</groupId> <artifactId>groovy-eclipse-batch</artifactId> <version>3.0.3-01</version> </dependency> </dependencies> </plugin>
--- maven-compiler-plugin:3.8.1:compile (default-compile) @ smoke-test --- [INFO] Changes detected - recompiling the module! [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! [INFO] Using Groovy-Eclipse compiler to compile both Java and Groovy files [INFO] source level should be in '1.1'...'1.8','9'...'11' (or '5.0'..'11.0'): 14 [INFO] Found 0 errors and 0 warnings. [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.733 s [INFO] Finished at: 2020-04-23T18:58:21-04:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project XXXXX: Compilation failure -> [Help 1]
It is not able to identify source for java 14
Attachments
Issue Links
- relates to
-
GROOVY-9211 BUG! UNCAUGHT EXCEPTION on OpenJDK14-ea+8
- Closed