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

Tilman Hausherr edited comment on PDFBOX-3584 at 6/6/17 3:33 PM:
-----------------------------------------------------------------

Add this to the parent pom:
{code}
<profile>
    <id>jdk9</id>
    <properties>
        <addmod>--add-modules java.activation --add-modules 
java.xml.bind</addmod>
    </properties>
</profile>
{code}

Add/merge
{code}
<argLine>${addmod}</argLine>
{code}
at various places in the pom.xml files of xmpbox, pdfbox-examples und preflight.

Call mvn with {{-Pjdk9}} to enable this.


was (Author: tilman):
Changes needed in pom.xml files:

preflight pom:
{code}
<argLine>--Xmx768m -add-modules java.activation --add-modules 
java.xml.bind</argLine>
{code}


xmpbox pom:
{code}
            <plugin>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    <argLine>-add-modules java.xml.bind</argLine>
                </configuration>
            </plugin>
{code}


> Build and test PDFBox with JDK9
> -------------------------------
>
>                 Key: PDFBOX-3584
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3584
>             Project: PDFBox
>          Issue Type: Task
>            Reporter: Tilman Hausherr
>              Labels: jdk9
>         Attachments: gs-bugzilla695582-transparency-fill-stroke.pdf
>
>
> Issue to collect problems and solutions for building and testing PDFBox with 
> JDK9.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to