Correct. m2e creates classpath entry for src/test/java whether it exists
or not. The classpath entry is marked as optional and should be ignored
by jdt and other tooling.

--
Regards,
Igor

On 2014-08-15, 21:40, Jason W. King wrote:
So you're saying m2e will always add src/test/java to the .classpath whether it 
exists or not?

Jason King
Software Engineer
Open Roads Consulting, Inc.
(757) 546-3401 | [email protected]


-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Igor Fedorenko
Sent: Friday, August 15, 2014 1:35 PM
To: [email protected]
Subject: Re: [m2e-users] Test directory on classpath regardless of existence

It is not possible to configure how m2e creates .classpath entries, but you can 
implement your own project configurator to do what's appropriate for your 
specific usecases.

--
Regards,
Igor

On 2014-08-15, 21:28, Jason W. King wrote:
All,

When I import my Maven project into Eclipse, the src/test/java
directory is getting added to the .classpath file even if it's not
there.  Is there some way that I can configure this so that it doesn't happen?

Thanks in advance!



----------------------------------------------------------------------
-- This email communication (including any attachments) may contain
confidential and/or privileged material intended solely for the individual or 
entity to which it is addressed.
If you are not the intended recipient, please delete this email immediately.


_______________________________________________
m2e-users mailing list
[email protected]
To change your delivery options, retrieve your password, or
unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/m2e-users

_______________________________________________
m2e-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit https://dev.eclipse.org/mailman/listinfo/m2e-users


This email communication (including any attachments) may contain confidential 
and/or privileged material intended solely for the individual or entity to 
which it is addressed.
If you are not the intended recipient, please delete this email immediately.

_______________________________________________
m2e-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/m2e-users

_______________________________________________
m2e-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/m2e-users

Reply via email to