Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.7.2.Release
-
Component/s: Maven integration
-
Labels:None
-
Number of attachments :
Description
As part of a tycho build, I'm trying to build some groovy code. The compilation fails with the exception pasted below.
Please find attached a simple project allowing to reproduce the problem.
[DEBUG] Source roots:
[DEBUG] /Users/pascal/dev/tycho-tutorial/net.rapicault.tychotut.simpleGroovyProject/src
[INFO] Using Groovy-Eclipse compiler to compile both Java and Groovy files
[INFO] Compiling 1 source file to /Users/pascal/dev/tycho-tutorial/net.rapicault.tychotut.simpleGroovyProject/target/classes
[INFO] Classpath: /Users/pascal/dev/tycho-tutorial/net.rapicault.tychotut.simpleGroovyProject/target/classes:
[INFO] All args: [-cp, /Users/pascal/dev/tycho-tutorial/net.rapicault.tychotut.simpleGroovyProject/target/classes:, -d, /Users/pascal/dev/tycho-tutorial/net.rapicault.tychotut.simpleGroovyProject/target/classes, -g, -source, 1.6, -target, 1.6, -nowarn, -verbose]
Unrecognized option : -org.osgi.framework.system.packages
[INFO] Compilation complete. Compiled 0 files.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13.663s
[INFO] Finished at: Wed Mar 28 22:28:50 EDT 2012
[INFO] Final Memory: 60M/118M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.14.1:compile (default-compile) on project net.rapicault.tychotut.simpleGroovyProject: Compilation failure: Compilation failure:
[ERROR] Found 0 errors and 0 warnings.
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.14.1:compile (default-compile) on project net.rapicault.tychotut.simpleGroovyProject: Compilation failure
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)