diff options
Diffstat (limited to 'dmi-stub/dmi-plugin-demo-and-csit-stub-service/pom.xml')
-rw-r--r-- | dmi-stub/dmi-plugin-demo-and-csit-stub-service/pom.xml | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/dmi-stub/dmi-plugin-demo-and-csit-stub-service/pom.xml b/dmi-stub/dmi-plugin-demo-and-csit-stub-service/pom.xml index 5e2886e5..82ebd24f 100644 --- a/dmi-stub/dmi-plugin-demo-and-csit-stub-service/pom.xml +++ b/dmi-stub/dmi-plugin-demo-and-csit-stub-service/pom.xml @@ -19,6 +19,7 @@ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> + <parent> <groupId>org.onap.cps</groupId> <artifactId>dmi-plugin-demo-and-csit-stub</artifactId> @@ -27,6 +28,13 @@ <artifactId>dmi-plugin-demo-and-csit-stub-service</artifactId> + <properties> + <gmavenplus.plugin.version>4.0.1</gmavenplus.plugin.version> + <maven.compiler.plugin.version>3.13.0</maven.compiler.plugin.version> + <maven.compiler.source>17</maven.compiler.source> + <maven.compiler.target>17</maven.compiler.target> + </properties> + <dependencies> <dependency> <groupId>ch.qos.logback</groupId> @@ -91,7 +99,7 @@ <dependency> <groupId>org.onap.cps</groupId> <artifactId>cps-ncmp-events</artifactId> - <version>3.5.2</version> + <version>${cps.version}</version> </dependency> <dependency> <groupId>org.springframework.boot</groupId> @@ -133,9 +141,19 @@ <build> <plugins> <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>${maven.compiler.plugin.version}</version> + <configuration> + <encoding>${project.build.sourceEncoding}</encoding> + <source>17</source> + <target>17</target> + </configuration> + </plugin> + <plugin> <groupId>org.codehaus.gmavenplus</groupId> <artifactId>gmavenplus-plugin</artifactId> - <version>4.0.1</version> + <version>${gmavenplus.plugin.version}</version> <executions> <execution> <goals> |