Thanks!
"Martijn Dashorst" <[EMAIL PROTECTED]> 30.08.2006 16:17 Please respond to "Maven Users List" <users@maven.apache.org> To "Maven Users List" <users@maven.apache.org> cc Subject Re: Re: Re: Dependency scopes Reviewed by Category Yes, but "runtime classpath" != "runtime scope" runtime classpath == union(compile, runtime scope) Martijn On 8/30/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > So, this means that war and ear plug-ins reference the runtime classpath > instead of say compile or test. Correct? > > "Martijn Dashorst" <[EMAIL PROTECTED]> wrote on 30.08.2006 > 15:37:56: > > > No, but maven is also used to create war, ear and other distribution > > packages. These packages need those actual runtime dependencies inside > > them. > > > > So for testing I need junit, but not at runtime -> test scope > > For testing I may not have a need for oracle-jdbc (using hsqldb for > > unittests), but at runtime I will (if deploying on an oracle database) > > -> runtime scope. > > > > For testing I need the interfaces for the servlet api, but those > > interfaces are available at runtiime in the tomcat server for my web > > application. So the servlet api JAR (javax.servlet-2.3.jar) is needed > > for compile *and* test, but doesn't need to go into the WAR archive -> > > provided scope. > > > > hth. > > > > Martijn > > > ************************ DISCLAIMER ************************ > This message is intended only for use by the person > to whom it is addressed. It may contain information > that is privileged and confidential. Its content does > not constitute a formal commitment by Lombard > Odier Darier Hentsch Group and any of its affiliates. > If you are not the intended recipient of this message, > kindly notify the sender immediately and destroy this > message. Thank You. > ***************************************************************** > > -- Download Wicket 1.2.2 now! New Ajax components: Tree, TreeTable and ModalWindow -- http://wicketframework.org --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ************************ DISCLAIMER ************************ This message is intended only for use by the person to whom it is addressed. It may contain information that is privileged and confidential. Its content does not constitute a formal commitment by Lombard Odier Darier Hentsch Group and any of its affiliates. If you are not the intended recipient of this message, kindly notify the sender immediately and destroy this message. Thank You. *****************************************************************