Hello,

Compile scope doesn't mean compile-time only. In fact, it is the broadest of
maven's scopes. Here is what the scopes mean (as far as I can tell):

compile  available when compiling, testing, and running
runtime  available when testing and running
provided  available when compiling and testing
test  available when testing

Here, "testing" means both the compileTest and test phases.

So I think you want the provided scope.

Paul

-- 
View this message in context: 
http://www.nabble.com/Odd-dependency-behaviour-with-java.servlet-servlet-api-in-M2-2.0.4-tf2496526.html#a6959778
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to