Skip to content

Commit 18d07b6

Browse files
committed
moditect-maven-plugin fails on Java 11 and Windows
Error: Failed to execute goal org.moditect:moditect-maven-plugin:1.0.0.RC2:add-module-info (add-module-infos) on project commons-io: Execution add-module-infos of goal org.moditect:moditect-maven-plugin:1.0.0.RC2:add-module-info failed: Couldn't add module-info.class to JAR: D:\a\commons-io\commons-io\target\commons-io-2.12.0-SNAPSHOT.jar: The process cannot access the file because it is being used by another process. -> [Help 1]
1 parent 51894eb commit 18d07b6

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

pom.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,11 @@ file comparators, endian transformation classes, and much more.
567567
<profile>
568568
<id>java9+</id>
569569
<activation>
570-
<jdk>[9,)</jdk>
570+
<!--
571+
Fails on Java 11 and Windows:
572+
Error: Failed to execute goal org.moditect:moditect-maven-plugin:1.0.0.RC2:add-module-info (add-module-infos) on project commons-io: Execution add-module-infos of goal org.moditect:moditect-maven-plugin:1.0.0.RC2:add-module-info failed: Couldn't add module-info.class to JAR: D:\a\commons-io\commons-io\target\commons-io-2.12.0-SNAPSHOT.jar: The process cannot access the file because it is being used by another process. -> [Help 1]
573+
-->
574+
<jdk>[9,11)</jdk>
571575
</activation>
572576
<properties>
573577
<!-- coverall version 4.3.0 does not work with java 9, see https://github.com/trautonen/coveralls-maven-plugin/issues/112 -->

0 commit comments

Comments
 (0)