Hi,
my bad, I forgot to apply the same changes to the affected preflight classes as
well. I fixed that in revision 1227500. See PDFBOX-1196 [1] for details.
BR
Andreas Lehmkühler
[1] https://issues.apache.org/jira/browse/PDFBOX-1196
Am 04.01.2012 23:15, schrieb Apache Jenkins Server:
See<https://builds.apache.org/job/PDFBox-trunk/402/>
------------------------------------------
[...truncated 336 lines...]
[JENKINS]
Archiving<https://builds.apache.org/job/PDFBox-trunk/ws/trunk/xmpbox/target/xmpbox-1.7.0-SNAPSHOT.jar>
to
/home/hudson/hudson/jobs/PDFBox-trunk/modules/org.apache.pdfbox$xmpbox/builds/2012-01-04_22-00-23/archive/org.apache.pdfbox/xmpbox/1.7.0-20120104.220928-74/xmpbox-1.7.0-20120104.220928-74.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache PDFBox 1.7.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ pdfbox ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.2.1:process (default) @ pdfbox ---
[INFO]
[INFO] --- maven-antrun-plugin:1.6:run (default) @ pdfbox ---
[INFO] Executing tasks
main:
find.adobefiles:
get.adobefiles:
testexist:
downloadfile:
[unjar]
Expanding:<https://builds.apache.org/job/PDFBox-trunk/ws/trunk/pdfbox/download/pcfi-2010.08.09.jar>
into<https://builds.apache.org/job/PDFBox-trunk/ws/trunk/pdfbox/target/classes/org/apache/pdfbox/resources/afm>
[unjar]
Expanding:<https://builds.apache.org/job/PDFBox-trunk/ws/trunk/pdfbox/download/pcfi-2010.08.09.jar>
into<https://builds.apache.org/job/PDFBox-trunk/ws/trunk/pdfbox/target/classes/org/apache/pdfbox/resources>
[INFO] Executed tasks
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ pdfbox
---[debug] execute contextualize
[INFO] Using 'ISO-8859-1' encoding to copy filtered resources.
[INFO] Copying 192 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ pdfbox ---
[INFO] Compiling 483 source files
to<https://builds.apache.org/job/PDFBox-trunk/ws/trunk/pdfbox/target/classes>
[INFO] [debug] execute contextualize
[INFO] Using 'ISO-8859-1' encoding to copy filtered resources.
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @
pdfbox ---[INFO] Copying 88 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ pdfbox
---[INFO] Compiling 38 source files
to<https://builds.apache.org/job/PDFBox-trunk/ws/trunk/pdfbox/target/test-classes>
[INFO]
[INFO] --- maven-surefire-plugin:2.5:test (default-test) @ pdfbox ---
[INFO] Surefire report
directory:<https://builds.apache.org/job/PDFBox-trunk/ws/trunk/pdfbox/target/surefire-reports>
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.pdfbox.TestAll
Writing: target/test-output/source.pdf-1.png
Writing: target/test-output/source.pdf-1.jpg
Writing: target/test-output/source.pdf-1.bmp
Writing: target/test-output/source.pdf-1.wbmp
Writing: target/test-output/26101_Colors.ai-1.png
Writing: target/test-output/26101_Colors.ai-1.jpg
Writing: target/test-output/26101_Colors.ai-1.bmp
Writing: target/test-output/26101_Colors.ai-1.wbmp
Writing: target/test-output/survey.pdf-1.png
Writing: target/test-output/survey.pdf-1.jpg
Writing: target/test-output/survey.pdf-1.bmp
Writing: target/test-output/survey.pdf-1.wbmp
Writing: target/test-output/FANTASTICCMYK.ai-1.png
Writing: target/test-output/FANTASTICCMYK.ai-1.jpg
Writing: target/test-output/FANTASTICCMYK.ai-1.bmp
Writing: target/test-output/FANTASTICCMYK.ai-1.wbmp
Writing: target/test-output/4PP-Highlighting.pdf-1.png
Writing: target/test-output/4PP-Highlighting.pdf-1.jpg
Writing: target/test-output/4PP-Highlighting.pdf-1.bmp
Writing: target/test-output/4PP-Highlighting.pdf-1.wbmp
Writing: target/test-output/test-landscape2.pdf-1.png
Writing: target/test-output/test-landscape2.pdf-1.jpg
Writing: target/test-output/test-landscape2.pdf-1.bmp
Writing: target/test-output/test-landscape2.pdf-1.wbmp
Writing: target/test-output/ARCHIVERGB.ai-1.png
Writing: target/test-output/ARCHIVERGB.ai-1.jpg
Writing: target/test-output/ARCHIVERGB.ai-1.bmp
Writing: target/test-output/ARCHIVERGB.ai-1.wbmp
Writing: target/test-output/HOTRODCMYK.ai-1.png
Writing: target/test-output/HOTRODCMYK.ai-1.jpg
Writing: target/test-output/HOTRODCMYK.ai-1.bmp
Writing: target/test-output/HOTRODCMYK.ai-1.wbmp
Writing: target/test-output/tiger-as-form-xobject.pdf-1.png
Writing: target/test-output/tiger-as-form-xobject.pdf-1.jpg
Writing: target/test-output/tiger-as-form-xobject.pdf-1.bmp
Writing: target/test-output/tiger-as-form-xobject.pdf-1.wbmp
Tests run: 127, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.293 sec
Running org.apache.pdfbox.util.TestTextStripper
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.823 sec
Results :
Tests run: 128, Failures: 0, Errors: 0, Skipped: 0
[JENKINS] Recording test results
[INFO]
[INFO] --- maven-bundle-plugin:2.3.4:bundle (default-bundle) @ pdfbox ---
[INFO]
[INFO] --- maven-site-plugin:3.0:attach-descriptor (attach-descriptor) @ pdfbox
---
[INFO] [INFO] Exclude: src/main/resources/org/apache/pdfbox/resources/cmap/*
[INFO] Exclude: src/test/resources/input/rendering/*.ai
[INFO] Exclude: download/glyphlist.txt
[INFO] Exclude: release.properties
[INFO] --- apache-rat-plugin:0.6:check (default) @ pdfbox ---
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ pdfbox ---[INFO]
Installing<https://builds.apache.org/job/PDFBox-trunk/ws/trunk/pdfbox/target/pdfbox-1.7.0-SNAPSHOT.jar>
to
/export/home/hudson/.m2/repository/org/apache/pdfbox/pdfbox/1.7.0-SNAPSHOT/pdfbox-1.7.0-SNAPSHOT.jar
[INFO]
Installing<https://builds.apache.org/job/PDFBox-trunk/ws/trunk/pdfbox/pom.xml>
to
/export/home/hudson/.m2/repository/org/apache/pdfbox/pdfbox/1.7.0-SNAPSHOT/pdfbox-1.7.0-SNAPSHOT.pom
[INFO]
[INFO] --- maven-bundle-plugin:2.3.4:install (default-install) @ pdfbox ---
[INFO] Installing
org/apache/pdfbox/pdfbox/1.7.0-SNAPSHOT/pdfbox-1.7.0-SNAPSHOT.jar
[INFO] Writing OBR metadata
[INFO] Downloading:
https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/pdfbox/1.7.0-SNAPSHOT/maven-metadata.xml
[INFO] --- maven-deploy-plugin:2.6:deploy (default-deploy) @ pdfbox ---
Downloaded:
https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/pdfbox/1.7.0-SNAPSHOT/maven-metadata.xml
(776 B at 0.5 KB/sec)
Uploading:
https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/pdfbox/1.7.0-SNAPSHOT/pdfbox-1.7.0-20120104.221126-85.jar
Uploaded:
https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/pdfbox/1.7.0-SNAPSHOT/pdfbox-1.7.0-20120104.221126-85.jar
(3787 KB at 1123.6 KB/sec)
Uploading:
https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/pdfbox/1.7.0-SNAPSHOT/pdfbox-1.7.0-20120104.221126-85.pom
Uploaded:
https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/pdfbox/1.7.0-SNAPSHOT/pdfbox-1.7.0-20120104.221126-85.pom
(6 KB at 8.2 KB/sec)
Downloading:
https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/pdfbox/maven-metadata.xml
Downloaded:
https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/pdfbox/maven-metadata.xml
(501 B at 1.0 KB/sec)
Uploading:
https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/pdfbox/1.7.0-SNAPSHOT/maven-metadata.xml
Uploaded:
https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/pdfbox/1.7.0-SNAPSHOT/maven-metadata.xml
(776 B at 0.6 KB/sec)
Uploading:
https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/pdfbox/maven-metadata.xml
Uploaded:
https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/pdfbox/maven-metadata.xml
(501 B at 0.7 KB/sec)
[INFO]
[INFO] --- maven-bundle-plugin:2.3.4:deploy (default-deploy) @ pdfbox ---[INFO]
Remote OBR update disabled (enable with -DremoteOBR)
[JENKINS]
Archiving<https://builds.apache.org/job/PDFBox-trunk/ws/trunk/pdfbox/pom.xml>
to
/home/hudson/hudson/jobs/PDFBox-trunk/modules/org.apache.pdfbox$pdfbox/builds/2012-01-04_22-00-23/archive/org.apache.pdfbox/pdfbox/1.7.0-SNAPSHOT/pdfbox-1.7.0-SNAPSHOT.pom
[JENKINS]
Archiving<https://builds.apache.org/job/PDFBox-trunk/ws/trunk/pdfbox/target/pdfbox-1.7.0-SNAPSHOT.jar>
to
/home/hudson/hudson/jobs/PDFBox-trunk/modules/org.apache.pdfbox$pdfbox/builds/2012-01-04_22-00-23/archive/org.apache.pdfbox/pdfbox/1.7.0-20120104.221126-85/pdfbox-1.7.0-20120104.221126-85.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Preflight 1.7.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ preflight ---
[INFO]
[INFO] --- cobertura-maven-plugin:2.3:clean (default) @ preflight ---
[INFO]
[INFO] --- javacc-maven-plugin:2.6:javacc (javacc) @ preflight ---
Java Compiler Compiler Version 5.0 (Parser Generator)
(type "javacc" with no arguments for help)
Reading from
file<https://builds.apache.org/job/PDFBox-trunk/ws/trunk/preflight/src/main/javacc/pdf_extractor.jj>
. . .
File "TokenMgrError.java" does not exist. Will create one.
File "ParseException.java" does not exist. Will create one.
File "Token.java" does not exist. Will create one.
File "SimpleCharStream.java" does not exist. Will create one.
Parser generated successfully.
Java Compiler Compiler Version 5.0 (Parser Generator)
(type "javacc" with no arguments for help)
Reading from
file<https://builds.apache.org/job/PDFBox-trunk/ws/trunk/preflight/src/main/javacc/pdf_full_grammar.jj>
. . .
Warning: Line 172, Column 3: Non-ASCII characters used in regular expression.
Please make sure you use the correct Reader when you create the parser, one
that can handle your character set.
File "TokenMgrError.java" does not exist. Will create one.
File "ParseException.java" does not exist. Will create one.
File "Token.java" does not exist. Will create one.
File "SimpleCharStream.java" does not exist. Will create one.
Parser generated with 0 errors and 1 warnings.
[INFO] Processed 2 grammars
[INFO]
[INFO] --- maven-remote-resources-plugin:1.2.1:process (default) @ preflight ---
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ preflight
---[debug] execute contextualize
[INFO] Using 'utf-8' encoding to copy filtered resources.
[INFO] Copying 106 resources to ../filtered-sources/java
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO] [INFO] Compiling 119 source files
to<https://builds.apache.org/job/PDFBox-trunk/ws/trunk/preflight/target/classes>
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ preflight ---
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]<https://builds.apache.org/job/PDFBox-trunk/ws/trunk/preflight/target/filtered-sources/java/org/apache/padaf/preflight/helpers/StreamValidationHelper.java>:[219,59]
inconvertible types
found : java.lang.Long
required: java.lang.Integer
[ERROR]<https://builds.apache.org/job/PDFBox-trunk/ws/trunk/preflight/target/filtered-sources/java/org/apache/padaf/preflight/helpers/TrailerValidationHelper.java>:[168,83]
incompatible types
found : java.lang.Long
required: int
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[JENKINS]
Archiving<https://builds.apache.org/job/PDFBox-trunk/ws/trunk/preflight/pom.xml>
to
/home/hudson/hudson/jobs/PDFBox-trunk/modules/org.apache.pdfbox$preflight/builds/2012-01-04_22-00-23/archive/org.apache.pdfbox/preflight/1.7.0-SNAPSHOT/preflight-1.7.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] PDFBox parent ..................................... SUCCESS [3:32.542s]
[INFO] Apache FontBox .................................... SUCCESS [1:54.620s]
[INFO] Apache JempBox .................................... SUCCESS [30.438s]
[INFO] Apache XmpBox ..................................... SUCCESS [40.554s]
[INFO] Apache PDFBox ..................................... SUCCESS [1:48.906s]
[INFO] Apache Preflight .................................. FAILURE [13.137s]
[INFO] Apache PDFBox for Lucene .......................... SKIPPED
[INFO] Apache PDFBox for Ant ............................. SKIPPED
[INFO] Apache PDFBox webapp .............................. SKIPPED
[INFO] Apache PDFBox application ......................... SKIPPED
[INFO] Apache PDFBox examples ............................ SKIPPED
[INFO] PDFBox reactor .................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13:16.650s
[INFO] Finished at: Wed Jan 04 22:15:15 GMT+00:00 2012
[INFO] Final Memory: 35M/282M
[INFO] ------------------------------------------------------------------------
mavenExecutionResult exceptions not empty
message : Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile)
on project preflight: Compilation failure
cause : Compilation failure
Stack trace :
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile)
on project preflight: Compilation failure
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at
org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:104)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:70)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:287)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation
failure
at
org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:656)
at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 27 more
channel stopped
Archiving artifacts