You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Akbarr <ak...@gmail.com> on 2006/02/26 11:13:36 UTC
WAR dependency
I'm trying to use war files as web components, reusing not only Java code but also static web files. So, I'd need that a war project can have a dependency on another war project:
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>com.digibis</groupId>
<artifactId>webmaven_custom</artifactId>
<packaging>war</packaging>
(...)
<dependencies>
<dependency>
<groupId>com.digibis</groupId>
<artifactId>webmaven</artifactId>
<type>war</type>
<version>1.0-SNAPSHOT</version>
</dependency>
</dependencies>
</project>
I know it's not actually possible with Maven2, because dependencies of type "war" are not recognized.
By the way, I suppose I can develop a plugin able to do that, but I'd like to know how could I put my war dependency as a parameter to the plugin, so that I can work with it.
Thanks in advance,
Andrés