pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Bailleul (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PDFBOX-1097) Classes from generated sources are not included in preflight jar
Date Wed, 17 Aug 2011 05:56:27 GMT
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


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

        

Mime
View raw message