Skip to content

Commit

Permalink
APPSERV-59 Adds MicroProfile 2.3 profile (#103)
Browse files Browse the repository at this point in the history
* APPSERV-59 adds MicroProfile 2.3 profile

* APPSERV-59 adds 2.3 profile

* APPSERV-59 adds profile MP 2.2

* APPSERV-59 fixes profile regex and CDI api version
  • Loading branch information
jbee authored Apr 3, 2020
1 parent 739f89c commit 5cff11b
Showing 1 changed file with 58 additions and 4 deletions.
62 changes: 58 additions & 4 deletions MicroProfile-Metrics/tck-runner/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright (c) [2017-2018] Payara Foundation and/or its affiliates. All rights reserved.
Copyright (c) [2017-2020] Payara Foundation and/or its affiliates. All rights reserved.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development
Expand Down Expand Up @@ -56,8 +56,8 @@

<properties>
<!-- Metrics Dependencies -->
<microprofile.metrics.version>2.2.payara-p1</microprofile.metrics.version>
<microprofile.metrics.tck.version>2.2.payara-p1</microprofile.metrics.tck.version>
<microprofile.metrics.version>2.3</microprofile.metrics.version>
<microprofile.metrics.tck.version>2.3</microprofile.metrics.tck.version>

<!-- Other Test Dependencies -->
<cdi.version>2.0</cdi.version>
Expand Down Expand Up @@ -119,6 +119,25 @@
</includes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.1</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<echo>Metrics version ${microprofile.metrics.version}</echo>
<echo>Metrics TCK version ${microprofile.metrics.tck.version}</echo>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand All @@ -145,7 +164,7 @@
<activation>
<property>
<name>payara.version</name>
<value>/^5\.193(\.\d*)?(-SNAPSHOT)?/</value>
<value>/5\.193.*/</value>
</property>
</activation>
<properties>
Expand All @@ -157,6 +176,41 @@
<cdi.version>2.0</cdi.version>
</properties>
</profile>
<profile>
<id>mp-metrics-2.2</id>
<activation>
<property>
<name>payara.version</name>
<value>/5\.194.*|5\.201.*/</value>
</property>
</activation>
<properties>
<!-- Metrics Dependencies -->
<microprofile.metrics.version>2.2.payara-p1</microprofile.metrics.version>
<microprofile.metrics.tck.version>2.2.payara-p1</microprofile.metrics.tck.version>

<!-- Other Test Dependencies -->
<cdi.version>2.0</cdi.version>
</properties>
</profile>
<profile>
<id>mp-metrics-2.3</id>
<activation>
<property>
<name>payara.version</name>
<value>/5\.20[^1].*/</value>
</property>
</activation>
<properties>
<!-- Metrics Dependencies -->
<microprofile.metrics.version>2.3</microprofile.metrics.version>
<microprofile.metrics.tck.version>2.3</microprofile.metrics.tck.version>

<!-- Other Test Dependencies -->
<cdi.version>2.0.SP1</cdi.version>
</properties>
</profile>


<profile>
<id>payara-server-managed</id>
Expand Down

0 comments on commit 5cff11b

Please sign in to comment.