maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From TenLeftFingers <>
Subject Does each maven goal have it's own classpath?
Date Tue, 13 Aug 2013 14:19:15 GMT
Reading the Sonatype tutorial at
I see this:

  Maven also provides for different dependency scopes. The simple project’s
pom.xml contains a single           
  dependency—junit:junit:jar:3.8.1+—with a scope of +test. When a dependency
has a scope of test, it will 
  not   be available to the compile goal of the Compiler plugin. It will be
added to the classpath for only the   
  compiler:testCompile and surefire:test goals.

This implies that each plugin goal can have it's own classpath. Is this

Thanks & regards,

View this message in context:
Sent from the Maven - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message