quarkus-cxf-integration-test-client
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.quarkiverse.cxf</groupId> <artifactId>quarkus-cxf-integration-test-client</artifactId> <version>3.23.1</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <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/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>io.quarkiverse.cxf</groupId> <artifactId>quarkus-cxf-integration-tests</artifactId> <version>3.23.1</version> <relativePath>../pom.xml</relativePath> </parent> <artifactId>quarkus-cxf-integration-test-client</artifactId> <name>Quarkus CXF - Integration Test - Client</name> <dependencies> <dependency> <groupId>io.quarkiverse.cxf</groupId> <artifactId>quarkus-cxf</artifactId> </dependency> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-rest</artifactId> </dependency> <dependency> <groupId>io.rest-assured</groupId> <artifactId>rest-assured</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>io.quarkiverse.cxf</groupId> <artifactId>quarkus-cxf-test-util</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.testcontainers</groupId> <artifactId>testcontainers</artifactId> <scope>test</scope> <exclusions> <exclusion> <groupId>junit</groupId> <artifactId>junit</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-junit4-mock</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.awaitility</groupId> <artifactId>awaitility</artifactId> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <!-- tag::first-soap-client.adoc-quarkus-maven-plugin[] --> <plugin> <groupId>io.quarkus</groupId> <artifactId>quarkus-maven-plugin</artifactId> <executions> <execution> <goals> <goal>build</goal> <goal>generate-code</goal> </goals> </execution> </executions> </plugin> <!-- end::first-soap-client.adoc-quarkus-maven-plugin[] --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <executions> <execution> <!-- Copy the sample code to docs module where Antora can see it --> <id>copy-resources-for-antora</id> <phase>compile</phase><!-- after source formatting --> <goals> <goal>copy-resources</goal> </goals> <configuration> <outputDirectory>${maven.multiModuleProjectDirectory}/docs/modules/ROOT/examples/calculator-client</outputDirectory> <resources> <resource> <directory>src/main/resources</directory> <includes> <include>application.properties</include> </includes> </resource> <resource> <directory>src/main/java/io/quarkiverse/cxf/client/it</directory> <includes> <include>CxfClientRestResource.java</include> </includes> </resource> <resource> <directory>src/main/java/io/quarkiverse/cxf/client/it</directory> <includes> <include>DynamicClientConfigRestResource.java</include> </includes> </resource> </resources> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.gmaven</groupId> <artifactId>groovy-maven-plugin</artifactId> <executions> <execution> <id>copy-pom-xml-to-docs</id> <goals> <goal>execute</goal> </goals> <phase>compile</phase><!-- same as the maven-resources-plugin above --> <configuration> <!-- Copy pom.xml changing the parent version so that the destination --> <!-- file does not change after every release --> <source> import java.nio.file.Files import java.nio.file.Path def srcPath = project.basedir.toPath().resolve('pom.xml') def newContent = srcPath.getText('UTF-8') newContent = newContent.replace('<version>${project.version}</version>', '<version>0.0.1-SNAPSHOT</version>') def destPath = Path.of('${maven.multiModuleProjectDirectory}/docs/modules/ROOT/examples/calculator-client/pom.xml') if (!Files.exists(destPath) || !newContent.equals(destPath.getText('UTF-8'))) { destPath.setText(newContent.toString(), 'UTF-8') println('Updated ' + destPath.toString()) } else { println(destPath.toString() + ' is up to date') } </source> </configuration> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>native</id> <activation> <activeByDefault>false</activeByDefault> </activation> <properties> <quarkus.package.type>native</quarkus.package.type> </properties> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <executions> <execution> <goals> <goal>integration-test</goal> <goal>verify</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>virtualDependencies</id> <activation> <property> <name>!noVirtualDependencies</name> </property> </activation> <dependencies> <!-- The following dependencies guarantee that this module is built after them. You can update them by running `mvn process-resources -Pformat -N` from the source tree root directory --> <dependency> <groupId>io.quarkiverse.cxf</groupId> <artifactId>quarkus-cxf-deployment</artifactId> <version>${project.version}</version> <type>pom</type> <scope>test</scope> <exclusions> <exclusion> <groupId>*</groupId> <artifactId>*</artifactId> </exclusion> </exclusions> </dependency> </dependencies> </profile> <profile> <id>skip-testcontainers-tests</id> <activation> <property> <name>skip-testcontainers-tests</name> </property> </activation> <properties> <skipTests>true</skipTests> </properties> </profile> </profiles> </project>