You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by bu...@apache.org on 2020/03/11 07:15:37 UTC

[cxf] branch master updated: Update to microprofile.rest.client 1.4.1

This is an automated email from the ASF dual-hosted git repository.

buhhunyx pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/master by this push:
     new 7971b50  Update to microprofile.rest.client 1.4.1
7971b50 is described below

commit 7971b506283502c26aafb97c0f6e50633f126cdd
Author: Alexey Markevich <bu...@gmail.com>
AuthorDate: Wed Mar 11 10:14:56 2020 +0300

    Update to microprofile.rest.client 1.4.1
---
 parent/pom.xml                            |  2 +-
 systests/microprofile/client/weld/pom.xml | 33 ++++++++++++++++++++++++++++---
 2 files changed, 31 insertions(+), 4 deletions(-)

diff --git a/parent/pom.xml b/parent/pom.xml
index da6fcc3..9dcfa59 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -165,7 +165,7 @@
         <cxf.lucene.version>8.2.0</cxf.lucene.version>
         <cxf.maven.core.version>3.6.2</cxf.maven.core.version>
         <cxf.microprofile.config.version>1.2</cxf.microprofile.config.version>
-        <cxf.microprofile.rest.client.version>1.4.0</cxf.microprofile.rest.client.version>
+        <cxf.microprofile.rest.client.version>1.4.1</cxf.microprofile.rest.client.version>
         <cxf.microprofile.openapi.version>1.1.2</cxf.microprofile.openapi.version>        
         <cxf.mina.version>2.0.21</cxf.mina.version>
         <cxf.mockito.version>3.1.0</cxf.mockito.version>
diff --git a/systests/microprofile/client/weld/pom.xml b/systests/microprofile/client/weld/pom.xml
index 288d2fb..126c2f7 100644
--- a/systests/microprofile/client/weld/pom.xml
+++ b/systests/microprofile/client/weld/pom.xml
@@ -92,10 +92,34 @@
     <build>
         <plugins>
             <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>build-helper-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>reserve-network-port</id>
+                        <goals>
+                            <goal>reserve-network-port</goal>
+                        </goals>
+                        <phase>initialize</phase>
+                        <configuration>
+                            <portNames>
+                                <portName>wiremock.server.port</portName>
+                            </portNames>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
                 <groupId>uk.co.automatictester</groupId>
                 <artifactId>wiremock-maven-plugin</artifactId>
-                <!-- Note, updating to 4.4.1 causes a weird Xalan error when building the distribution -->
-                <version>4.4.0</version>
+                <version>6.0.0</version>
+                <dependencies>
+                    <dependency>
+                        <groupId>com.github.tomakehurst</groupId>
+                        <artifactId>wiremock</artifactId>
+                        <version>2.26.3</version>
+                    </dependency>
+                </dependencies>
                 <executions>
                     <execution>
                         <phase>generate-test-sources</phase>
@@ -104,7 +128,7 @@
                         </goals>
                         <configuration>
                             <dir>${project.build.outputDirectory}</dir>
-                            <params>${cxf.wiremock.params}</params>
+                            <params>--port ${wiremock.server.port}</params>
                         </configuration>
                     </execution>
                 </executions>
@@ -118,6 +142,9 @@
                     <suiteXmlFiles>
                         <suiteXmlFile>testng.xml</suiteXmlFile>
                     </suiteXmlFiles>
+                    <systemPropertyVariables>
+                        <wiremock.server.port>${wiremock.server.port}</wiremock.server.port>
+                    </systemPropertyVariables>
                 </configuration>
             </plugin>
         </plugins>