Skip to content

Commit

Permalink
Update MP Config version 3.0
Browse files Browse the repository at this point in the history
Signed-off-by: jansupol <jan.supol@oracle.com>
  • Loading branch information
jansupol committed Mar 29, 2022
1 parent 9aa9a4d commit dfa1169
Show file tree
Hide file tree
Showing 6 changed files with 74 additions and 36 deletions.
36 changes: 28 additions & 8 deletions ext/microprofile/mp-config/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,6 @@
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>io.helidon.microprofile.config</groupId>
<artifactId>helidon-microprofile-config</artifactId>
<version>${helidon.version}</version>
<scope>test</scope>
</dependency>

</dependencies>
<build>
<plugins>
Expand Down Expand Up @@ -133,6 +125,34 @@
</dependency>
</dependencies>
</profile>
<profile>
<id>smallrye-dependency</id>
<activation>
<jdk>[1.8,17)</jdk>
</activation>
<dependencies>
<dependency>
<groupId>io.smallrye.config</groupId>
<artifactId>smallrye-config</artifactId>
<version>${smallrye.config.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>helidon-config-dependency</id>
<activation>
<jdk>[17,)</jdk>
</activation>
<dependencies>
<dependency>
<groupId>io.helidon.microprofile.config</groupId>
<artifactId>helidon-microprofile-config</artifactId>
<version>${helidon.config.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</profile>
</profiles>

</project>
10 changes: 2 additions & 8 deletions ext/microprofile/mp-rest-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,12 @@
<dependency>
<groupId>org.eclipse.microprofile.rest.client</groupId>
<artifactId>microprofile-rest-client-api</artifactId>
<version>3.0</version>
<exclusions>
<exclusion>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
</exclusion>
</exclusions>
<version>${microprofile.rest.client.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.microprofile.config</groupId>
<artifactId>microprofile-config-api</artifactId>
<version>1.3</version>
<version>${microprofile.config.version}</version>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.core</groupId>
Expand Down
11 changes: 8 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.eclipse.ee4j</groupId>
<artifactId>project</artifactId>
<version>1.0.6</version>
<version>1.0.7</version>
</parent>

<groupId>org.glassfish.jersey</groupId>
Expand Down Expand Up @@ -2087,7 +2087,6 @@

<bouncycastle.version>1.68</bouncycastle.version>
<commons-lang3.version>3.3.2</commons-lang3.version>
<microprofile.config.version>2.0</microprofile.config.version>
<checkstyle.mvn.plugin.version>3.1.0</checkstyle.mvn.plugin.version>
<checkstyle.version>8.28</checkstyle.version>
<easymock.version>3.3</easymock.version>
Expand All @@ -2099,9 +2098,15 @@
<gae.version>1.9.59</gae.version>
<grizzly.client.version>1.16</grizzly.client.version>

<!-- microprofile -->
<microprofile.config.version>3.0</microprofile.config.version>
<microprofile.rest.client.version>3.0</microprofile.rest.client.version>
<helidon.config.version>3.0.0-M1</helidon.config.version>
<smallrye.config.version>3.0.0-RC1</smallrye.config.version>


<guava.version>18.0</guava.version>
<hamcrest.version>1.3</hamcrest.version>
<helidon.version>1.0.3</helidon.version>
<xmlunit.version>1.6</xmlunit.version>
<hk2.osgi.version>org.glassfish.hk2.*;version="[2.5,4)"</hk2.osgi.version>
<hk2.jvnet.osgi.version>org.jvnet.hk2.*;version="[2.5,4)"</hk2.jvnet.osgi.version>
Expand Down
43 changes: 31 additions & 12 deletions tests/integration/microprofile/config/helidon/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,6 @@
<artifactId>jersey-mp-config</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.helidon.config</groupId>
<artifactId>helidon-config</artifactId>
<version>${helidon.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.helidon.microprofile.config</groupId>
<artifactId>helidon-microprofile-config</artifactId>
<version>${helidon.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.test-framework</groupId>
<artifactId>jersey-test-framework-core</artifactId>
Expand Down Expand Up @@ -89,4 +77,35 @@
</plugins>
</build>

<profiles>
<profile>
<id>smallrye-dependency</id>
<activation>
<jdk>[1.8,17)</jdk>
</activation>
<dependencies>
<dependency>
<groupId>io.smallrye.config</groupId>
<artifactId>smallrye-config</artifactId>
<version>${smallrye.config.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>helidon-config-dependency</id>
<activation>
<jdk>[17,)</jdk>
</activation>
<dependencies>
<dependency>
<groupId>io.helidon.microprofile.config</groupId>
<artifactId>helidon-microprofile-config</artifactId>
<version>${helidon.config.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</profile>
</profiles>

</project>
6 changes: 3 additions & 3 deletions tests/integration/microprofile/rest-client-tck/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@
<version>4.0.1</version>
</dependency>
<dependency>
<groupId>io.smallrye</groupId>
<groupId>io.smallrye.config</groupId>
<artifactId>smallrye-config</artifactId>
<version>1.3.6</version>
<version>${smallrye.config.version}</version>
<scope>test</scope>
<exclusions>
<exclusion>
Expand All @@ -70,7 +70,7 @@
<dependency>
<groupId>org.eclipse.microprofile.rest.client</groupId>
<artifactId>microprofile-rest-client-tck</artifactId>
<version>3.0</version>
<version>${microprofile.rest.client.version}</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/microprofile/rest-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.smallrye</groupId>
<groupId>io.smallrye.config</groupId>
<artifactId>smallrye-config</artifactId>
<version>1.3.6</version>
<version>${smallrye.config.version}</version>
<scope>test</scope>
<exclusions>
<exclusion>
Expand Down

0 comments on commit dfa1169

Please sign in to comment.