See <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/26/display/redirect?page=changes>
Changes: [Andreas Beeker] #64716 - wmf display error - use FileMagic also for File-based input ------------------------------------------ [...truncated 827.81 KB...] [INFO] Changes detected - recompiling the module! [INFO] Compiling 4674 source files to <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml-schema/target/classes> [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ poi-ooxml-schema --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml-schema/src/test/resources> [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ poi-ooxml-schema --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M4:test (default-test) @ poi-ooxml-schema --- [INFO] No tests to run. [INFO] [INFO] --- jacoco-maven-plugin:0.8.5:report (report) @ poi-ooxml-schema --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- maven-antrun-plugin:1.8:run (remove-xmltypeloader-from-schema-jar) @ poi-ooxml-schema --- [INFO] Executing tasks main: [INFO] Executed tasks [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ poi-ooxml-schema --- [INFO] Building jar: <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml-schema/target/poi-ooxml-schema-5.0.0-SNAPSHOT.jar> [INFO] [INFO] -------------< org.apache.poi:poi-ooxml-schema-encryption >------------- [INFO] Building Apache POI - Openxmlformats Encryption Schema package 5.0.0-SNAPSHOT [5/10] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- jacoco-maven-plugin:0.8.5:prepare-agent (default) @ poi-ooxml-schema-encryption --- [INFO] argLine set to -javaagent:<https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/.repository/org/jacoco/org.jacoco.agent/0.8.5/org.jacoco.agent-0.8.5-runtime.jar=destfile=/home/jenkins/jenkins-agent/workspace/POI/POI-DSL-Maven/sonar/ooxml-schema-encryption/target/jacoco.exec> -Xmx1024m [INFO] [INFO] --- maven-antrun-plugin:1.8:run (copy-xmltype-and-xsdconfig) @ poi-ooxml-schema-encryption --- [INFO] Executing tasks main: [copy] Copying 5 files to <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml-schema-encryption/target/schemas> [INFO] Executed tasks [INFO] [INFO] --- maven-antrun-plugin:1.8:run (unzip-schema) @ poi-ooxml-schema-encryption --- [INFO] Executing tasks main: [copy] Copying 6 files to <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml-schema-encryption/target/schemas> [INFO] Executed tasks [INFO] [INFO] --- xmlbeans-maven-plugin:2.3.3:xmlbeans (default) @ poi-ooxml-schema-encryption --- [INFO] [INFO] --- maven-antrun-plugin:1.8:run (replace-xmltypeloader) @ poi-ooxml-schema-encryption --- [INFO] Executing tasks main: [INFO] Executed tasks [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ poi-ooxml-schema-encryption --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml-schema-encryption/src/main/resources> [INFO] Copying 270 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ poi-ooxml-schema-encryption --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 146 source files to <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml-schema-encryption/target/classes> [INFO] <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml-schema-encryption/target/generated-sources/xmlbeans/com/microsoft/schemas/office/x2006/keyEncryptor/password/STPasswordKeyEncryptorUri.java>: Some input files use or override a deprecated API. [INFO] <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml-schema-encryption/target/generated-sources/xmlbeans/com/microsoft/schemas/office/x2006/keyEncryptor/password/STPasswordKeyEncryptorUri.java>: Recompile with -Xlint:deprecation for details. [INFO] <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml-schema-encryption/target/generated-sources/xmlbeans/com/microsoft/schemas/office/x2006/keyEncryptor/password/STPasswordKeyEncryptorUri.java>: Some input files use unchecked or unsafe operations. [INFO] <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml-schema-encryption/target/generated-sources/xmlbeans/com/microsoft/schemas/office/x2006/keyEncryptor/password/STPasswordKeyEncryptorUri.java>: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ poi-ooxml-schema-encryption --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml-schema-encryption/src/test/resources> [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ poi-ooxml-schema-encryption --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M4:test (default-test) @ poi-ooxml-schema-encryption --- [INFO] No tests to run. [INFO] [INFO] --- jacoco-maven-plugin:0.8.5:report (report) @ poi-ooxml-schema-encryption --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- maven-antrun-plugin:1.8:run (remove-xmltypeloader-from-schema-jar) @ poi-ooxml-schema-encryption --- [INFO] Executing tasks main: [INFO] Executed tasks [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ poi-ooxml-schema-encryption --- [INFO] Building jar: <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml-schema-encryption/target/poi-ooxml-schema-encryption-5.0.0-SNAPSHOT.jar> [INFO] [INFO] --------------< org.apache.poi:poi-ooxml-schema-security >-------------- [INFO] Building Apache POI - Openxmlformats Security-Schema package 5.0.0-SNAPSHOT [6/10] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- jacoco-maven-plugin:0.8.5:prepare-agent (default) @ poi-ooxml-schema-security --- [INFO] argLine set to -javaagent:<https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/.repository/org/jacoco/org.jacoco.agent/0.8.5/org.jacoco.agent-0.8.5-runtime.jar=destfile=/home/jenkins/jenkins-agent/workspace/POI/POI-DSL-Maven/sonar/ooxml-schema-security/target/jacoco.exec> -Xmx1024m [INFO] [INFO] --- download-maven-plugin:1.5.0:wget (install-xsds-part-1) @ poi-ooxml-schema-security --- [INFO] Got from cache: <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/.repository/.cache/download-maven-plugin/Office%20Open%20XML%201st%20edition%20Part%202%20(PDF).zip_d0367b3dc06c9e966998793feba78b57> [INFO] [INFO] --- download-maven-plugin:1.5.0:wget (install-xsds-part-2) @ poi-ooxml-schema-security --- [INFO] Got from cache: <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/.repository/.cache/download-maven-plugin/xmldsig-core-schema.xsd_3d3790a93d80c6fb40cd68f5fd49f08d> [INFO] [INFO] --- maven-antrun-plugin:1.8:run (copy-xmltype-and-xsdconfig) @ poi-ooxml-schema-security --- [INFO] Executing tasks main: [copy] Copying 4 files to <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml-schema-security/target/schemas> [INFO] Executed tasks [INFO] [INFO] --- maven-antrun-plugin:1.8:run (unzip-schema) @ poi-ooxml-schema-security --- [INFO] Executing tasks main: [echo] unzip schemas [unzip] Expanding: <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml-schema-security/target/OpenPackagingConventions-XMLSchema.zip> into <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml-schema-security/target/schemas> [copy] Copying 3 files to <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml-schema-security/target/schemas> [INFO] Executed tasks [INFO] [INFO] --- xmlbeans-maven-plugin:2.3.3:xmlbeans (default) @ poi-ooxml-schema-security --- [INFO] [INFO] --- maven-antrun-plugin:1.8:run (replace-xmltypeloader) @ poi-ooxml-schema-security --- [INFO] Executing tasks main: [INFO] Executed tasks [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ poi-ooxml-schema-security --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml-schema-security/src/main/resources> [INFO] Copying 614 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ poi-ooxml-schema-security --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 340 source files to <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml-schema-security/target/classes> [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ poi-ooxml-schema-security --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml-schema-security/src/test/resources> [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ poi-ooxml-schema-security --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M4:test (default-test) @ poi-ooxml-schema-security --- [INFO] No tests to run. [INFO] [INFO] --- jacoco-maven-plugin:0.8.5:report (report) @ poi-ooxml-schema-security --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- maven-antrun-plugin:1.8:run (remove-xmltypeloader-from-schema-jar) @ poi-ooxml-schema-security --- [INFO] Executing tasks main: [INFO] Executed tasks [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ poi-ooxml-schema-security --- [INFO] Building jar: <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml-schema-security/target/poi-ooxml-schema-security-5.0.0-SNAPSHOT.jar> [INFO] [INFO] ----------------------< org.apache.poi:poi-ooxml >---------------------- [INFO] Building Apache POI OOXML package 5.0.0-SNAPSHOT [7/10] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- jacoco-maven-plugin:0.8.5:prepare-agent (default) @ poi-ooxml --- [INFO] argLine set to -javaagent:<https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/.repository/org/jacoco/org.jacoco.agent/0.8.5/org.jacoco.agent-0.8.5-runtime.jar=destfile=/home/jenkins/jenkins-agent/workspace/POI/POI-DSL-Maven/sonar/ooxml/target/jacoco.exec> -Xmx1024m [INFO] [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-sources) @ poi-ooxml --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 613 resources [INFO] [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-resources) @ poi-ooxml --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 7 resources [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ poi-ooxml --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 7 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ poi-ooxml --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 613 source files to <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml/target/classes> [INFO] <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFFont.java>: Some input files use or override a deprecated API. [INFO] <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFFont.java>: Recompile with -Xlint:deprecation for details. [INFO] <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml/src/main/java/org/apache/poi/xslf/draw/SVGImageRenderer.java>: <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml/src/main/java/org/apache/poi/xslf/draw/SVGImageRenderer.java> uses unchecked or unsafe operations. [INFO] <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml/src/main/java/org/apache/poi/xslf/draw/SVGImageRenderer.java>: Recompile with -Xlint:unchecked for details. [INFO] Some messages have been simplified; recompile with -Xdiags:verbose to get full output [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml/src/main/java/org/apache/poi/xssf/model/SharedStringsTable.java>:[96,16] method setUseDefaultNamespace in class org.apache.xmlbeans.XmlOptions cannot be applied to given types; required: no arguments found: boolean reason: actual and formal argument lists differ in length [ERROR] <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml/src/main/java/org/apache/poi/xwpf/usermodel/XWPFRun.java>:[476,21] cannot find symbol symbol: method setEnumValue(org.openxmlformats.schemas.wordprocessingml.x2006.main.STHexColorAuto.Enum) location: variable hexColor of type org.openxmlformats.schemas.wordprocessingml.x2006.main.STHexColorAuto [ERROR] <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml/src/main/java/org/apache/poi/xwpf/usermodel/XWPFRun.java>:[1516,18] cannot find symbol symbol: method setEnumValue(org.openxmlformats.schemas.wordprocessingml.x2006.main.STHighlightColor.Enum) location: variable color of type org.openxmlformats.schemas.wordprocessingml.x2006.main.STHighlightColor [ERROR] <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml/src/main/java/org/apache/poi/xwpf/usermodel/XWPFRun.java>:[1518,45] cannot find symbol symbol: method getEnumValue() location: variable color of type org.openxmlformats.schemas.wordprocessingml.x2006.main.STHighlightColor [ERROR] <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/facets/XAdESXLSignatureFacet.java>:[302,48] incompatible types: java.io.ByteArrayOutputStream cannot be converted to java.lang.String [INFO] 5 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Apache POI - the Java API for Microsoft Documents 5.0.0-SNAPSHOT: [INFO] [INFO] Apache POI - the Java API for Microsoft Documents .. SUCCESS [ 0.779 s] [INFO] Apache POI Main package ............................ SUCCESS [04:04 min] [INFO] Apache POI Scratchpad package ...................... SUCCESS [ 25.159 s] [INFO] Apache POI - Openxmlformats Schema package ......... SUCCESS [01:25 min] [INFO] Apache POI - Openxmlformats Encryption Schema package SUCCESS [ 1.947 s] [INFO] Apache POI - Openxmlformats Security-Schema package SUCCESS [ 6.889 s] [INFO] Apache POI OOXML package ........................... FAILURE [ 3.064 s] [INFO] Apache POI ExcelAnt package ........................ SKIPPED [INFO] Apache POI Examples package ........................ SKIPPED [INFO] Apache POI integration test ........................ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 06:07 min [INFO] Finished at: 2020-09-19T08:38:50Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project poi-ooxml: Compilation failure: Compilation failure: [ERROR] <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml/src/main/java/org/apache/poi/xssf/model/SharedStringsTable.java>:[96,16] method setUseDefaultNamespace in class org.apache.xmlbeans.XmlOptions cannot be applied to given types; [ERROR] required: no arguments [ERROR] found: boolean [ERROR] reason: actual and formal argument lists differ in length [ERROR] <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml/src/main/java/org/apache/poi/xwpf/usermodel/XWPFRun.java>:[476,21] cannot find symbol [ERROR] symbol: method setEnumValue(org.openxmlformats.schemas.wordprocessingml.x2006.main.STHexColorAuto.Enum) [ERROR] location: variable hexColor of type org.openxmlformats.schemas.wordprocessingml.x2006.main.STHexColorAuto [ERROR] <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml/src/main/java/org/apache/poi/xwpf/usermodel/XWPFRun.java>:[1516,18] cannot find symbol [ERROR] symbol: method setEnumValue(org.openxmlformats.schemas.wordprocessingml.x2006.main.STHighlightColor.Enum) [ERROR] location: variable color of type org.openxmlformats.schemas.wordprocessingml.x2006.main.STHighlightColor [ERROR] <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml/src/main/java/org/apache/poi/xwpf/usermodel/XWPFRun.java>:[1518,45] cannot find symbol [ERROR] symbol: method getEnumValue() [ERROR] location: variable color of type org.openxmlformats.schemas.wordprocessingml.x2006.main.STHighlightColor [ERROR] <https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/facets/XAdESXLSignatureFacet.java>:[302,48] incompatible types: java.io.ByteArrayOutputStream cannot be converted to java.lang.String [ERROR] -> [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/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :poi-ooxml Build step 'Invoke top-level Maven targets' marked build as failure Recording test results --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org