From 414979f36b521d7ea2d13676384516b612cc40eb Mon Sep 17 00:00:00 2001 From: Martin Tzvetanov Grigorov Date: Fri, 3 Sep 2021 11:35:51 +0300 Subject: [PATCH 1/3] IO-747 Make commons-io a proper JPMS module --- pom.xml | 38 ++++++++++++++++++++++++++++++++++++++ src/changes/changes.xml | 3 +++ 2 files changed, 41 insertions(+) diff --git a/pom.xml b/pom.xml index b7df7de93d6..67b7ac11a41 100644 --- a/pom.xml +++ b/pom.xml @@ -235,6 +235,10 @@ file comparators, endian transformation classes, and much more. Frank W. Zammetti + + Martin Grigorov + mgrigorov@apache.org + @@ -342,6 +346,8 @@ file comparators, endian transformation classes, and much more. true Gary Gregory 86fdc7e2a11262cb + 1.0.0.RC1 + true @@ -483,6 +489,30 @@ file comparators, endian transformation classes, and much more. com.github.siom79.japicmp japicmp-maven-plugin + + org.moditect + moditect-maven-plugin + ${moditect-maven-plugin.version} + + + add-module-infos + package + + add-module-info + + + 9 + ${project.build.directory} + true + + + commons.io + + + + + + @@ -600,5 +630,13 @@ file comparators, endian transformation classes, and much more. + + release + + + false + 8 + + diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 2f285a1ccd3..d2a449fa98b 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -203,6 +203,9 @@ The type attribute can be add,update,fix,remove. Bump jmh.version from 1.32 to 1.33 #258. + + IO-747 Make commons-io a JPMS module by adding module-info.class. + From 7854f800f471ba4752052ead4ea02f0d73c786ec Mon Sep 17 00:00:00 2001 From: Martin Tzvetanov Grigorov Date: Mon, 13 Sep 2021 09:16:21 +0300 Subject: [PATCH 2/3] IO-747 Change the name of the JPMS module --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 67b7ac11a41..32702b721fd 100644 --- a/pom.xml +++ b/pom.xml @@ -506,7 +506,7 @@ file comparators, endian transformation classes, and much more. true - commons.io + org.apache.commons.io From 6c97a6d2621009426156a17ffdf248ec74d630bf Mon Sep 17 00:00:00 2001 From: Martin Tzvetanov Grigorov Date: Tue, 14 Sep 2021 09:47:26 +0300 Subject: [PATCH 3/3] IO-747 Enable moditect plugin when building with Java 9+ Enforce that Java 9+ is being used for releases Suggested-by: Jochen Wiedmann at https://github.com/apache/commons-io/pull/268/files#r707160987 --- pom.xml | 92 ++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 58 insertions(+), 34 deletions(-) diff --git a/pom.xml b/pom.xml index 32702b721fd..15bb0578cbb 100644 --- a/pom.xml +++ b/pom.xml @@ -338,16 +338,16 @@ file comparators, endian transformation classes, and much more. 0.8.7 3.0.0-M5 0.15.3 + 3.0.0 + 1.0.0.RC1 4.3.0 4.4.1 - 1.33 + 1.33 false ${env.JACOCO_SKIP} true - Gary Gregory + Gary Gregory 86fdc7e2a11262cb - 1.0.0.RC1 - true @@ -389,7 +389,7 @@ file comparators, endian transformation classes, and much more. org.apache.maven.plugins maven-enforcer-plugin - 3.0.0 + ${commons.enforcer.version} enforce-maven @@ -489,30 +489,6 @@ file comparators, endian transformation classes, and much more. com.github.siom79.japicmp japicmp-maven-plugin - - org.moditect - moditect-maven-plugin - ${moditect-maven-plugin.version} - - - add-module-infos - package - - add-module-info - - - 9 - ${project.build.directory} - true - - - org.apache.commons.io - - - - - - @@ -589,7 +565,36 @@ file comparators, endian transformation classes, and much more. true + 8 + + + + org.moditect + moditect-maven-plugin + ${commons.moditect.version} + + + add-module-infos + package + + add-module-info + + + 9 + ${project.build.directory} + true + + + org.apache.commons.io + + + + + + + + benchmark @@ -632,11 +637,30 @@ file comparators, endian transformation classes, and much more. release - - - false - 8 - + + + + org.apache.maven.plugins + maven-enforcer-plugin + ${commons.enforcer.version} + + + enforce-versions + + enforce + + + + + 9 + + + + + + + +