Take a look at the dependency-maven-plugin at http://mojo.codehaus.org. I wrote it initially for this use case.
-----Original Message----- From: Akbarr [mailto:[EMAIL PROTECTED] Sent: Sunday, February 26, 2006 5:14 AM To: Maven Users List Subject: 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
