Just to clarify, the regular Maven dependency resolution rules apply. So, your second project should have declared dependency on the test artifact with "tests" classifier as described there http://maven.apache.org/guides/mini/guide-attached-tests.html But like Igor said, those artifacts would be also resolved from Eclipse workspace, unless you disable workspace dependency resolution in your project. I've added note about this to the wiki page at http://docs.codehaus.org/display/M2ECLIPSE/Dependency+Management

 regards,
 Eugene


Igor Fedorenko wrote:
Barry,

Yes, workspace dependency resolution [1] works for test artifacts and artifacts with classifiers in general. It is enabled by default so everything should work "out of the box".

[1] http://docs.codehaus.org/display/M2ECLIPSE/Dependency+Management


Barry Kaplan wrote:
Is there any way to use m2e form multiple projects which have dependencies on
test artifacts without having to do an "install" to create test-jars?
(Similar to how eclipse:eclipse works).



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to