| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You 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.apache.tomee</groupId> |
| <artifactId>microprofile-tck</artifactId> |
| <version>8.0.8</version> |
| </parent> |
| |
| <artifactId>microprofile-rest-client-tck</artifactId> |
| <name>TomEE :: TCK :: MicroProfile Rest Client TCK</name> |
| |
| <build> |
| <plugins> |
| |
| <plugin> |
| <groupId>uk.co.automatictester</groupId> |
| <artifactId>wiremock-maven-plugin</artifactId> |
| <version>3.0.0</version> |
| <configuration> |
| <dir>target/classes</dir> |
| <params>--port=8765 --verbose</params> |
| </configuration> |
| <executions> |
| <execution> |
| <id>start-wiremock</id> |
| <phase>generate-test-sources</phase> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>stop-wiremock</id> |
| <phase>prepare-package</phase> |
| <goals> |
| <goal>stop</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.22.0</version> |
| <configuration> |
| <dependenciesToScan> |
| <dependency>org.eclipse.microprofile.rest.client:microprofile-rest-client-tck</dependency> |
| </dependenciesToScan> |
| <excludes> |
| <!-- TODO - Remove once issue https://github.com/eclipse/microprofile-rest-client/issues/166 is solved --> |
| <exclude>org.eclipse.microprofile.rest.client.tck.InvokeWithJsonBProviderTest</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>mp-tck-all</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>tomee-plus</id> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| <configuration> |
| <systemPropertyVariables> |
| <arquillian.launch>tomee-plus</arquillian.launch> |
| </systemPropertyVariables> |
| </configuration> |
| </execution> |
| <execution> |
| <id>tomee-plume</id> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| <configuration> |
| <systemPropertyVariables> |
| <arquillian.launch>tomee-plume</arquillian.launch> |
| </systemPropertyVariables> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.eclipse.microprofile.rest.client</groupId> |
| <artifactId>microprofile-rest-client-api</artifactId> |
| <version>${microprofile.rest-client.version}</version> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>javax.inject</groupId> |
| <artifactId>javax.inject</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.eclipse.microprofile.rest.client</groupId> |
| <artifactId>microprofile-rest-client-tck</artifactId> |
| <version>${microprofile.rest-client.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>apache-tomee</artifactId> |
| <version>${project.version}</version> |
| <type>zip</type> |
| <classifier>microprofile</classifier> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.testng</groupId> |
| <artifactId>testng</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.github.tomakehurst</groupId> |
| <artifactId>wiremock</artifactId> |
| <version>2.10.1</version> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-server</artifactId> |
| <version>9.2.22.v20170606</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-http</artifactId> |
| <version>9.2.22.v20170606</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-io</artifactId> |
| <version>9.2.22.v20170606</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-security</artifactId> |
| <version>9.2.22.v20170606</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-servlet</artifactId> |
| <version>9.2.22.v20170606</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-servlets</artifactId> |
| <version>9.2.22.v20170606</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-webapp</artifactId> |
| <version>9.2.22.v20170606</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-util</artifactId> |
| <version>9.2.22.v20170606</version> |
| <scope>test</scope> |
| </dependency> |
| |
| |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-rs-mp-client</artifactId> |
| <version>${microprofile.rest-client.impl.version}</version> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.glassfish.jaxb</groupId> |
| <artifactId>jaxb-xjc</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>javax.ws.rs</groupId> |
| <artifactId>javax.ws.rs-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>jakarta.annotation</groupId> |
| <artifactId>jakarta.annotation-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>jakarta.ws.rs</groupId> |
| <artifactId>jakarta.ws.rs-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>jakarta.json</groupId> |
| <artifactId>jakarta.json-api</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.johnzon</groupId> |
| <artifactId>johnzon-core</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>arquillian-tomee-remote</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| </project> |