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 PROTECTED] Sent: Saturday, February 02, 2008 9:03 PM To: [email protected] Subject: How to get the compile class path for a project? I'm trying to solve http://jira.codehaus.org/browse/MCHECKSTYLE-54 Do do this I need to get the compile class path for a MavenProject. How do I go about doing that? The plugin currently calls project.getCompileClasspathElements() which is not returning what I want. -- Dennis Lundberg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
