Skip to content

Commit

Permalink
Merge pull request #350 from Emily-Jiang/prep-for-mp6
Browse files Browse the repository at this point in the history
Consume the parent pom version 2.6 and prepare for MP 6.0
  • Loading branch information
Emily-Jiang authored Sep 22, 2022
2 parents 4fd79ab + 7b56136 commit e0eb681
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 e0eb681

Please sign in to comment.