[
https://issues.apache.org/jira/browse/PDFBOX-841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Pieber updated PDFBOX-841:
----------------------------------
Attachment: osgiImportProblem.patch
Ok, the simplest solution to the problem is to ignore the junit references
(these are not required at runtime) and make the logging implementations as
well as the javax packages optional. This will still build a package which runs
from the command line but fixes some nasty import problems in a typical osgi
environment
> [pdfbox-app] maven-bundle-configuration problem
> -----------------------------------------------
>
> Key: PDFBOX-841
> URL: https://issues.apache.org/jira/browse/PDFBOX-841
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 1.2.1, 1.3.0
> Reporter: Andreas Pieber
> Attachments: osgiImportProblem.patch
>
>
> The problem with the current maven-bundle-plugin setting of the pdfbox-app
> plugin is that, junit and the commons logging log framework implementations
> are required. In addition many javax packages are imported which are not
> requierd.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.