Take a look at the dependency plugin source. There are filters to get
the correct scope.
Gert Vanthienen wrote:
L.S.,
I'm writing a plugin and would like to get a list of artifacts for the
provided dependencies (including transitive dependencies) for the project.
How can I get this? I was using project.getArtifacts() to get all
dependencies, but this does not include the provided one (running the mojo
during compile phase).
Regards,
Gert
-----
---
Gert Vanthienen
http://gertvanthienen.blogspot.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]