cargo-sample-maven2-implementationClasses-test
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.codehaus.cargo</groupId> <artifactId>cargo-sample-maven2-implementationClasses-test</artifactId> <version>1.7.1</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- ~ Codehaus CARGO, copyright 2004-2011 Vincent Massol, 2012-2018 Ali Tokmen. ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <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> <parent> <groupId>org.codehaus.cargo</groupId> <artifactId>cargo-samples-maven2</artifactId> <version>1.7.1</version> </parent> <artifactId>cargo-sample-maven2-implementationClasses-test</artifactId> <name>Cargo Samples - Maven 2 - Implementation classes' personalisation test</name> <packaging>war</packaging> <description>Sample application that exercises the Cargo Maven 2 / Maven 3 plugin with personalized implementation classes</description> <profiles> <profile> <id>run-its</id> <activation> <property> <name>skipTests</name> <value>!true</value> </property> </activation> <build> <plugins> <plugin> <groupId>org.codehaus.cargo</groupId> <artifactId>cargo-maven2-plugin</artifactId> <version>${project.version}</version> <configuration> <container> <implementation>org.codehaus.cargo.container.stub.EmbeddedLocalContainerStub</implementation> <type>embedded</type> <containerId>myEmbeddedLocalContainer</containerId> </container> <configuration> <implementation>org.codehaus.cargo.container.stub.StandaloneLocalConfigurationStub</implementation> <type>standalone</type> </configuration> <deployer> <implementation>org.codehaus.cargo.container.stub.EmbeddedLocalDeployerStub</implementation> <type>embedded</type> </deployer> </configuration> <executions> <execution> <phase>integration-test</phase> <goals> <goal>start</goal> <goal>deploy</goal> <goal>stop</goal> </goals> </execution> </executions> <dependencies> <dependency> <groupId>org.codehaus.cargo</groupId> <artifactId>cargo-core-api-container</artifactId> <version>${project.version}</version> <type>test-jar</type> </dependency> </dependencies> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <executions> <execution> <id>surefire-it</id> <phase>integration-test</phase> <goals> <goal>test</goal> </goals> <configuration> <skip>false</skip> <systemProperties> <property> <name>artifactId</name> <value>${project.artifactId}</value> </property> <property> <name>target</name> <value>${project.build.directory}</value> </property> </systemProperties> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <skip>true</skip> </configuration> </plugin> </plugins> </build> </project>