Actually the latest development version of the maven-war-plugin should support this. MNG-1507 added the ability to merge war dependencies into the target war artifact.
http://jira.codehaus.org/browse/MNG-1507 Files are never overwritten and includes/excludes are supported with the following syntax: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>2.0-beta-3-SNAPSHOT</version> <configuration> <!-- This is the default for dependentWarIncludes <dependentWarIncludes>**</dependentWarIncludes> --> <dependentWarExcludes>**/*.properties</dependentWarExcludes> </configuration> </plugin> Just create a dependency of <type>war</type>. -David -----Original Message----- From: Nathan Coast [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 30, 2005 3:56 AM To: Maven Users List Subject: shared web components Hi, Is there a plugin for M1.1 or M2 which handles artifacts that may be used by more than one webapp. e.g. I may have a project that contains web artifacts: jsps, css, html, images, js, etc. May also contain java classes, tlds etc. I wish to use these components within other webapps. When including within other webapps, the web artifacts would be copied to the target webapp directory and any classes could be included in a jar within the WEB-INF/lib directory. Does such a plugin exist? or is there one in the pipeline? The functionality is a more generalised version of the maven-struts-module-plugin developed to include pre-built struts-modules within other struts webapps. http://www.codeczar.com/products/maven-struts-module-plugin/index.html cheers Nathan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
