You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/09/23 17:20:42 UTC
[commons-io] branch master updated: moditect-maven-plugin fails on Java 11 and Windows
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-io.git
The following commit(s) were added to refs/heads/master by this push:
new 18d07b67 moditect-maven-plugin fails on Java 11 and Windows
18d07b67 is described below
commit 18d07b67c376f7ac9f0d6affa0a667a1a7a67b03
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Sep 23 13:20:38 2022 -0400
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]
---
pom.xml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 42255956..0802a5f6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -567,7 +567,11 @@ file comparators, endian transformation classes, and much more.
<profile>
<id>java9+</id>
<activation>
- <jdk>[9,)</jdk>
+ <!--
+ 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]
+ -->
+ <jdk>[9,11)</jdk>
</activation>
<properties>
<!-- coverall version 4.3.0 does not work with java 9, see https://github.com/trautonen/coveralls-maven-plugin/issues/112 -->