Am 02.03.2020 um 18:19 schrieb Philippe Fisher:
org.apache.maven.plugins:maven-compiler-plugin:3.6.0:compile
(default-compile) on project fontbox: Compilation failure -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to


Try changing the parent pom.xml (PDFBox reactor\parent\pom.xml), search for the 2nd "maven-compiler-plugin" and try changing the details there.


            <plugin>
<artifactId>maven-compiler-plugin</artifactId>
                <!-- fails with maven 3.6.0 on jdk 6, works with 3.2.1, 3.5.0 and 3.5.2 -->
                <configuration>
<showDeprecation>true</showDeprecation>
                    <target>1.6</target>
                    <source>1.6</source>
                    <encoding>UTF-8</encoding>
                    <!-- https://maven.apache.org/plugins/maven-compiler-plugin/examples/compile-using-different-jdk.html -->
<executable>${jdk.path}/bin/javac</executable>
                    <fork>true</fork>
                    <!-- enable these when getting CompilationFailureException without explanation: -->
                    <compilerArgs>
                        <arg>-verbose</arg>
                        <arg>-J-Xmx1g</arg>
                        <arg>-J-XX:PermSize=256m</arg>
<arg>-J-XX:MaxPermSize=512m</arg>
                    </compilerArgs>
                </configuration>
            </plugin>

try changing it to this


            <plugin>
<artifactId>maven-compiler-plugin</artifactId>
                <configuration>
<showDeprecation>true</showDeprecation>
                    <target>1.6</target>
                    <source>1.6</source>
                    <encoding>UTF-8</encoding>
                </configuration>
            </plugin>

Tilman


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

Reply via email to