Update bp-generator version in runtime-api.
[dcaegen2/platform.git] / mod / runtimeapi / pom.xml
index d935f35..f3d72da 100644 (file)
@@ -3,6 +3,8 @@
 ============LICENSE_START=======================================================
 Copyright (c) 2019-2020 AT&T Intellectual Property. All rights reserved.
 ================================================================================
+Modifications Copyright (c) 2020 Nokia
+================================================================================
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at
@@ -32,16 +34,38 @@ limitations under the License.
        </parent>
        <groupId>org.onap.dcaegen2.platform.mod</groupId>
        <artifactId>runtimeapi</artifactId>
-       <version>1.0.0</version>
+       <version>1.2.1</version>
        <name>dcaegen2-platform-mod-runtimeapi</name>
        <description>MOD Runtime API</description>
        <properties>
                <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>