Ah, I misunderstood. Try running 'mvn test -X', you'll be able to see the classpath and verify (look for "[DEBUG] (f) classpathElements")
-----Original Message----- From: Ryan Moquin [mailto:[EMAIL PROTECTED] Sent: Thursday, November 29, 2007 2:49 PM To: Maven Users List Subject: Re: Does Maven 2.0.8 put test dependencies first in classpath? But I mean, if I had a subproject that generates a jar file containing test resources and in include it in another project as a test scoped dependency, will those classes also be first in the classpath since they are an included test resource? On Nov 29, 2007 2:04 PM, <[EMAIL PROTECTED]> wrote: > It's supposed to: > http://maven.apache.org/release-notes.html > > * MNG-3118 - Test-classes should come before classes in the classpath. > This may slightly alter behavior of tests. The test-classes is now > included first in the classpath to allow test resources to override > normal runtime ones. > > -----Original Message----- > From: Ryan Moquin [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 29, 2007 1:45 PM > To: Maven Users List > Subject: Does Maven 2.0.8 put test dependencies first in classpath? > > So if I have a test dependency I include that is meant to override > configuration files in a subproject I am building, should the test jar > dependency override the compile time dependencies in the project being > built? I was hoping this is how 2.0.8 would behave, but either it's > not, or I have an error somewhere.. I want to confirm this before I > spend a time of time troubleshooting it. > > Thanks. > > Visit our website at http://www.ubs.com > > This message contains confidential information and is intended only > for the individual named. If you are not the named addressee you > should not disseminate, distribute or copy this e-mail. Please notify > the sender immediately by e-mail if you have received this e-mail by > mistake and delete this e-mail from your system. > > E-mail transmission cannot be guaranteed to be secure or error-free as > information could be intercepted, corrupted, lost, destroyed, arrive > late or incomplete, or contain viruses. The sender therefore does not > accept liability for any errors or omissions in the contents of this > message which arise as a result of e-mail transmission. If > verification is required please request a hard-copy version. This > message is provided for informational purposes and should not be > construed as a solicitation or offer to buy or sell any securities or > related financial instruments. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
