Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aether-users] Resolving dependencies from local pom.xml

Jérémy wrote:

Let me explain my problem with more details. So I'm using the
requiresDependencyResolution annotation, but in addition to that I really
need the list of dependencies in order to sort them and output them into a
text file.

Then why not just use

  project.getArtifacts()

or

  project.getCompileClasspathElements()

Getting the list of (transitive) project dependencies is a task that the Maven API specifically simplifies for plugins.


Benjamin



Back to the top