WAR Maven Plugin for Tuscany
----------------------------
Key: TUSCANY-688
URL: http://issues.apache.org/jira/browse/TUSCANY-688
Project: Tuscany
Issue Type: New Feature
Components: Java SCA Tools
Affects Versions: Java-M2
Reporter: Meeraj Kunnumpurath
Priority: Minor
Attachments: tuscany-war-plugin-src.jar
Hi,
This is the first cut for the Maven plugin for the Tuscany war plugin. The
plugin is attached to the packaged phase and works on the WAR file produced by
the Maven WAR plugin. It accepts the boot and extension libraries as
configuration parameteres and adds them to the original WAR at relavant
locations. Outstanding stuff,
<li>Verify the presence of the required context listeners in web XML and add
them if not present.</li>
<li>Defaults handling, don't know what the defaults are :-)</li>
Here is a usage pattern,
<code>
<project>
<modelVersion>4.0.0</modelVersion>
<artifactId>MyWar</artifactId>
<packaging>war</packaging>
<groupId>MyCompany</groupId>
<description>My War</description>
<version>1.0</version>
<build>
<plugins>
<plugin>
<groupId>org.apache.tuscany</groupId>
<artifactId>tuscany-war-plugin</artifactId>
<extensions>true</extensions>
<executions>
<execution>
<id>tuscany-war</id>
<goals>
<goal>tuscany-war</goal>
</goals>
</execution>
</executions>
<configuration>
<bootLibs>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>1.2</version>
</dependency>
</bootLibs>
<extensions>
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>3.2</version>
</dependency>
</extensions>
</configuration>
</plugin>
</plugins>
</build>
</project>
</code>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]