Re: Dependencies between the "test" sections of modules?

2012-07-17 Thread org.apache.maven.user
On Tue, 17 Jul 2012 14:44:57 +0200 Anders Hammar wrote: > Yes, create a jar of the test classes: > http://maven.apache.org/plugins/maven-jar-plugin/test-jar-mojo.html > > There are some limitations in this though (test dependencies are not > transitive). Moving these test classes to a separate p

Re: Dependencies between the "test" sections of modules?

2012-07-17 Thread Thomas Broyer
On Tue, Jul 17, 2012 at 2:39 PM, wrote: > I have a multi-module project P, with modules P.Core, P.A, P.B. > > Both P.A and P.B are different implementations of an API specified > in P.Core. In order to test that all implementations of P.Core have > the same semantics, P.Core exports a set of abst

Re: Dependencies between the "test" sections of modules?

2012-07-17 Thread Anders Hammar
Yes, create a jar of the test classes: http://maven.apache.org/plugins/maven-jar-plugin/test-jar-mojo.html There are some limitations in this though (test dependencies are not transitive). Moving these test classes to a separate project solves that. /Anders On Tue, Jul 17, 2012 at 2:39 PM, wro

Dependencies between the "test" sections of modules?

2012-07-17 Thread org.apache.maven.user
I have a multi-module project P, with modules P.Core, P.A, P.B. Both P.A and P.B are different implementations of an API specified in P.Core. In order to test that all implementations of P.Core have the same semantics, P.Core exports a set of abstract classes containing junit 4 tests which are the