Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-688

WAR Maven Plugin for Tuscany

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Java-SCA-M2
    • Java-SCA-M2
    • Java SCA Tools
    • None

    Description

      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>

      Attachments

        1. tuscany-war-plugin-patch-20060907.txt
          3 kB
          Meeraj Kunnumpurath
        2. tuscany-war-plugin-patch-20060906-2.txt
          15 kB
          Meeraj Kunnumpurath
        3. tuscany-webapp-sample-patch-20060906.txt
          3 kB
          Meeraj Kunnumpurath
        4. tuscany-war-patch-20060906.txt
          15 kB
          Meeraj Kunnumpurath
        5. ASF.LICENSE.NOT.GRANTED--tuscany-war-plugin-src.jar
          5 kB
          Meeraj Kunnumpurath

        Activity

          People

            jboynes Jeremy Boynes
            meeraj.kunnumpurath Meeraj Kunnumpurath
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: