1

The jar I'm trying to install was built with maven and contains a complete pom.xml inside META-INF/maven/<groupId>/<artifactId>, including it's dependencies.

Eclipse does not resolve/see the transitive dependencies of that jar.

I tried to install both with and without pom generation.

Reto Höhener
  • 5,419
  • 4
  • 39
  • 79
  • 1
    But if you're saying what I think you're saying (you install a JAR manually with `mvn install:install-file` and used a dependency on it, expected the transitive dependencies to be resolved, and the POM inside the JAR to be used), please refer to http://stackoverflow.com/questions/39960571/install-custom-maven-plugin-from-local-jar-into-local-repository-with-dependenci – Tunaki Dec 05 '16 at 23:50
  • Indeed. Let me see if I can get this to run with plugin version 2.6... – Reto Höhener Dec 05 '16 at 23:55
  • 1
    3.0.0 isn't out yet (there is no version 2.6), so you'll need to extract the POM file from the JAR and refer to it with the `-DpomFile` parameter. – Tunaki Dec 05 '16 at 23:55
  • Sigh, ok. Thank you very much! Guess this was a duplicate, then. You can still convert to an answer, though... – Reto Höhener Dec 05 '16 at 23:59
  • No problem, duplicates like this one are great. It is short, clear and to the point. Perfect sign post for future people. – Tunaki Dec 06 '16 at 00:01

0 Answers0