I ran into what build problems using maven. My issue was that I had an earlier pdfbox.jar file in my CLASSPATH. Once I removed that .jar file, I could build successfully. Note, I ran into this building v1.8.9, not the v2.0 tree.
-Troy On Fri, May 29, 2015 at 8:06 AM, Tilman Hausherr <[email protected]> wrote: > Am 29.05.2015 um 15:49 schrieb Дмитрий Андреев: > >> Hi, sorry for newbie question, but I don't understand how build 2.0.0 >> version of pdfbox-app. >> I do following steps: >> 1) Download pdfbox-trunk.zip from GitHub or from Subversion system calling >> checkout command from console; >> 2) Unzip it; >> 3) Open it in NeyBeans IDE like project; >> 4) Adding <dependency> to <dependencies> and <repository> to just-creating >> tag by me <repositories> >> 5) Try to build it in NetBeans >> >> And I've got these exception: >> Failed to execute goal >> org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on >> project pdfbox: There are test failures. >> > > I do it from Netbeans and use this URL: > http://svn.apache.org/repos/asf/pdfbox/trunk > > I don't unzip anything. There's a dialogbox, you click on the first line > and it sets up "PDFBox Reactor". Then right-click and build. > > You should post the error message, or the full log. > > What may have happened is that you don't have java strong encryption > enabled, see here > https://pdfbox.apache.org/2.0/dependencies.html > > Alternatively, build with -DskipTests=true > > Tilman > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >

