Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Test claspath in Eclipse x Maven CLI

On the topic of classpath's in m2e - is there a reason why the maven classpath container does not
have an option to select which scope one wants for a specific launch?

/max

On Jul 7, 2011, at 01:25, Igor Fedorenko wrote:

> Expected runtime classpath is documented in [1]. If this does not match
> observed behaviour when using clean m2e 1.0 install, please open a
> bugreport and provide sample project and steps to reproduce the problem.
> 
> [1] https://docs.sonatype.org/display/M2ECLIPSE/Runtime+classpath
> 
> --
> Regards,
> Igor
> 
> On 11-07-07 1:17 AM, Daniel Serodio (lists) wrote:
>> How can I use the same test classpath both for running JUnit tests from
>> within Eclipse and for running "mvn test" from the commandline?
>> 
>> Currently, when I run JUnit tests from Eclipse it loads resources from
>> src/main/resources instead of src/test/resources.
>> 
>> I'm using Maven 2.2.1, Eclipse 3.6.2 and m2e 0.12
>> 
>> Thanks in advance,
>> Daniel Serodio
>> _______________________________________________
>> m2e-users mailing list
>> m2e-users@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/m2e-users
> _______________________________________________
> m2e-users mailing list
> m2e-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/m2e-users

/max
http://about.me/maxandersen





Back to the top