I don't think it is. The only existing scopes are those listed here: http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_Scope
I guess you can file an enhancement request for this use, but I'm not sure it would really make sense. Since you're likely to want to test this kind of dependency too in your tests. At least, IMO you'll have to provide a good use case to justify this new feature. Cheers. 2009/5/7 Henrik <[email protected]> > Hi, > > I was wondering if there is a way to remove a dependency from the test > classpath when using <scope>runtime</scope> > I want to make sure that the jar file is only used when running the > application and not when testing it. > > So it really comes down to, I want to have the dependency (jar file) but i > don't want to add it to compile or test classpath. > > Thanks, > > Henrik > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Baptiste <Batmat> MATHUS - http://batmat.net Sauvez un arbre, Mangez un castor !
