pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Lehmkuehler <andr...@lehmi.de>
Subject Re: error while building pdfbox-1.7.1 using maven...
Date Thu, 17 Jan 2013 18:46:41 GMT
Hi,

Am 15.01.2013 16:43, schrieb Prakash Dubey:
> Hello Everybody,
> I am trying to build pdfbox-1.7.1 using maven on my my windows 7 (64 bit)
> OS. But it is giving error while compiling jempbox and* shows failed test
> in  testDateList(org.apache.jempbox.xmp.XMPSchemaTest)*. Here is error when
> it is generated on cmd. Please have look,
I don't have a clue. Maybe an locale issue.

As a workaround you should just deactivate the test like this

mvn clean install -DskipTests

> ------------------------------------------------------------------------------------------
>
>
>
> -------------------------------------------------------
>   T E S T S
> -------------------------------------------------------
> Running org.apache.jempbox.xmp.XMPMetadataTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.087 sec
> Running org.apache.jempbox.xmp.XMPSchemaTest
> Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.053 sec
> <<< FAILURE!
>
> Results :
>
> Failed tests:   testDateList(org.apache.jempbox.xmp.XMPSchemaTest):
> expected:<19800000> but was:<18060000>
>
> Tests run: 11, Failures: 1, Errors: 0, Skipped: 0
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] PDFBox parent ..................................... SUCCESS [1.618s]
> [INFO] Apache FontBox .................................... SUCCESS [9.236s]
> [INFO] Apache JempBox .................................... FAILURE [3.082s]
> [INFO] Apache PDFBox ..................................... SKIPPED
> [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: 15.164s
> [INFO] Finished at: Tue Jan 15 14:13:06 IST 2013
> [INFO] Final Memory: 35M/249M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.9:test (default-test) on
> project jempbox: There are test failures.
> [ERROR]
> [ERROR] Please refer to C:\Users\Prakash
> Kumar\Desktop\pdfbox-1.7.1\jempbox\target\surefire-reports for the
> individual test results.
> [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 :jempbox
> -----------------------------------------------------------------------------------------------
>
> Sorry if i made some mistake.
>

BR
Andreas Lehmkühler

Mime
View raw message