Hi folks, using 3.0.3.
I'm in the process of creating a test module for my multi-module web project, to perform integration tests.
I have a fairly standard setup, a WAR-type module depending on several other modules. I have some classes I want to test residing on the WAR and some in other modules.
I thought I could count on transitive dependencies, ie.: add just the war as dependency in the test module and other modules will show up as result of transitive dependencies.
The thing is, not even the classes in the WAR show up in the test module. Are WAR-type modules never supossed to be added as dependencies? I read somewhere that transitive dependencies don't work for WARs, does it mean the only way to go is have nearly-empty WARs with all classes in other modules, on which the WAR depends?
(just to confirm this, I changed temporarily the packaging type of my WAR module to JAR, and the test module picked up all transitive dependencies...)
What is the recommended aproach to organize integration testing in a maven multi-module webapp project?
Thanks and have a good day, Alex --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org