bbottema / outlook-message-parser

A Java parser for Outlook messages (.msg files)
76 stars 35 forks source link

build error #29

Closed f1-outsourcing closed 4 years ago

f1-outsourcing commented 4 years ago

I am getting this error with mvn compile


Downloaded: https://repo.maven.apache.org/maven2/org/ow2/asm/asm-analysis/6.0/asm-analysis-6.0.jar (31 KB at 891.0 KB/sec)
Downloaded: https://repo.maven.apache.org/maven2/org/ow2/asm/asm-util/6.0/asm-util-6.0.jar (70 KB at 1738.8 KB/sec)
Downloaded: https://repo.maven.apache.org/maven2/org/jacoco/org.jacoco.report/0.8.1/org.jacoco.report-0.8.1.jar (126 KB at 2910.6 KB/sec)
Downloaded: https://repo.maven.apache.org/maven2/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar (1185 KB at 2686.0 KB/sec)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18.615s
[INFO] Finished at: Sun May 03 14:23:31 CEST 2020
[INFO] Final Memory: 16M/38M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.jacoco:jacoco-maven-plugin:0.8.1:prepare-agent (default-prepare-agent) on project outlook-message-parser: Unable to parse configuration of mojo org.jacoco:jacoco-maven-plugin:0.8.1:prepare-agent for parameter excludes: Cannot assign configuration entry 'excludes' with value '*' of type java.lang.String to property of type java.util.List -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginConfigurationException
bbottema commented 4 years ago

Which JDK are you using? I know there are some issues with JDK's higher than 1.8

f1-outsourcing commented 4 years ago

on centos7 java-1.8.0-openjdk-devel-1.8.0.242.b08-0.el7_7.x86_64 java-1.8.0-openjdk-1.8.0.242.b08-0.el7_7.x86_64

f1-outsourcing commented 4 years ago

Should I run jdk from Oracle?

bbottema commented 4 years ago

Have you tried?

f1-outsourcing commented 4 years ago

No, otherwise I would not be asking ;)

bbottema commented 4 years ago

Then maybe you should try it... I have not run a suite of tests to see which compilers work properly for this project. All I can tell you that it works on my machine and in the delivery pipeline with CircleCI.

Apache Maven 3.6.0 Java version: 1.8.0_241, vendor: Oracle Corporation