Git Product home page Git Product logo

Comments (6)

DanielYWoo avatar DanielYWoo commented on September 23, 2024

Daniels-MacBook-Pro:benchmarkPDF danielwu$ mvn clean package
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building test 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for com.github.librepdf.openpdf:openpdf:jar:1.0.3 is missing, no dependency information available
[WARNING] The POM for com.github.librepdf.openpdf:pdf-rtf:jar:1.0.3 is missing, no dependency information available
[WARNING] The POM for com.github.librepdf.openpdf:pdf-xml:jar:1.0.3 is missing, no dependency information available
Downloading: https://repo.maven.apache.org/maven2/com/github/librepdf/openpdf/pdf-rtf/1.0.3/pdf-rtf-1.0.3.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.985 s
[INFO] Finished at: 2017-09-15T11:36:51+08:00
[INFO] Final Memory: 10M/188M
[INFO] ------------------------------------------------------------------------

from openpdf.

asturio avatar asturio commented on September 23, 2024

The correct path should be
https://repo.maven.apache.org/maven2/com/github/librepdf/pdf-rtf/1.0.3/pdf-rtf-1.0.3.jar (without openpdf).

Check the group ID.
It should be
<groupId>com.github.librepdf</groupId>
And not
<groupId>com.github.librepdf**.openpdf**</groupId>

You should use
<dependency>
<groupId>com.github.librepdf</groupId>
<artifactId>pdf-xml</artifactId>
<version>${project.version}</version>
</dependency>

from openpdf.

DanielYWoo avatar DanielYWoo commented on September 23, 2024

This is my config

 <dependency>
     <groupId>com.github.librepdf</groupId>
     <artifactId>openpdf</artifactId>
     <version>1.0.3</version>
     </dependency>
   <dependency>
     <groupId>com.github.librepdf</groupId>
     <artifactId>pdf-html</artifactId>
     <version>1.0.3</version>
   </dependency>

from openpdf.

asturio avatar asturio commented on September 23, 2024

Have you found a solution for your problem?

UPDATE:
Using these dependencies I get the correct artifacts (Please note I get them from repo.maven.apache.org). Please check your maven repositories settings.

Here the output of "mvn compile" in a new project.
Downloading: https://repo.maven.apache.org/maven2/com/github/librepdf/openpdf/1.0.3/openpdf-1.0.3.pom
Downloaded: https://repo.maven.apache.org/maven2/com/github/librepdf/openpdf/1.0.3/openpdf-1.0.3.pom (2 KB at 2.6 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/com/github/librepdf/openpdf-parent/1.0.3/openpdf-parent-1.0.3.pom
Downloaded: https://repo.maven.apache.org/maven2/com/github/librepdf/openpdf-parent/1.0.3/openpdf-parent-1.0.3.pom (11 KB at 113.9 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/com/github/librepdf/pdf-html/1.0.3/pdf-html-1.0.3.pom
Downloaded: https://repo.maven.apache.org/maven2/com/github/librepdf/pdf-html/1.0.3/pdf-html-1.0.3.pom (700 B at 8.4 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/com/github/librepdf/pdf-xml/1.0.3/pdf-xml-1.0.3.pom
Downloaded: https://repo.maven.apache.org/maven2/com/github/librepdf/pdf-xml/1.0.3/pdf-xml-1.0.3.pom (699 B at 8.4 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/com/github/librepdf/openpdf/1.0.3/openpdf-1.0.3.jar
Downloading: https://repo.maven.apache.org/maven2/com/github/librepdf/pdf-html/1.0.3/pdf-html-1.0.3.jar
Downloading: https://repo.maven.apache.org/maven2/com/github/librepdf/pdf-xml/1.0.3/pdf-xml-1.0.3.jar
Downloaded: https://repo.maven.apache.org/maven2/com/github/librepdf/pdf-html/1.0.3/pdf-html-1.0.3.jar (44 KB at 296.5 KB/sec)
Downloaded: https://repo.maven.apache.org/maven2/com/github/librepdf/pdf-xml/1.0.3/pdf-xml-1.0.3.jar (20 KB at 70.0 KB/sec)
Downloaded: https://repo.maven.apache.org/maven2/com/github/librepdf/openpdf/1.0.3/openpdf-1.0.3.jar (1835 KB at 1248.2 KB/sec)

from openpdf.

asturio avatar asturio commented on September 23, 2024

Hi @DanielYWoo, do you still have this problem?

from openpdf.

DanielYWoo avatar DanielYWoo commented on September 23, 2024

No, but I switched to other solutions. Thanks anyway

from openpdf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.