[
https://issues.apache.org/jira/browse/PDFBOX-1097?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guillaume Bailleul closed PDFBOX-1097.
--------------------------------------
Resolution: Fixed
done in r1158532
> Classes from generated sources are not included in preflight jar
> ----------------------------------------------------------------
>
> Key: PDFBOX-1097
> URL: https://issues.apache.org/jira/browse/PDFBOX-1097
> Project: PDFBox
> Issue Type: Bug
> Components: Preflight
> Reporter: Guillaume Bailleul
> Assignee: Guillaume Bailleul
> Priority: Minor
> Fix For: 1.7.0
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> classes generated from javacc are not in the simple jar due to default
> behaviour of maven-bundle-plugin
> package should be added in pom configuration
> jar-with-dependencies contains all because it is generated with
> maven-assembly-plugin
> --- preflight/pom.xml (revision 1158520)
> +++ preflight/pom.xml (working copy)
> @@ -61,6 +61,11 @@
> <artifactId>maven-bundle-plugin</artifactId>
> <version>2.0.0</version>
> <extensions>true</extensions>
> + <configuration>
> + <instructions>
> +
> <Export-Package>org.apache.padaf.preflight.javacc|org.apache.padaf.preflight.javacc.*</Export-Package>
> + </instructions>
> + </configuration>
> </plugin>
> <plugin>
> <artifactId>maven-assembly-plugin</artifactId>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira