You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (Jira)" <ji...@apache.org> on 2022/05/29 10:33:00 UTC

[jira] [Commented] (PDFBOX-5446) Split package org.apache.pdfbox.io

    [ https://issues.apache.org/jira/browse/PDFBOX-5446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17543613#comment-17543613 ] 

Andreas Lehmkühler commented on PDFBOX-5446:
--------------------------------------------

Thanks  [~axh]. I wasn't aware of this restriction. 

However, I didn't forget to move those classes to the new package but left them there intentionally. The implementation isn't generic but pdfbox specific. It is used to store the data of new COSStreams. For now I'm thinking about moving them to another package instead of the new module.

> Split package org.apache.pdfbox.io
> ----------------------------------
>
>                 Key: PDFBOX-5446
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5446
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 3.0.0 PDFBox
>            Reporter: Axel Howind
>            Priority: Major
>
> Recently a new Maven module 'io' has been created to remove duplicated code. This module contains the package 'org.apache.pdfbox.io'. However, the 'pdfbox' module also contains classes in the same package. This makes it impossible to use pdfbox in a modularized (Jigsaw) project since it is forbidden to have packages split between different modules and produces the following error:
> {noformat}
> the unnamed module reads package org.apache.pdfbox.io from both org.apache.pdfbox and org.apache.pdfbox.io
> {noformat}
> The remaining classes in said üackage should also be moved to the new 'io' module to solve this.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org