I broke the Maven and Sonar builds be adding OpenJDK JMH test dependency. It shouldn't be needed for the jars or maven, right?
On May 15, 2017 17:06, "Apache Jenkins Server" <jenk...@builds.apache.org> wrote: > See <https://builds.apache.org/job/POI-DSL-Maven/194/display/ > redirect?page=changes> > > Changes: > > [onealj] update changelog for github-54 from Tim Helmstedt > > [onealj] github-54: when adding a picture to an XSSFWorkbook, reduce > memory consumption by 100x and increase speed by 10x based on OpenJDK JMH > benchmarking. Thanks to Tim Helmstedt! This closes #54. > https://github.com/apache/poi/pull/54 > > ------------------------------------------ > [...truncated 1.15 MB...] > [INFO] No sources to compile > [INFO] > [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ > poi-ooxml-schema-encryption --- > [INFO] No tests to run. > [INFO] > [INFO] --- maven-antrun-plugin:1.8:run (remove-xmltypeloader-from-schema-jar) > @ poi-ooxml-schema-encryption --- > [INFO] Executing tasks > > main: > [delete] Deleting directory <https://builds.apache.org/ > job/POI-DSL-Maven/ws/sonar/ooxml-schema-encryption/ > target/classes/org/apache> > [INFO] Executed tasks > [INFO] > [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ > poi-ooxml-schema-encryption --- > [INFO] Building jar: <https://builds.apache.org/ > job/POI-DSL-Maven/ws/sonar/ooxml-schema-encryption/ > target/poi-ooxml-schema-encryption-3.17-beta1-SNAPSHOT.jar> > [INFO] > [INFO] ------------------------------------------------------------ > ------------ > [INFO] Building Apache POI - Openxmlformats Security-Schema package > 3.17-beta1-SNAPSHOT > [INFO] ------------------------------------------------------------ > ------------ > [INFO] > [INFO] --- maven-download-plugin:1.1.0:wget (install-xsds-part-1) @ > poi-ooxml-schema-security --- > [INFO] Got from cache: <https://builds.apache.org/job/POI-DSL-Maven/ws/. > repository/.cache/maven-download-plugin/Office%20Open% > 20XML%201st%20edition%20Part%202%20(PDF).zip> > [INFO] > [INFO] --- maven-download-plugin:1.1.0:wget (install-xsds-part-2) @ > poi-ooxml-schema-security --- > [INFO] Got from cache: <https://builds.apache.org/job/POI-DSL-Maven/ws/. > repository/.cache/maven-download-plugin/dc.xsd> > [INFO] > [INFO] --- maven-download-plugin:1.1.0:wget (install-xsds-part-3) @ > poi-ooxml-schema-security --- > [INFO] Got from cache: <https://builds.apache.org/job/POI-DSL-Maven/ws/. > repository/.cache/maven-download-plugin/dcterms.xsd> > [INFO] > [INFO] --- maven-download-plugin:1.1.0:wget (install-xsds-part-4) @ > poi-ooxml-schema-security --- > [INFO] Got from cache: <https://builds.apache.org/job/POI-DSL-Maven/ws/. > repository/.cache/maven-download-plugin/dcmitype.xsd> > [INFO] > [INFO] --- maven-download-plugin:1.1.0:wget (install-xsds-part-5) @ > poi-ooxml-schema-security --- > [INFO] Got from cache: <https://builds.apache.org/job/POI-DSL-Maven/ws/. > repository/.cache/maven-download-plugin/xmldsig-core-schema.xsd> > [INFO] > [INFO] --- maven-download-plugin:1.1.0:wget (install-xsds-part-6) @ > poi-ooxml-schema-security --- > [INFO] Got from cache: <https://builds.apache.org/job/POI-DSL-Maven/ws/. > repository/.cache/maven-download-plugin/XAdES.xsd> > [INFO] > [INFO] --- maven-download-plugin:1.1.0:wget (install-xsds-part-7) @ > poi-ooxml-schema-security --- > [INFO] Got from cache: <https://builds.apache.org/job/POI-DSL-Maven/ws/. > repository/.cache/maven-download-plugin/XAdESv141.xsd> > [INFO] > [INFO] --- maven-antrun-plugin:1.8:run (copy-xmltype-and-xsdconfig) @ > poi-ooxml-schema-security --- > [INFO] Executing tasks > > main: > [copy] Copying 7 files to <https://builds.apache.org/ > job/POI-DSL-Maven/ws/sonar/ooxml-schema-security/target/ > generated-sources/xmlbeans> > [copy] Copying 1 file to <https://builds.apache.org/ > 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://builds.apache.org/ > job/POI-DSL-Maven/ws/sonar/ooxml-schema-security/target/ > OpenPackagingConventions-XMLSchema.zip> into <https://builds.apache.org/ > job/POI-DSL-Maven/ws/sonar/ooxml-schema-security/target/schemas> > [copy] Copying 1 file to <https://builds.apache.org/ > 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 'ASCII' encoding to copy filtered resources. > [INFO] skip non existing resourceDirectory <https://builds.apache.org/ > job/POI-DSL-Maven/ws/sonar/ooxml-schema-security/src/main/resources> > [INFO] Copying 916 resources > [INFO] > [INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ > poi-ooxml-schema-security --- > [INFO] Changes detected - recompiling the module! > [INFO] Compiling 499 source files to <https://builds.apache.org/ > 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 'ASCII' encoding to copy filtered resources. > [INFO] skip non existing resourceDirectory <https://builds.apache.org/ > job/POI-DSL-Maven/ws/sonar/ooxml-schema-security/src/test/resources> > [INFO] > [INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) > @ poi-ooxml-schema-security --- > [INFO] No sources to compile > [INFO] > [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ > poi-ooxml-schema-security --- > [INFO] No tests to run. > [INFO] > [INFO] --- maven-antrun-plugin:1.8:run (remove-xmltypeloader-from-schema-jar) > @ poi-ooxml-schema-security --- > [INFO] Executing tasks > > main: > [delete] Deleting directory <https://builds.apache.org/ > job/POI-DSL-Maven/ws/sonar/ooxml-schema-security/target/classes/org/apache > > > [INFO] Executed tasks > [INFO] > [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ > poi-ooxml-schema-security --- > [INFO] Building jar: <https://builds.apache.org/ > job/POI-DSL-Maven/ws/sonar/ooxml-schema-security/target/ > poi-ooxml-schema-security-3.17-beta1-SNAPSHOT.jar> > [INFO] > [INFO] ------------------------------------------------------------ > ------------ > [INFO] Building Apache POI OOXML package 3.17-beta1-SNAPSHOT > [INFO] ------------------------------------------------------------ > ------------ > [INFO] > [INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-sources) @ > poi-ooxml --- > [INFO] Using 'ASCII' encoding to copy filtered resources. > [INFO] Copying 443 resources > [INFO] > [INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-resources) @ > poi-ooxml --- > [INFO] Using 'ASCII' encoding to copy filtered resources. > [INFO] Copying 3 resources > [INFO] > [INFO] --- maven-resources-plugin:3.0.1:resources (default-resources) @ > poi-ooxml --- > [INFO] Using 'ASCII' encoding to copy filtered resources. > [INFO] Copying 3 resources > [INFO] > [INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ > poi-ooxml --- > [INFO] Changes detected - recompiling the module! > [INFO] Compiling 441 source files to <https://builds.apache.org/ > job/POI-DSL-Maven/ws/sonar/ooxml/target/classes> > [INFO] Some input files use or override a deprecated API. > [INFO] Recompile with -Xlint:deprecation for details. > [INFO] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/main/java/org/apache/poi/xssf/eventusermodel/XSSFReader.java> > uses unchecked or unsafe operations. > [INFO] Recompile with -Xlint:unchecked for details. > [INFO] > [INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-tests) @ > poi-ooxml --- > [INFO] Using 'ASCII' encoding to copy filtered resources. > [INFO] Copying 226 resources > [INFO] > [INFO] --- maven-resources-plugin:3.0.1:testResources > (default-testResources) @ poi-ooxml --- > [INFO] Using 'ASCII' encoding to copy filtered resources. > [INFO] skip non existing resourceDirectory <https://builds.apache.org/ > job/POI-DSL-Maven/ws/sonar/ooxml/src/test/resources> > [INFO] > [INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) > @ poi-ooxml --- > [INFO] Changes detected - recompiling the module! > [INFO] Compiling 226 source files to <https://builds.apache.org/ > job/POI-DSL-Maven/ws/sonar/ooxml/target/test-classes> > [INFO] Some input files use or override a deprecated API. > [INFO] Recompile with -Xlint:deprecation for details. > [INFO] ------------------------------------------------------------- > [ERROR] COMPILATION ERROR : > [INFO] ------------------------------------------------------------- > [ERROR] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/test/java/org/apache/poi/benchmark/AddImageBench.java>:[22,1] > package org.openjdk.jmh.annotations does not exist > [ERROR] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/test/java/org/apache/poi/benchmark/AddImageBench.java>:[23,31] > package org.openjdk.jmh.profile does not exist > [ERROR] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/test/java/org/apache/poi/benchmark/AddImageBench.java>:[24,31] > package org.openjdk.jmh.profile does not exist > [ERROR] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/test/java/org/apache/poi/benchmark/AddImageBench.java>:[25,30] > package org.openjdk.jmh.runner does not exist > [ERROR] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/test/java/org/apache/poi/benchmark/AddImageBench.java>:[26,30] > package org.openjdk.jmh.runner does not exist > [ERROR] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/test/java/org/apache/poi/benchmark/AddImageBench.java>:[27,38] > package org.openjdk.jmh.runner.options does not exist > [ERROR] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/test/java/org/apache/poi/benchmark/AddImageBench.java>:[28,38] > package org.openjdk.jmh.runner.options does not exist > [ERROR] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/test/java/org/apache/poi/benchmark/AddImageBench.java>:[36,2] > cannot find symbol > symbol: class BenchmarkMode > [ERROR] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/test/java/org/apache/poi/benchmark/AddImageBench.java>:[37,2] > cannot find symbol > symbol: class OutputTimeUnit > [ERROR] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/test/java/org/apache/poi/benchmark/AddImageBench.java>:[38,2] > cannot find symbol > symbol: class Warmup > [ERROR] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/test/java/org/apache/poi/benchmark/AddImageBench.java>:[39,2] > cannot find symbol > symbol: class Measurement > [ERROR] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/test/java/org/apache/poi/benchmark/AddImageBench.java>:[40,2] > cannot find symbol > symbol: class State > [ERROR] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/test/java/org/apache/poi/benchmark/AddImageBench.java>:[69,51] > cannot find symbol > symbol : class RunnerException > location: class org.apache.poi.benchmark.AddImageBench > [ERROR] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/test/java/org/apache/poi/benchmark/AddImageBench.java>:[48,6] > cannot find symbol > symbol : class Setup > location: class org.apache.poi.benchmark.AddImageBench > [ERROR] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/test/java/org/apache/poi/benchmark/AddImageBench.java>:[58,6] > cannot find symbol > symbol : class Benchmark > location: class org.apache.poi.benchmark.AddImageBench > [ERROR] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/test/java/org/apache/poi/benchmark/AddImageBench.java>:[70,9] > cannot find symbol > symbol : class Options > location: class org.apache.poi.benchmark.AddImageBench > [ERROR] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/test/java/org/apache/poi/benchmark/AddImageBench.java>:[73,30] > cannot find symbol > symbol : class GCProfiler > location: class org.apache.poi.benchmark.AddImageBench > [ERROR] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/test/java/org/apache/poi/benchmark/AddImageBench.java>:[72,30] > cannot find symbol > symbol : class StackProfiler > location: class org.apache.poi.benchmark.AddImageBench > [ERROR] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/test/java/org/apache/poi/benchmark/AddImageBench.java>:[70,27] > cannot find symbol > symbol : class OptionsBuilder > location: class org.apache.poi.benchmark.AddImageBench > [ERROR] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/test/java/org/apache/poi/benchmark/AddImageBench.java>:[77,13] > cannot find symbol > symbol : class Runner > location: class org.apache.poi.benchmark.AddImageBench > [INFO] 20 errors > [INFO] ------------------------------------------------------------- > [INFO] ------------------------------------------------------------ > ------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Apache POI - the Java API for Microsoft Documents . SUCCESS [ > 0.002 s] > [INFO] Apache POI Main package ........................... SUCCESS [01:22 > min] > [INFO] Apache POI Scratchpad package ..................... SUCCESS [ > 16.815 s] > [INFO] Apache POI - Openxmlformats Schema package ........ SUCCESS [ > 56.200 s] > [INFO] Apache POI - Openxmlformats Encryption Schema package SUCCESS [ > 0.537 s] > [INFO] Apache POI - Openxmlformats Security-Schema package SUCCESS [ > 6.280 s] > [INFO] Apache POI OOXML package .......................... FAILURE [ > 2.332 s] > [INFO] Apache POI ExcelAnt package ....................... SKIPPED > [INFO] Apache POI Examples package ....................... SKIPPED > [INFO] ------------------------------------------------------------ > ------------ > [INFO] BUILD FAILURE > [INFO] ------------------------------------------------------------ > ------------ > [INFO] Total time: 02:45 min > [INFO] Finished at: 2017-05-16T00:06:51+00:00 > [INFO] Final Memory: 43M/712M > [INFO] ------------------------------------------------------------ > ------------ > [ERROR] Failed to execute goal org.apache.maven.plugins: > maven-compiler-plugin:3.5.1:testCompile (default-testCompile) on project > poi-ooxml: Compilation failure: Compilation failure: > [ERROR] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/test/java/org/apache/poi/benchmark/AddImageBench.java>:[22,1] > package org.openjdk.jmh.annotations does not exist > [ERROR] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/test/java/org/apache/poi/benchmark/AddImageBench.java>:[23,31] > package org.openjdk.jmh.profile does not exist > [ERROR] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/test/java/org/apache/poi/benchmark/AddImageBench.java>:[24,31] > package org.openjdk.jmh.profile does not exist > [ERROR] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/test/java/org/apache/poi/benchmark/AddImageBench.java>:[25,30] > package org.openjdk.jmh.runner does not exist > [ERROR] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/test/java/org/apache/poi/benchmark/AddImageBench.java>:[26,30] > package org.openjdk.jmh.runner does not exist > [ERROR] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/test/java/org/apache/poi/benchmark/AddImageBench.java>:[27,38] > package org.openjdk.jmh.runner.options does not exist > [ERROR] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/test/java/org/apache/poi/benchmark/AddImageBench.java>:[28,38] > package org.openjdk.jmh.runner.options does not exist > [ERROR] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/test/java/org/apache/poi/benchmark/AddImageBench.java>:[36,2] > cannot find symbol > [ERROR] symbol: class BenchmarkMode > [ERROR] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/test/java/org/apache/poi/benchmark/AddImageBench.java>:[37,2] > cannot find symbol > [ERROR] symbol: class OutputTimeUnit > [ERROR] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/test/java/org/apache/poi/benchmark/AddImageBench.java>:[38,2] > cannot find symbol > [ERROR] symbol: class Warmup > [ERROR] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/test/java/org/apache/poi/benchmark/AddImageBench.java>:[39,2] > cannot find symbol > [ERROR] symbol: class Measurement > [ERROR] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/test/java/org/apache/poi/benchmark/AddImageBench.java>:[40,2] > cannot find symbol > [ERROR] symbol: class State > [ERROR] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/test/java/org/apache/poi/benchmark/AddImageBench.java>:[69,51] > cannot find symbol > [ERROR] symbol : class RunnerException > [ERROR] location: class org.apache.poi.benchmark.AddImageBench > [ERROR] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/test/java/org/apache/poi/benchmark/AddImageBench.java>:[48,6] > cannot find symbol > [ERROR] symbol : class Setup > [ERROR] location: class org.apache.poi.benchmark.AddImageBench > [ERROR] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/test/java/org/apache/poi/benchmark/AddImageBench.java>:[58,6] > cannot find symbol > [ERROR] symbol : class Benchmark > [ERROR] location: class org.apache.poi.benchmark.AddImageBench > [ERROR] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/test/java/org/apache/poi/benchmark/AddImageBench.java>:[70,9] > cannot find symbol > [ERROR] symbol : class Options > [ERROR] location: class org.apache.poi.benchmark.AddImageBench > [ERROR] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/test/java/org/apache/poi/benchmark/AddImageBench.java>:[73,30] > cannot find symbol > [ERROR] symbol : class GCProfiler > [ERROR] location: class org.apache.poi.benchmark.AddImageBench > [ERROR] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/test/java/org/apache/poi/benchmark/AddImageBench.java>:[72,30] > cannot find symbol > [ERROR] symbol : class StackProfiler > [ERROR] location: class org.apache.poi.benchmark.AddImageBench > [ERROR] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/test/java/org/apache/poi/benchmark/AddImageBench.java>:[70,27] > cannot find symbol > [ERROR] symbol : class OptionsBuilder > [ERROR] location: class org.apache.poi.benchmark.AddImageBench > [ERROR] <https://builds.apache.org/job/POI-DSL-Maven/ws/sonar/ > ooxml/src/test/java/org/apache/poi/benchmark/AddImageBench.java>:[77,13] > cannot find symbol > [ERROR] symbol : class Runner > [ERROR] location: class org.apache.poi.benchmark.AddImageBench > [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 > 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 > >