Thanks for the tip Brian. You lead be on a path to find the answer,
which was not obvious to me before I dove into the dependency-plugin
code. I couldn't understand why I always got 0 artifacts back from
project.getArtifacts(). Finally I found the answer:
@requiresDependencyResolution
You can use the artifact filters in maven-common-artifact-filters...this
has the code that I use in the dependency plugin. It calls through to
the same code the core is using, but lets you filter the entire list in
one shot.
-Original Message-
From: Dennis Lundberg [mailto:[EMAIL