Hi to all,

i have a larger structure of modules which built a multi-module-build which
contains (an excerpt of my structure) the following two modules where my
problem is focused on:

root
 +-- mod-war
 +-- mod-it

where the mod-war obviously contains the WAR module with the web-application
(packaging war) and the mod-it contains the integration tests. So my problem
is that i can't use a Class which is defined in the mod-war package under
src/main/java/..../ClassName.java in my Integration test
(src/test/java/XYZIT.java)....

I already have a dependency to my mod-war to make sure the reactor will
build the mod-war before mod-it 
...

Here my snippet from the mod-it POM:

<dependency>
  <groupId>${project.groupId}</groupId>
  <artifactId>mod-war</artifactId>
  <version>${project.version}</version>
  <type>war</type>
  <scope>test</scope>
</dependency>

So the question is: Does exist a solution? Or do i need to define a separate
module with my classes which i would like to use in my integration tests and
in the mod-war ?

Kind regards
Karl Heinz Marbaise


-----
Kind regards
Karl Heinz Marbaise
----
http://www.soebes.de
http://www.skmwiki.de
http://supose.org/wiki/supose
--
View this message in context: 
http://maven.40175.n5.nabble.com/Integration-Test-Dependency-and-WAR-Packaging-tp5016434p5016434.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to