Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
xml
xml
<dependencies>
  <dependency>
    <groupId>org.codehaus.cargo</groupId>
    <artifactId>simple-war</artifactId>
    <version>${simple-war.version}</version>
    <type>war</type>
  </dependency>
</dependencies>

<plugins>
  <plugin>
    <groupId>org.codehaus.cargo</groupId>
    <artifactId>cargo-maven2-plugin</artifactId>
    <version>${cargo.version}</version>
    <configuration>
      <containerId>tomcat6x</containerId>
      <zipUrlInstaller>
        <url>http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.33/bin/apache-tomcat-6.0.33.zip</url>
      </zipUrlInstaller>
      <configuration>
        <deployables>
          <deployable>
            <groupId>org.codehaus.cargo</groupId>
            <artifactId>simple-war</artifactId>
            <type>war</type>
            <properties><!--
              <context>application-context</context>Override location to point to the exploded webapp.
       <!--       -->
         Override location to point to the exploded webapp. <location>some/expanded/war/directory</location>
            <properties>
       -->               <location>some/expanded/war/directory</location><context>application-context</context>
            </properties>
          </deployable>
        </deployables>
      </configuration>
    </configuration>
  </plugin>
</plugins>

...