Leo Freitas wrote on Tuesday, January 30, 2007 4:24 PM:

> How to fix dependencies among testing code?
> That is, if I have a project B test code that
> depends on project A test code.
> That is, there is abstract/base testing source
> code setup for A that B also uses.
> 
> The usual <dependency> tag (even for test scope)
> would link to B/main/java with A/main/java but
> would not link B/test/java with A/test/java.
> 
> That implies in a compilation error if I try to
> run the test cases for B. I thought to use assemblies
> to fix this, but it does not sound right.
> 
> Any suggestion?

Use a test-jar artifact: 
http://maven.apache.org/guides/mini/guide-attached-tests.html

- Jörg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to