jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Petar Tahchiev <paranoia...@gmail.com>
Subject Re: Cactus and maven 2
Date Tue, 02 Feb 2010 19:49:46 GMT
http://jakarta.apache.org/cactus/integration/maven2/index.html

as well as the sample applications that can be found in the
cactus svn and in the cactus distro ;)

2010/2/2 mark babcock <markababcock@gmail.com>

> Where can I find information on installing cactus 1.8.1 and getting the
> goals to work for maven 2.
> my POM.xml is below.   How do I get the goals to work?
>
> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance"
>  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/maven-v4_0_0.xsd">
>  <modelVersion>4.0.0</modelVersion>
>  <groupId>gov.virginia.dss</groupId>
>  <artifactId>RajDemoHudsonCactus</artifactId>
>  <packaging>war</packaging>
>  <version>1.0-SNAPSHOT</version>
>  <name>RajDemoHudsonCactus Maven Webapp</name>
>  <url>http://maven.apache.org</url>
> <repositories>
>  <repository>
>  <id>java.net</id>
>  <url>http://download.java.net/maven/2</url>
>  </repository>
>
> </repositories>
>  <dependencies>
>    <dependency>
>      <groupId>junit</groupId>
>      <artifactId>junit</artifactId>
>      <version>4.4</version>
>      <scope>test</scope>
>    </dependency>
>  <dependency>
>  <groupId>javax</groupId>
>  <artifactId>javaee-api</artifactId>
>  <version>6.0</version>
>  <scope>compile</scope>
>  </dependency>
>  <dependency>
>  <groupId>cactus</groupId>
>  <artifactId>cactus.core.framework.uberjar.javaEE.15</artifactId>
>  <version>1.8.0</version>
>  </dependency>
>  <dependency>
>  <groupId>cactus</groupId>
>  <artifactId>cactus.integration.shared.api</artifactId>
>  <version>1.8.0</version>
>  </dependency>
>  </dependencies>
>  <build>
>
> <finalName>RajDemoHudsonCactus</finalName>
>  <plugins>
>  <plugin>
>   <groupId>org.mortbay.jetty</groupId>
>   <artifactId>maven-jetty-plugin</artifactId>
>  </plugin>
>
>      <plugin>
>        <groupId>org.apache.cactus</groupId>
>        <artifactId>cactus.integration.maven2</artifactId>
>        <version>1.8.1</version>
>        <configuration>
>          <srcFile>ready.war</srcFile>
>          <destFile>cactifiedByMaven2.war</destFile>
>        </configuration>
>        <executions>
>          <execution>
>            <id>cactus-cactifywar</id>
>            <phase>pre-integration-test</phase>
>            <goals>
>              <goal>cactifywar</goal>
>            </goals>
>          </execution>
>        </executions>
>      </plugin>
>      <plugin>
>        <groupId>org.codehaus.cargo</groupId>
>        <artifactId>cargo-maven2-plugin</artifactId>
>        <version>1.0</version>
>        <executions>
>          <execution>
>            <id>start-container</id>
>            <phase>pre-integration-test</phase>
>            <goals>
>              <goal>start</goal>
>            </goals>
>          </execution>
>          <execution>
>            <id>stop-container</id>
>            <phase>post-integration-test</phase>
>            <goals>
>              <goal>stop</goal>
>            </goals>
>          </execution>
>        </executions>
>        <configuration>
>          <wait>false</wait>
>          <timeout>20000</timeout>
>          <container>
>            <containerId>tomcat5x</containerId>
>            <zipUrlInstaller>
>              <url>
>
> http://apache.speedbone.de/tomcat/tomcat-5/v5.5.25/bin/apache-tomcat-5.5.25.zip
> </url>
>              <installDir>${basedir}/install</installDir>
>            </zipUrlInstaller>
>          </container>
>          <configuration>
>             <deployables>
>              <deployable>
>                 <location>cactifiedByMaven2.war</location>
>                 <pingURL>http://localhost:8080/test/</pingURL>
>                 <properties>
>                    <context>/test</context>
>                 </properties>
>              </deployable>
>            </deployables>
>          </configuration>
>        </configuration>
>      </plugin>
>      <plugin>
>        <groupId>org.apache.maven.plugins</groupId>
>        <artifactId>maven-surefire-plugin</artifactId>
>        <configuration>
>          <skip>true</skip>
>        </configuration>
>        <executions>
>          <execution>
>            <id>surefire-it</id>
>            <phase>integration-test</phase>
>            <goals>
>              <goal>test</goal>
>            </goals>
>            <configuration>
>              <skip>false</skip>
>              <systemProperties>
>                <property>
>                  <name>cactus.contextURL</name>
>                  <value>http://localhost:8080/test/</value>
>                </property>
>              </systemProperties>
>            </configuration>
>          </execution>
>        </executions>
>      </plugin>
>    </plugins>
> </build>
> </project>
>



-- 
Regards, Petar!
Karlovo, Bulgaria.
- - - - - - - -
| Author @ Manning Publications.
| CEO @ Phamola
| BGJUG-Bulgarian Java User Group Leader.
| Apache Maven Developer.
| Apache Jakarta PMC member.
| Jakarta Cactus Lead Developer.
| Codehaus Plexus Developer
| Blogger: http://weblogs.java.net/blog/paranoiabla/
- - - - - - - -
Public PGP Key at:
https://keyserver1.pgp.com/vkd/DownloadKey.event?keyid=0x19658550C3110611
Key Fingerprint: A369 A7EE 61BC 93A3 CDFF  55A5 1965 8550 C311 0611

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message