Hi,
> Roberto Nibali hat am 7. Juli 2015 um 11:43 geschrieben:
>
>
> Hi
>
> How do I properly set the dependencies in my Maven POM, so I can use the
> latest SNAPSHOT of pdfbox?
>
> I tried the following (https://pdfbox.apache.org/2.0/getting-started.html),
> which does not work at all:
>
> To use the latest 2.0 snapshot release from the SVN trunk, you'll need to
> add the following dependency:
>
>
> org.apache.pdfbox
> pdfbox-app
> 2.0.0-SNAPSHOT
>
> You'll also need to add the following repository:
>
>
> ApacheSnapshot
> Apache Repository
> https://repository.apache.org/content/groups/snapshots/
>
> true
>
>
> And why did the project change its name from pdfbox to pdfbox-app?
That was wrong. It has to be "pdfbox". I've already fixed that.
> Then I tried to download all the 2.0.0-SNAPSHOT JARS I could find at:
>
> https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/
>
> Adding them manually to the POM didn't work:
>
>
> org.apache.pdfbox
> pdfbox
> 2.0.0-SNAPSHOT
> system
>
>
> ${project.basedir}/extLib/pdfbox-2.0.0-20150707.080520-1509.jar
>
>
> Any ideas? Do I need the pdfbox or pdfbox-app artifact? How do I add
> potential dependencies like fontbox or jempbox (which hasn't been updated
> since 2014)?
The pdfbox-dependency should be sufficient.
> Also, it seems that the following packages do not form part of pdfbox
> anymore:
>
> import org.apache.pdfbox.exceptions.CryptographyException;
> import org.apache.pdfbox.pdmodel.encryption.BadSecurityHandlerException;
> import org.apache.pdfbox.util.PDFOperator;
2.0.0 contains improvements, fixes and refactorings which leads to change sin
the api. The new version isn't binary compatible to 1.8.x
> Or this could be the result of my inability to properly set the POM
> dependencies.
>
> Best regards
> Roberto
BR
Andreas
-
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org