maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iapazmino <iapazm...@gmail.com>
Subject Test classes depending on other module's test classes
Date Tue, 06 Sep 2011 21:16:05 GMT
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message