You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Meeraj Kunnumpurath (JIRA)" <tu...@ws.apache.org> on 2006/09/03 08:10:22 UTC
[jira] Created: (TUSCANY-688) WAR Maven Plugin for Tuscany
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
Re: [jira] Created: (TUSCANY-688) WAR Maven Plugin for Tuscany
Posted by Jim Marino <jm...@myromatours.com>.
Ah this is good timing. :-) I just got rid of the SDO and Axis
"dependencies" in the webapp projects so this should be a nice way to
have these dependencies assembled at deployment.
Jim
On Sep 2, 2006, at 11:10 PM, Meeraj Kunnumpurath (JIRA) wrote:
> 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: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
[jira] Commented: (TUSCANY-688) WAR Maven Plugin for Tuscany
Posted by "Jeremy Boynes (JIRA)" <tu...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-688?page=comments#action_12433202 ]
Jeremy Boynes commented on TUSCANY-688:
---------------------------------------
The duplicate problem seems to occur if I run the build twice:
$ mvn -o clean
$ mvn -o package
# OK
$ mvn -o package
# Fails
> 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
> Assigned To: Jeremy Boynes
> Priority: Minor
> Attachments: tuscany-war-patch-20060906.txt, tuscany-war-plugin-patch-20060906-2.txt, tuscany-war-plugin-src.jar, tuscany-webapp-sample-patch-20060906.txt
>
>
> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
[jira] Closed: (TUSCANY-688) WAR Maven Plugin for Tuscany
Posted by "Raymond Feng (JIRA)" <tu...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Raymond Feng closed TUSCANY-688.
--------------------------------
Resolution: Fixed
The feature is in for M2.
> WAR Maven Plugin for Tuscany
> ----------------------------
>
> Key: TUSCANY-688
> URL: https://issues.apache.org/jira/browse/TUSCANY-688
> Project: Tuscany
> Issue Type: New Feature
> Components: Java SCA Tools
> Affects Versions: Java-M2
> Reporter: Meeraj Kunnumpurath
> Assigned To: Jeremy Boynes
> Priority: Minor
> Fix For: Java-M2
>
> Attachments: tuscany-war-patch-20060906.txt, tuscany-war-plugin-patch-20060906-2.txt, tuscany-war-plugin-patch-20060907.txt, tuscany-war-plugin-src.jar, tuscany-webapp-sample-patch-20060906.txt
>
>
> 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: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
[jira] Updated: (TUSCANY-688) WAR Maven Plugin for Tuscany
Posted by "Meeraj Kunnumpurath (JIRA)" <tu...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-688?page=all ]
Meeraj Kunnumpurath updated TUSCANY-688:
----------------------------------------
Attachment: tuscany-webapp-sample-patch-20060906.txt
Updated the POM to reflect support for default bootLibs and optional extensions.
> 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
> Assigned To: Jeremy Boynes
> Priority: Minor
> Attachments: tuscany-war-patch-20060906.txt, tuscany-war-plugin-src.jar, tuscany-webapp-sample-patch-20060906.txt
>
>
> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
[jira] Updated: (TUSCANY-688) WAR Maven Plugin for Tuscany
Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-688?page=all ]
ant elder updated TUSCANY-688:
------------------------------
Fix Version/s: Java-M2
> 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
> Assigned To: Jeremy Boynes
> Priority: Minor
> Fix For: Java-M2
>
> Attachments: tuscany-war-patch-20060906.txt, tuscany-war-plugin-patch-20060906-2.txt, tuscany-war-plugin-patch-20060907.txt, tuscany-war-plugin-src.jar, tuscany-webapp-sample-patch-20060906.txt
>
>
> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
[jira] Assigned: (TUSCANY-688) WAR Maven Plugin for Tuscany
Posted by "Jeremy Boynes (JIRA)" <tu...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-688?page=all ]
Jeremy Boynes reassigned TUSCANY-688:
-------------------------------------
Assignee: Jeremy Boynes
> 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
> Assigned To: Jeremy Boynes
> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
[jira] Commented: (TUSCANY-688) WAR Maven Plugin for Tuscany
Posted by "Jeremy Boynes (JIRA)" <tu...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-688?page=comments#action_12433190 ]
Jeremy Boynes commented on TUSCANY-688:
---------------------------------------
Patches applied - thanks.
I did have a slight problem with the sample before applying the sample patch in that the archiver objected to a duplicate entry. It would perhaps be helpful if the plugin could detect duplicates and only add them once. This may prevent duplicates as well - e.g. api ends up in both WEB-INF/lib and in WEB-INF/tuscany/boot
> 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
> Assigned To: Jeremy Boynes
> Priority: Minor
> Attachments: tuscany-war-patch-20060906.txt, tuscany-war-plugin-patch-20060906-2.txt, tuscany-war-plugin-src.jar, tuscany-webapp-sample-patch-20060906.txt
>
>
> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
[jira] Updated: (TUSCANY-688) WAR Maven Plugin for Tuscany
Posted by "Meeraj Kunnumpurath (JIRA)" <tu...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-688?page=all ]
Meeraj Kunnumpurath updated TUSCANY-688:
----------------------------------------
Attachment: tuscany-war-plugin-patch-20060906-2.txt
Removed redundant resolve.
> 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
> Assigned To: Jeremy Boynes
> Priority: Minor
> Attachments: tuscany-war-patch-20060906.txt, tuscany-war-plugin-patch-20060906-2.txt, tuscany-war-plugin-src.jar, tuscany-webapp-sample-patch-20060906.txt
>
>
> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
[jira] Updated: (TUSCANY-688) WAR Maven Plugin for Tuscany
Posted by "Meeraj Kunnumpurath (JIRA)" <tu...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-688?page=all ]
Meeraj Kunnumpurath updated TUSCANY-688:
----------------------------------------
Attachment: tuscany-war-plugin-patch-20060907.txt
Fixed the following issues,
1. Duplicate zip entry exceptions with repeated builds
2. WEB-ING\lib entries are not duplicated into WEB-INF\tuscany\boot and WEB-INF\tuscany\extension directories
BTW, does the CL hiereacy follow the order web CL -> Tuscany boot CL -> Extension CLs? If yes, should the libs in boot not dupliacted in extension?
Ta
Meeraj
> 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
> Assigned To: Jeremy Boynes
> Priority: Minor
> Attachments: tuscany-war-patch-20060906.txt, tuscany-war-plugin-patch-20060906-2.txt, tuscany-war-plugin-patch-20060907.txt, tuscany-war-plugin-src.jar, tuscany-webapp-sample-patch-20060906.txt
>
>
> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
[jira] Updated: (TUSCANY-688) WAR Maven Plugin for Tuscany
Posted by "Meeraj Kunnumpurath (JIRA)" <tu...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-688?page=all ]
Meeraj Kunnumpurath updated TUSCANY-688:
----------------------------------------
Attachment: tuscany-war-patch-20060906.txt
Made the following changes,
1. extensions and bootLibs are optional
2. bootLibs if not specified defaults to webapp-host 1.0 snapshot
3. Dependencies are transitively added for both extensions and bootLibs
4. Dependencies are added into both archive and exploded WAR
> 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
> Assigned To: Jeremy Boynes
> Priority: Minor
> Attachments: tuscany-war-patch-20060906.txt, tuscany-war-plugin-src.jar, tuscany-webapp-sample-patch-20060906.txt
>
>
> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
[jira] Commented: (TUSCANY-688) WAR Maven Plugin for Tuscany
Posted by "Jeremy Boynes (JIRA)" <tu...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-688?page=comments#action_12432526 ]
Jeremy Boynes commented on TUSCANY-688:
---------------------------------------
Patch applied - thanks
> 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
> Assigned To: Jeremy Boynes
> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org