Skip to content

Commit

Permalink
Consume the parent pom version 2.6 and prepare for MP 6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Emily-Jiang committed Sep 20, 2022
1 parent 4fd79ab commit 7b56136
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 5 deletions.
1 change: 1 addition & 0 deletions api/pom.xml
Expand Up @@ -56,6 +56,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>7.4.0</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
3 changes: 2 additions & 1 deletion pom.xml
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>org.eclipse.microprofile</groupId>
<artifactId>microprofile-parent</artifactId>
<version>2.4</version>
<version>2.6</version>
</parent>

<groupId>org.eclipse.microprofile.rest.client</groupId>
Expand All @@ -35,6 +35,7 @@
<properties>
<version.mp.config>3.0</version.mp.config>
<inceptionYear>2017</inceptionYear>
<version.microprofile.tck.bom>2.6</version.microprofile.tck.bom>
</properties>

<dependencyManagement>
Expand Down
12 changes: 12 additions & 0 deletions tck/pom.xml
Expand Up @@ -31,6 +31,18 @@
<checkstyle.methodNameFormat>^_?[a-z][a-zA-Z0-9_]*$</checkstyle.methodNameFormat>
</properties>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.eclipse.microprofile</groupId>
<artifactId>microprofile-tck-bom</artifactId>
<version>${version.microprofile.tck.bom}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<dependency>
<groupId>org.eclipse.microprofile.rest.client</groupId>
Expand Down
Expand Up @@ -79,11 +79,10 @@ public interface ClientHeaderParamClient {
String methodRequiredComputeMethodFails();

@GET
//CHECKSTYLE:OFF
// CHECKSTYLE:OFF
// something in the parent pom is forcing these lines to merged into one line, which is longer than 150 characters
@ClientHeaderParam(name = "MultiValueInvokedFromAnotherClass",
value = "{org.eclipse.microprofile.rest.client.tck.ext.HeaderGenerator.generateHeader}")
//CHECKSTYLE:OFF
@ClientHeaderParam(name = "MultiValueInvokedFromAnotherClass", value = "{org.eclipse.microprofile.rest.client.tck.ext.HeaderGenerator.generateHeader}")
// CHECKSTYLE:OFF
String methodComputeMultiValuedHeaderFromOtherClass();

default String computeForInterface() {
Expand Down

0 comments on commit 7b56136

Please sign in to comment.