Problems compiling scripts (including @Grab annotation) with maven

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Problems compiling scripts (including @Grab annotation) with maven

"Gert Großmann"
I added following to the POM file
 
<dependencies>
  <dependency>
      <groupId>org.codehaus.groovy</groupId>
      <artifactId>groovy-all</artifactId>
      <version>2.2.0</version>
  </dependency>
 </dependencies>
 <plugins>
     <plugin>
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.1</version>
         <configuration>
             <compilerId>groovy-eclipse-compiler</compilerId>
         </configuration>
         <dependencies>
             <dependency>
                 <groupId>org.codehaus.groovy</groupId>
                 <artifactId>groovy-eclipse-compiler</artifactId>
                 <version>2.8.0-01</version>
             </dependency>
             <dependency>
                 <groupId>org.codehaus.groovy</groupId>
                 <artifactId>groovy-eclipse-batch</artifactId>
                 <version>2.1.8-01</version>
             </dependency>
         </dependencies>
     </plugin>
 </plugins>
 
 
[INFO] Using Groovy-Eclipse compiler to compile both Java and Groovy files
java.lang.RuntimeException: Transform groovy.grape.GrabAnnotationTransformation@4d24bd93 cannot be run
    at org.codehaus.groovy.transform.ASTTransformationVisitor$3.call(ASTTransformationVisitor.java:457)
    at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:1002)
    at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:633)
    at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:609)
    at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:586)
...
...
 
Has anybody a clue to this issue?
 
 
Regards, Gert
 

Diese E-Mail wurde aus dem Sicherheitsverbund E-Mail made in Germany versendet: http://web.de/e-mail-made-in-germany --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email