summaryrefslogtreecommitdiffstats
path: root/mod/runtimeapi/pom.xml
diff options
context:
space:
mode:
authorKrzysztof Gajewski <krzysztof.gajewski@nokia.com>2020-08-07 09:32:55 +0200
committerKrzysztof Gajewski <krzysztof.gajewski@nokia.com>2020-08-07 10:15:58 +0200
commit5fb7cbb6997a8548597f617438de819d20200073 (patch)
tree54bd5f3e1b8e25485dc0877ea4197ba7310d2602 /mod/runtimeapi/pom.xml
parentba3d7306c1773ea78ad7a87468fc66b9b4f18551 (diff)
dcaegen2/platform - mod/runtimeAPI java11 upgrade
Change-Id: I6a23640244b388272e12b9883a42797371f5ecec Issue-ID: DCAEGEN2-2288 Signed-off-by: Krzysztof Gajewski <krzysztof.gajewski@nokia.com>, Jerzy Szachniewicz <jerzy.szachniewicz@nokia.com>
Diffstat (limited to 'mod/runtimeapi/pom.xml')
-rw-r--r--mod/runtimeapi/pom.xml27
1 files changed, 23 insertions, 4 deletions
diff --git a/mod/runtimeapi/pom.xml b/mod/runtimeapi/pom.xml
index f9919c5..3e95c7f 100644
--- a/mod/runtimeapi/pom.xml
+++ b/mod/runtimeapi/pom.xml
@@ -36,15 +36,34 @@ limitations under the License.
<name>dcaegen2-platform-mod-runtimeapi</name>
<description>MOD Runtime API</description>
<properties>
- <maven.compiler.source>1.8</maven.compiler.source>
- <maven.compiler.target>1.8</maven.compiler.target>
-
<maven.deploy.skip>true</maven.deploy.skip>
- <java.version>1.8</java.version>
<maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
<sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
</sonar.coverage.jacoco.xmlReportPaths>
</properties>
+ <profiles>
+ <profile>
+ <id>java11</id>
+ <properties>
+ <maven.compiler.source>11</maven.compiler.source>
+ <maven.compiler.target>11</maven.compiler.target>
+ <maven.compiler.release>11</maven.compiler.release>
+ </properties>
+ <activation>
+ <property>
+ <name>m2e.version</name>
+ </property>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ </profile>
+ <profile>
+ <id>java8</id>
+ <properties>
+ <maven.compiler.source>1.8</maven.compiler.source>
+ <maven.compiler.target>1.8</maven.compiler.target>
+ </properties>
+ </profile>
+ </profiles>
<build>
<plugins>