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

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

The 3 subpackages fontbox, pdfbox and xmpbox are using the maven packagetype 
"bundle" which triggers the m,aven-bundel-plugin and the 
{{Automatic-Module-Name}} is defined for the maven-jar-plugin. For some reason 
this works with the 2.0 branch but is broken for the trunk. I've moved the 
configuration to the maven-bundle-plugin and now it should work

> module not visible in PDFBox 3.0 RC1 
> -------------------------------------
>
>                 Key: PDFBOX-5159
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5159
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 3.0.0 PDFBox
>         Environment: openjdk version "11.0.10" 2021-01-19
> OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.10+9)
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.10+9, mixed mode)
> macOS 11 (Big Sur) 11.2.3
>            Reporter: Axel Howind
>            Priority: Major
>         Attachments: issue.zip, pom.xml
>
>
> The module "org.apache.pdfbox" is not found when using the 3.0 RC1 build of 
> PDFbox.
>  
> Steps to reproduce:
>  1. unzip attached zip file
>  2. run `./gradlew build`(or use the batch version instead if on windows)
>  3. compilation fails with the following error
> > Task :compileJava FAILED
>  
> /Users/axel/Development/issues/pdfbox/modulenotfound/src/main/java/module-info.java:4:
>  *error: module not found: org.apache.pdfbox*
>  requires org.apache.pdfbox;
>  ^
>  1 error
> FAILURE: Build failed with an exception.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to