HI,

I have a multimodule project where classes in moduleA depends from classes
in moduleB. So, moduleB is declared as a provided dependency in moduleA.
Besides this dependency,test-classes in moduleA depends from classes and
test-classes in moduleB.

Following the  http://maven.apache.org/guides/mini/guide-attached-tests.html
guide for attached tests  recommends I should enable the jar plugin to
produce the tests jar and change the type tag in the dependency declaration
to test-jar, but this causes not only to fail because test-classes are
missing but also because production-classes are also missing from moduleB.

How to declare the dependency for the test-classes as provided-scoped and
for the test-classes as test-scoped?

Thanks in advance,
IP

--
View this message in context: 
http://maven.40175.n5.nabble.com/Test-classes-depending-on-other-module-s-test-classes-tp4776126p4776126.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to