cargo-sample-java
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.codehaus.cargo</groupId> <artifactId>cargo-sample-java</artifactId> <version>1.10.21</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- Codehaus Cargo, copyright 2004-2011 Vincent Massol, 2012-2025 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</artifactId> <version>1.10.21</version> </parent> <artifactId>cargo-sample-java</artifactId> <name>Cargo Samples for Java</name> <packaging>jar</packaging> <description>Sample application that exercises the Cargo Java API</description> <dependencies> <dependency> <!-- PingUtils requires org.junit.jupiter.api.Assertions. --> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> </dependency> </dependencies> <build> <plugins> <!-- CARGO-1470: Publish a JAR with the test artifacts so we can add detailed information on supported Resource types in the DataSource and Resource Support page. --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <executions> <execution> <goals> <goal>test-jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <!-- Show the CargoTestCase DisplayName, so that the XML test reports differentiate between the containers and container types the test instances were run on --> <statelessTestsetReporter implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5Xml30StatelessReporter"> <usePhrasedTestCaseMethodName>true</usePhrasedTestCaseMethodName> </statelessTestsetReporter> </configuration> </plugin> </plugins> </build> </project>