Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

clover does not work with groovy-eclipse-batch > 2.4.3-01

Mark Thomas May 4, 2018

Hi

If I use groovy.eclipse.batch > 2.4.3-01 then I get compilation errors when executing:

>mvn clean org.openclover:clover-maven-plugin:4.2.1:setup verify org.openclover:clover-maven-plugin:4.2.1:aggregate org.openclover:clover-maven-plugin:4.2.1:clover

 

pom.xml:

<maven.compiler.plugin>3.7.0</maven.compiler.plugin>
<maven.surefire.plugin>2.21.0</maven.surefire.plugin>
<groovy.eclipse.batch>2.4.3-01</groovy.eclipse.batch>
<groovy.eclipse.compiler>2.9.3-01</groovy.eclipse.compiler>

<
build>
<sourceDirectory>src/main/groovy</sourceDirectory>
<testSourceDirectory>src/test/groovy</testSourceDirectory>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring.boot.version}</version>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.plugin}</version>
<configuration>
<compilerId>groovy-eclipse-compiler</compilerId>
</configuration>
<dependencies>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-eclipse-compiler</artifactId>
<version>${groovy.eclipse.compiler}</version>
</dependency>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-eclipse-batch</artifactId>
<version>${groovy.eclipse.batch}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-eclipse-compiler</artifactId>
<version>${groovy.eclipse.compiler}</version>
<extensions>true</extensions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.plugin}</version>
<configuration>
<includes>
<include>**/*Spec.java</include>
</includes>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>

 Thanks

Mark

1 answer

0 votes
Marek Parfianowicz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 16, 2019

What compilation errors do you see exactly?

What is your environment (OS, Maven, Java version)? 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events