Yes, parity between m2e and maven cli is high priority for us.
Classifier=tests makes test classes/resources visible to dependent
projects both in m2e and cli, so your scenario should work. Are there
reasons you cannot or prefer not to use tests classifier?
Leszek Gawron wrote:
Igor Fedorenko wrote:
Leszek,
Are you using classifier=tests to define project2->project1 dependency
as explained in [1]? Does your test produce expected result on command
line?
I am using the simplest dependency there is, no classifier = tests.
I probably wouldn't be able to reproduce the same behavior in command
line - the command line would pick up only src/main/ resources. If you
are aiming for the same results in command line as in eclipse you're
probably right. Still it was really nice not to have log4j.properties
and other resources copied to every module.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email