Skip to content

testCompile using groovy-eclipse-compiler fails with error about --patch-modules #987

@clarkperkins

Description

@clarkperkins

When I add a module-info.java file to my main source set, the testCompile mojo fails with this error:

[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ artifactid ---
[INFO] Changes detected - recompiling the module!
[INFO] Using Groovy-Eclipse compiler to compile both Java and Groovy files
[INFO] Unrecognized option : --patch-module
[INFO] Found 0 errors and 0 warnings.

I'm currently using javac for my main sources, and groovy-eclipse for my test sources.

Environment details:
java: 11.0.5
maven: 3.6.2
maven-compiler-plugin: 3.8.1
groovy-eclipse-compiler: 3.6.0-01
groovy-eclipse-batch: 2.5.8-02

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions