https://bz.apache.org/bugzilla/show_bug.cgi?id=66951

            Bug ID: 66951
           Summary: ant-launcher 1.10.13 is a breaks JPMS because it
                    contains 'allow.class' in the root
           Product: Ant
           Version: 1.10.13
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Core
          Assignee: notifications@ant.apache.org
          Reporter: garydgreg...@gmail.com
  Target Milestone: ---

The ant-launcher 1.10.13 is a breaks JPMS because it contains 'allow.class' in
the root, which you can see in:

- the POI issue and https://bz.apache.org/bugzilla/show_bug.cgi?id=66828

- running a Maven build with the Moditect plugin:

[ERROR] Failed to execute goal
org.moditect:moditect-maven-plugin:1.0.0.Final:add-module-info
(add-module-infos) on project commons-build-plugin: Execution add-module-infos
of goal org.moditect:moditect-maven-plugin:1.0.0.Final:add-module-info failed:
Unable to derive module descriptor for
/Users/garydgregory/.m2/repository/org/apache/ant/ant-launcher/1.10.13/ant-launcher-1.10.13.jar:
allow.class found in top-level directory (unnamed package not allowed in
module) -> [Help 1]

git clone https://gitbox.apache.org/repos/asf/commons-build-plugin.git
git checkout 4bb8429c7232bf7b75f7d8f338d4f78032a6218f
mvn clean install

The only workaround is to revert to 1.10.12

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to