See 
<https://builds.apache.org/job/POI-DSL-SonarQube/136/display/redirect?page=changes>

Changes:

[tallison] bug 61300 -- prevent really long (infinite?) loop on corrupt file

[tallison] clean up whitespace and indents

[tallison] avoid using non-ascii in unit tests

[tallison] bug 61286/bug 61287 -- allow WriteProtectRecord to have 2 bytes, and 
allow for HeaderFooter to be empty.

[tallison] bug 61294 -- cleaned up based on PJ Fanning's code review.  Went 
with a copy/paste from commons-io.

------------------------------------------
[...truncated 6.26 KB...]
[INFO] Using the builder 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder
 with a thread count of 1
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache POI - the Java API for Microsoft Documents 
3.17-beta2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ poi-parent ---
[INFO] Deleting 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/target>
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache POI Main package 3.17-beta2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ poi-main ---
[INFO] Deleting 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/main/target>
[INFO] Deleting 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/main/src> (includes = 
[], excludes = [])
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache POI Scratchpad package 3.17-beta2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ poi-scratchpad ---
[INFO] Deleting 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/scratchpad/target>
[INFO] Deleting 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/scratchpad/src> 
(includes = [], excludes = [])
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache POI - Openxmlformats Schema package 3.17-beta2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ poi-ooxml-schema ---
[INFO] Deleting 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml-schema/target>
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache POI - Openxmlformats Encryption Schema package 
3.17-beta2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
poi-ooxml-schema-encryption ---
[INFO] Deleting 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml-schema-encryption/target>
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache POI - Openxmlformats Security-Schema package 
3.17-beta2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
poi-ooxml-schema-security ---
[INFO] Deleting 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml-schema-security/target>
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache POI OOXML package 3.17-beta2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ poi-ooxml ---
[INFO] Deleting 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml/target>
[INFO] Deleting 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml/src> (includes 
= [], excludes = [])
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache POI ExcelAnt package 3.17-beta2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ poi-excelant ---
[INFO] Deleting 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/excelant/target>
[INFO] Deleting 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/excelant/src> 
(includes = [], excludes = [])
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache POI Examples package 3.17-beta2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ poi-examples ---
[INFO] Deleting 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/examples/target>
[INFO] Deleting 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/examples/src> 
(includes = [], excludes = [])
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache POI - the Java API for Microsoft Documents . SUCCESS [  0.263 s]
[INFO] Apache POI Main package ........................... SUCCESS [  0.513 s]
[INFO] Apache POI Scratchpad package ..................... SUCCESS [  0.133 s]
[INFO] Apache POI - Openxmlformats Schema package ........ SUCCESS [  1.569 s]
[INFO] Apache POI - Openxmlformats Encryption Schema package  SUCCESS [  0.060 
s]
[INFO] Apache POI - Openxmlformats Security-Schema package  SUCCESS [  0.211 s]
[INFO] Apache POI OOXML package .......................... SUCCESS [  0.074 s]
[INFO] Apache POI ExcelAnt package ....................... SUCCESS [  0.032 s]
[INFO] Apache POI Examples package ....................... SUCCESS [  0.043 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.153 s
[INFO] Finished at: 2017-07-15T09:27:19+00:00
[INFO] Final Memory: 19M/1447M
[INFO] ------------------------------------------------------------------------
[POI-DSL-SonarQube] $ /home/jenkins/tools/maven/apache-maven-3.2.1/bin/mvn -f 
sonar/pom.xml 
-Dmaven.repo.local=<https://builds.apache.org/job/POI-DSL-SonarQube/ws/.repository>
 compile sonar:sonar -Dsonar.host.url=https://builds.apache.org/analysis
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] Apache POI - the Java API for Microsoft Documents
[INFO] Apache POI Main package
[INFO] Apache POI Scratchpad package
[INFO] Apache POI - Openxmlformats Schema package
[INFO] Apache POI - Openxmlformats Encryption Schema package
[INFO] Apache POI - Openxmlformats Security-Schema package
[INFO] Apache POI OOXML package
[INFO] Apache POI ExcelAnt package
[INFO] Apache POI Examples package
[INFO] 
[INFO] Using the builder 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder
 with a thread count of 1
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache POI - the Java API for Microsoft Documents 
3.17-beta2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache POI Main package 3.17-beta2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-sources) @ 
poi-main ---
[INFO] Using 'ASCII' encoding to copy filtered resources.
[INFO] Copying 1220 resources
[INFO] 
[INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-resources) @ 
poi-main ---
[INFO] Using 'ASCII' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] 
[INFO] --- maven-resources-plugin:3.0.1:resources (default-resources) @ 
poi-main ---
[INFO] Using 'ASCII' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ poi-main ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1196 source files to 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/main/target/classes>
[ERROR] 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/main/src/main/java/org/apache/poi/sl/draw/geom/ArcToCommand.java>:[107,58]
 unmappable character for encoding US-ASCII
[ERROR] 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/main/src/main/java/org/apache/poi/sl/draw/geom/ArcToCommand.java>:[107,59]
 unmappable character for encoding US-ASCII
[ERROR] 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/main/src/main/java/org/apache/poi/sl/draw/geom/ArcToCommand.java>:[107,64]
 unmappable character for encoding US-ASCII
[ERROR] 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/main/src/main/java/org/apache/poi/sl/draw/geom/ArcToCommand.java>:[107,65]
 unmappable character for encoding US-ASCII
