Re: Build failing - 2.0

2020-03-02 Thread Tilman Hausherr
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

Build failing - 2.0

2020-03-02 Thread Philippe Fisher
Hello, I am trying to build 2.0.18 with maven, but keep getting a compilation error for fontbox. running: mvn clean install -X [INFO] [INFO] Reactor Summary for PDFBox reactor 2.0.18: [INFO] [INFO] PDFBox parent

Re: Build failing - 2.0

2020-03-02 Thread Tilman Hausherr
Am 02.03.2020 um 21:55 schrieb Philippe Fisher: You think it might have to do with the -P apache-release,jdk9 we see in mvn -v output? Thanks Yeah, why are you doing this??? Or did mvn do this itself? The build should be done with "mvn install". Tilman

Re: Build failing - 2.0

2020-03-02 Thread Philippe Fisher
I think intelliJ maven plugin is adding that. Running maven from cmd I still get [ERROR] Tests run: 204, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.296 s <<< FAILURE! - in org.apache.pdfbox.preflight.TestIsartorBavaria [ERROR] validate[target\pdfs\Isartor testsuite\PDFA-1b\6.2

Re: Build failing - 2.0

2020-03-02 Thread Tilman Hausherr
Hi, This is all so weird... so I tried it myself. I got problems at the beginning, then it worked with this: cd /d set JAVA_HOME= set M2_HOME=C:\Program Files\Apache Software Foundation\apache-maven-3.6.3 "C:\Program Files\Apache Software Foundation\apache-maven-3.6.3\bin\mvn.cmd" install

Re: Build failing - 2.0

2020-03-02 Thread Philippe Fisher
Changing the parent pom.xml seems to have worked for fontbox to build, but now getting other error. [INFO] [INFO] Reactor Summary for PDFBox reactor 2.0.18: [INFO] [INFO] PDFBox parent

Re: Build failing - 2.0

2020-03-02 Thread Philippe Fisher
I removed the args for the surefire plugin in xmpbox pom.xml (PDFBox reactor\xmpbox\pom.xml) maven-surefire-plugin ${addmod}

Re: Build failing - 2.0

2020-03-02 Thread Tilman Hausherr
I'm surprised that it mentions fork altough fork is disabled. And that the java call includes "--add-modules java.activation --add-modules java.xml.bind", which is for jdk9 and 10 only. You mentioned you have jdk8. Either you have a different jdk, or this jdk claims to be jdk9 ?! Other things

Re: Build failing - 2.0

2020-03-02 Thread Tilman Hausherr
Am 02.03.2020 um 20:20 schrieb Philippe Fisher: I removed the args for the surefire plugin in xmpbox pom.xml (PDFBox reactor\xmpbox\pom.xml) maven-surefire-plugin