You'll have to use requires... test and then filter based on the effective scope. The dependency plugin does exactly this and the filters are available in a maven-shared module.
-----Original Message----- From: Edelson, Justin [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2008 2:14 PM To: [email protected] Subject: @requiresDependencyResolution x2 I need to build a classpath which contains dependencies scoped in compile, provided, and runtime. It looks like I need effectively to do this: @requiresDependencyResolution compile @requiresDependencyResolution runtime But that doesn't work. Only the first annotation is used. Is there a way to make this work? Thanks, Justin Edelson VP, Platform Engineering MTV Networks Digital --------------------------------------------------------------------- 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]