[ERROR] 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/main/src/main/java/org/apache/poi/sl/draw/geom/ArcToCommand.java>:[107,82]
 unmappable character for encoding US-ASCII
[ERROR] 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/main/src/main/java/org/apache/poi/sl/draw/geom/ArcToCommand.java>:[107,83]
 unmappable character for encoding US-ASCII
[ERROR] 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/main/src/main/java/org/apache/poi/sl/draw/geom/ArcToCommand.java>:[107,87]
 unmappable character for encoding US-ASCII
[ERROR] 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/main/src/main/java/org/apache/poi/sl/draw/geom/ArcToCommand.java>:[107,88]
 unmappable character for encoding US-ASCII
[INFO] 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/main/src/main/java/org/apache/poi/hpsf/extractor/HPSFPropertiesExtractor.java>:
 Some input files use or override a deprecated API.
[INFO] 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/main/src/main/java/org/apache/poi/hpsf/extractor/HPSFPropertiesExtractor.java>:
 Recompile with -Xlint:deprecation for details.
[INFO] 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/main/src/main/java/org/apache/poi/hpsf/CustomProperties.java>:
 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/main/src/main/java/org/apache/poi/hpsf/CustomProperties.java>
 uses unchecked or unsafe operations.
[INFO] 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/main/src/main/java/org/apache/poi/hpsf/CustomProperties.java>:
 Recompile with -Xlint:unchecked for details.
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache POI Scratchpad package 3.17-beta2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-sources) @ 
poi-scratchpad ---
[INFO] Using 'ASCII' encoding to copy filtered resources.
[INFO] Copying 487 resources
[INFO] 
[INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-resources) @ 
poi-scratchpad ---
[INFO] Using 'ASCII' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-resources-plugin:3.0.1:resources (default-resources) @ 
poi-scratchpad ---
[INFO] Using 'ASCII' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ 
poi-scratchpad ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 487 source files to 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/scratchpad/target/classes>
[INFO] 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/Table.java>:
 Some input files use or override a deprecated API.
[INFO] 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/Table.java>:
 Recompile with -Xlint:deprecation for details.
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache POI - Openxmlformats Schema package 3.17-beta2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-download-plugin:1.1.0:wget (download-xsds) @ poi-ooxml-schema 
---
[INFO] Got from cache: 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/.repository/.cache/maven-download-plugin/Office%20Open%20XML%201st%20edition%20Part%204%20(PDF).zip>
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (copy-xmltype-and-xsdconfig) @ 
poi-ooxml-schema ---
[INFO] Executing tasks

main:
     [copy] Copying 7 files to 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml-schema/target/generated-sources/xmlbeans>
     [copy] Copying 1 file to 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml-schema/target/schemas>
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (unzip-schema) @ poi-ooxml-schema ---
[INFO] Executing tasks

main:
     [echo] unzip schemas
    [unzip] Expanding: 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml-schema/target/OfficeOpenXML-XMLSchema.zip>
 into 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml-schema/target/schemas>
     [copy] Copying 1 file to 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml-schema/target/schemas>
[INFO] Executed tasks
[INFO] 
[INFO] --- xmlbeans-maven-plugin:2.3.3:xmlbeans (default) @ poi-ooxml-schema ---
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (replace-xmltypeloader) @ 
poi-ooxml-schema ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ 
poi-ooxml-schema ---
[INFO] Using 'ASCII' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml-schema/src/main/resources>
[INFO] Copying 7418 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ 
poi-ooxml-schema ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 4575 source files to 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml-schema/target/classes>
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml-schema/target/generated-sources/xmlbeans/org/apache/poi/POIXMLTypeLoader.java>:[34,35]
 error: package org.apache.poi.openxml4j.opc does not exist
[ERROR] 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml-schema/target/generated-sources/xmlbeans/org/apache/poi/POIXMLTypeLoader.java>:[77,16]
 error: cannot find symbol
[INFO] 2 errors 
[INFO] -------------------------------------------------------------
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Apache POI - the Java API for Microsoft Documents
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache POI - the Java API for Microsoft Documents . SUCCESS [  0.003 s]
[INFO] Apache POI Main package ........................... SUCCESS [  9.303 s]
[INFO] Apache POI Scratchpad package ..................... SUCCESS [  3.407 s]
[INFO] Apache POI - Openxmlformats Schema package ........ FAILURE [ 53.981 s]
[INFO] Apache POI - Openxmlformats Encryption Schema package  SKIPPED
[INFO] Apache POI - Openxmlformats Security-Schema package  SKIPPED
[INFO] Apache POI OOXML package .......................... SKIPPED
[INFO] Apache POI ExcelAnt package ....................... SKIPPED
[INFO] Apache POI Examples package ....................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:07 min
[INFO] Finished at: 2017-07-15T09:28:27+00:00
[INFO] Final Memory: 34M/797M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (default-compile) 
on project poi-ooxml-schema: Compilation failure: Compilation failure:
[ERROR] 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml-schema/target/generated-sources/xmlbeans/org/apache/poi/POIXMLTypeLoader.java>:[34,35]
 error: package org.apache.poi.openxml4j.opc does not exist
[ERROR] 
<https://builds.apache.org/job/POI-DSL-SonarQube/ws/sonar/ooxml-schema/target/generated-sources/xmlbeans/org/apache/poi/POIXMLTypeLoader.java>:[77,16]
 error: cannot find symbol
[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 <goals> -rf :poi-ooxml-schema
Build step 'Invoke top-level Maven targets' marked build as failure

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

Reply via email to