Thanks Brian.

________________________________

From: Brian E. Fox [mailto:[EMAIL PROTECTED]
Sent: Wed 7/16/2008 4:20 PM
To: Maven Users List
Subject: RE: @requiresDependencyResolution x2



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]



Reply via email to