[Bug 65183] New: Dependency on batik-all causes JPMS errors with OOXML artifact

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 65183] New: Dependency on batik-all causes JPMS errors with OOXML artifact

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=65183

            Bug ID: 65183
           Summary: Dependency on batik-all causes JPMS errors with OOXML
                    artifact
           Product: POI
           Version: 5.0.x-dev
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XWPF
          Assignee: [hidden email]
          Reporter: [hidden email]
  Target Milestone: ---

Using a build of the 5.+ OOXML artifact in an application built with the Gradle
modularity plugin, build-time errors report "error: the unnamed module reads
package org.apache.batik.transcoder from both batik.transcoder and batik.all
"

Batik-all is a strange artifact. It's POM declares dependencies on all the
sub-JARs, but its JAR has all of the sub-jars repackaged. This results in two
JARs with the package "org.apache.batik.transcoder". And since Batik doesn't do
any module naming, a conflict occurs.

I think the right answer here is to change the POI OOXML POM to use more
specific Batik dependencies, not batik-all. The Ant build already specifies all
of the individual JARs and doesn't use batik-all, so it likely doesn't exhibit
this behavior.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 65183] Dependency on batik-all causes JPMS errors with OOXML artifact

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=65183

--- Comment #1 from [hidden email] ---
Fix at https://github.com/apache/poi/pull/230

Just checking for all tests to run.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 65183] Dependency on batik-all causes JPMS errors with OOXML artifact

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=65183

--- Comment #2 from [hidden email] ---
Additional user reports in https://issues.apache.org/jira/browse/BATIK-1299

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 65183] Dependency on batik-all causes JPMS errors with OOXML artifact

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=65183

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #3 from [hidden email] ---
Fixed in r1887642

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]