jax-rs-client-test
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.github.sola-ris</groupId> <artifactId>jax-rs-client-test</artifactId> <version>0.1.0</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> <groupId>io.github.sola-ris</groupId> <artifactId>jax-rs-client-test</artifactId> <version>0.1.0</version> <name>JAX-RS Client Test</name> <url>https://github.com/Sola-ris/jax-rs-client-test</url> <description> A library for testing classes that rely on a JAX-RS Client without starting a full server or relying on mocking libraries. </description> <licenses> <license> <name>Apache-2.0</name> <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> </license> </licenses> <developers> <developer> <name>Sola-ris</name> <email>190788035+sola-ris@users.noreply.github.com</email> </developer> </developers> <scm> <tag>0.1.0</tag> <url>https://github.com/Sola-ris/jax-rs-client-test</url> <connection>scm:git:https://github.com/Sola-ris/jax-rs-client-test.git</connection> <developerConnection>scm:git:https://github.com/Sola-ris/jax-rs-client-test.git</developerConnection> </scm> <issueManagement> <system>GitHub Issues</system> <url>https://github.com/Sola-ris/jax-rs-client-test/issues</url> </issueManagement> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.outputTimestamp>2025-08-03T19:00:31Z</project.build.outputTimestamp> <maven.deploy.skip>true</maven.deploy.skip> <maven.compiler.release>17</maven.compiler.release> <version.jersey>3.1.10</version.jersey> <version.quarkus>3.25.0</version.quarkus> <version.resteasy>6.2.12.Final</version.resteasy> </properties> <dependencyManagement> <dependencies> <dependency> <groupId>org.junit</groupId> <artifactId>junit-bom</artifactId> <version>5.13.4</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>jakarta.ws.rs</groupId> <artifactId>jakarta.ws.rs-api</artifactId> <version>3.1.0</version> </dependency> <dependency> <groupId>com.jayway.jsonpath</groupId> <artifactId>json-path</artifactId> <version>2.9.0</version> </dependency> <!-- Override vulnerable dependency of json-path --> <dependency> <groupId>net.minidev</groupId> <artifactId>json-smart</artifactId> <version>2.5.2</version> <scope>runtime</scope> </dependency> <dependency> <groupId>org.jspecify</groupId> <artifactId>jspecify</artifactId> <version>1.0.0</version> </dependency> <!-- Tests --> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-params</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>5.18.0</version> <scope>test</scope> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <version>3.27.3</version> <scope>test</scope> </dependency> <dependency> <groupId>org.eclipse.microprofile.rest.client</groupId> <artifactId>microprofile-rest-client-api</artifactId> <version>4.0</version> <scope>test</scope> </dependency> <!-- Quarkus --> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-junit5</artifactId> <version>${version.quarkus}</version> <scope>test</scope> <exclusions> <exclusion> <groupId>io.quarkus</groupId> <artifactId>quarkus-bootstrap-gradle-resolver</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-arc</artifactId> <version>${version.quarkus}</version> <scope>test</scope> </dependency> <!-- Required by Quarkus, pinned to prevent being downgraded --> <dependency> <groupId>io.smallrye.common</groupId> <artifactId>smallrye-common-net</artifactId> <version>2.13.7</version> <scope>test</scope> </dependency> <!-- JAX-RS Vendors --> <dependency> <groupId>org.glassfish.jersey.core</groupId> <artifactId>jersey-client</artifactId> <version>${version.jersey}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.glassfish.jersey.inject</groupId> <artifactId>jersey-hk2</artifactId> <version>${version.jersey}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.glassfish.jersey.incubator</groupId> <artifactId>jersey-injectless-client</artifactId> <version>${version.jersey}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.glassfish.jersey.media</groupId> <artifactId>jersey-media-json-jackson</artifactId> <version>${version.jersey}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.glassfish.jersey.media</groupId> <artifactId>jersey-media-jaxb</artifactId> <version>${version.jersey}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.glassfish.jersey.media</groupId> <artifactId>jersey-media-multipart</artifactId> <version>${version.jersey}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.glassfish.jersey.ext.microprofile</groupId> <artifactId>jersey-mp-rest-client</artifactId> <version>${version.jersey}</version> <scope>test</scope> <exclusions> <exclusion> <groupId>org.glassfish.jersey.media</groupId> <artifactId>jersey-media-json-binding</artifactId> </exclusion> <exclusion> <groupId>org.glassfish.jersey.ext.cdi</groupId> <artifactId>jersey-weld2-se</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.jboss.resteasy</groupId> <artifactId>resteasy-client</artifactId> <version>${version.resteasy}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.jboss.resteasy</groupId> <artifactId>resteasy-jackson2-provider</artifactId> <version>${version.resteasy}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.jboss.resteasy</groupId> <artifactId>resteasy-jaxb-provider</artifactId> <version>${version.resteasy}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.jboss.resteasy</groupId> <artifactId>resteasy-multipart-provider</artifactId> <version>${version.resteasy}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.jboss.resteasy.microprofile</groupId> <artifactId>microprofile-rest-client</artifactId> <version>3.0.1.Final</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-rs-client</artifactId> <version>4.1.2</version> <scope>test</scope> </dependency> <!-- ClientRequestContext::getConfiguration always returns null in CXF --> <!--<dependency>--> <!-- <groupId>org.apache.cxf</groupId>--> <!-- <artifactId>cxf-rt-rs-mp-client</artifactId>--> <!-- <version>4.1.0</version>--> <!-- <scope>test</scope>--> <!--</dependency>--> <dependency> <groupId>com.fasterxml.jackson.jakarta.rs</groupId> <artifactId>jackson-jakarta-rs-json-provider</artifactId> <version>2.18.3</version> <scope>test</scope> </dependency> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-rest-client-jaxb</artifactId> <version>${version.quarkus}</version> <scope>test</scope> </dependency> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-rest-client-jackson</artifactId> <version>${version.quarkus}</version> <scope>test</scope> </dependency> </dependencies> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>3.2.8</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> <configuration> <bestPractices>true</bestPractices> <gpgArguments> <arg>--pinentry-mode</arg> <arg>loopback</arg> </gpgArguments> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>3.1.1</version> <configuration> <!-- Prepare --> <signTag>true</signTag> <pushChanges>false</pushChanges> <preparationGoals>clean install</preparationGoals> <preparationProfiles>prepare-release</preparationProfiles> <!-- Perform --> <localCheckout>true</localCheckout> <releaseProfiles>perform-release</releaseProfiles> </configuration> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.14.0</version> <executions> <execution> <id>default-compile</id> <configuration> <failOnWarning>true</failOnWarning> <compilerArgs> <arg>-Xlint:all,-requires-automatic</arg> <arg>-XDcompilePolicy=simple</arg> <arg> -Xplugin:ErrorProne \ -XepDisableAllChecks \ -Xep:NullAway:ERROR \ -XepOpt:NullAway:JSpecifyMode=true \ -XepOpt:NullAway:OnlyNullMarked=true \ -XepOpt:NullAway:CheckContracts=true \ -XepOpt:NullAway:CustomContractAnnotations=io.github.solaris.jaxrs.client.test.internal.Contract </arg> <arg>--should-stop=ifError=FLOW</arg> </compilerArgs> <annotationProcessorPaths> <path> <groupId>com.google.errorprone</groupId> <artifactId>error_prone_core</artifactId> <version>2.41.0</version> </path> <path> <groupId>com.uber.nullaway</groupId> <artifactId>nullaway</artifactId> <version>0.12.7</version> </path> </annotationProcessorPaths> </configuration> </execution> <execution> <id>default-testCompile</id> <configuration> <useModulePath>false</useModulePath> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.3.1</version> <executions> <execution> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.11.2</version> <executions> <execution> <goals> <goal>jar</goal> </goals> <configuration> <doclint>all,-missing</doclint> <links> <link>https://jspecify.dev/docs/api/</link> <link>https://jakarta.ee/specifications/restful-ws/3.1/apidocs/</link> <link>https://download.eclipse.org/microprofile/microprofile-rest-client-4.0/apidocs/</link> </links> <additionalDependencies> <additionalDependency> <groupId>org.eclipse.microprofile.rest.client</groupId> <artifactId>microprofile-rest-client-api</artifactId> <version>4.0</version> </additionalDependency> </additionalDependencies> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.13</version> <executions> <execution> <id>prepare-agent</id> <goals> <goal>prepare-agent</goal> </goals> <configuration> <includes> <include>io.github.solaris*</include> </includes> </configuration> </execution> <execution> <id>report</id> <goals> <goal>report</goal> </goals> <configuration> <excludes> <exclude>**/RequestContextStub.class</exclude> </excludes> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.5.3</version> <configuration> <reportFormat>plain</reportFormat> <failIfNoTests>true</failIfNoTests> <useModulePath>false</useModulePath> <argLine>-Duser.language=en @{argLine}</argLine> <redirectTestOutputToFile>true</redirectTestOutputToFile> <systemPropertyVariables> <quarkus.native.builder-image>commandline</quarkus.native.builder-image> <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager> <junit.platform.discovery.issue.severity.critical>INFO</junit.platform.discovery.issue.severity.critical> </systemPropertyVariables> <consoleOutputReporter implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5ConsoleOutputReporter"> <usePhrasedFileName>false</usePhrasedFileName> </consoleOutputReporter> <statelessTestsetInfoReporter implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5StatelessTestsetInfoReporter"> <usePhrasedFileName>false</usePhrasedFileName> <usePhrasedClassNameInRunning>true</usePhrasedClassNameInRunning> <usePhrasedClassNameInTestCaseSummary>true</usePhrasedClassNameInTestCaseSummary> </statelessTestsetInfoReporter> <statelessTestsetReporter implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5Xml30StatelessReporter"> <usePhrasedFileName>false</usePhrasedFileName> <usePhrasedTestCaseClassName>true</usePhrasedTestCaseClassName> <usePhrasedTestSuiteClassName>true</usePhrasedTestSuiteClassName> <usePhrasedTestCaseMethodName>true</usePhrasedTestCaseMethodName> </statelessTestsetReporter> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>3.6.1</version> <executions> <execution> <id>attach-license</id> <phase>generate-resources</phase> <goals> <goal>add-resource</goal> </goals> <configuration> <resources> <resource> <directory>.</directory> <targetPath>META-INF</targetPath> <includes> <include>LICENSE</include> </includes> </resource> </resources> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.cyclonedx</groupId> <artifactId>cyclonedx-maven-plugin</artifactId> <version>2.9.1</version> <executions> <execution> <goals> <goal>makeBom</goal> </goals> <configuration> <skipNotDeployed>false</skipNotDeployed> <includeSystemScope>false</includeSystemScope> </configuration> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>prepare-release</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <version>3.6.1</version> <executions> <execution> <id>enforce-release-deps</id> <goals> <goal>enforce</goal> </goals> <configuration> <rules> <requireReleaseDeps /> </rules> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> </plugin> </plugins> </build> </profile> <profile> <id>perform-release</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-artifact-plugin</artifactId> <version>3.6.0</version> <executions> <execution> <phase>verify</phase> <goals> <goal>compare</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> </plugin> <plugin> <groupId>org.sonatype.central</groupId> <artifactId>central-publishing-maven-plugin</artifactId> <version>0.8.0</version> <extensions>true</extensions> <executions> <execution> <id>publish-artifacts</id> <phase>deploy</phase> <goals> <goal>publish</goal> </goals> <configuration> <checksums>all</checksums> <autoPublish>true</autoPublish> <waitUntil>published</waitUntil> <deploymentName>${project.artifactId} - ${project.version}</deploymentName> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>