Re: How to get the compile class path for a project?

2008-02-03 Thread Dennis Lundberg
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

RE: How to get the compile class path for a project?

2008-02-02 Thread Brian E. Fox
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