Hi,
you can use the war dependency like this :
web framework POM :
<project>
<groupId>sample</groupId>
<modelVersion>4.0.0</modelVersion>
<artifactId>web-fwk</artifactId>
<packaging>war</packaging>
<version>0.9-SNAPSHOT</version>
<name>Web Framework</name>
</project>
web final POM
<project>
<groupId>sample</groupId>
<modelVersion>4.0.0</modelVersion>
<artifactId>web</artifactId>
<packaging>war</packaging>
<version>0.9-SNAPSHOT</version>
<name>Web</name>
<dependencies>
<dependency>
<groupId>sample</groupId>
<artifactId>web-fwk</artifactId>
<version>0.9-SNAPSHOT</version>
<type>war</type>
<scope>compile</scope>
</dependency>
</dependencies>
<build>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.0-beta-3-SNAPSHOT</version>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>exploded</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
This will exploded all war dependencies into your target directory and
classes of all war will be in the classpath.
Eric
--
View this message in context:
http://www.nabble.com/Setting-up-complex-webapp-t1425211.html#a3844842
Sent from the Maven - Users forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]