diff options
Diffstat (limited to 'springboot/springboot25/pom.xml')
-rw-r--r-- | springboot/springboot25/pom.xml | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/springboot/springboot25/pom.xml b/springboot/springboot25/pom.xml index 294bda86..ae8ba4d9 100644 --- a/springboot/springboot25/pom.xml +++ b/springboot/springboot25/pom.xml @@ -54,8 +54,6 @@ <jacoco.version>0.8.5</jacoco.version> <!-- properties from oparent --> - <maven.compiler.source>1.8</maven.compiler.source> - <maven.compiler.target>1.8</maven.compiler.target> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <!-- sitePath may be overridden in the inheriting POM if desired --> @@ -79,10 +77,9 @@ <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id> <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id> - <java.version.source>1.8</java.version.source> - <java.version.target>1.8</java.version.target> + <java.version>11</java.version> <bundle.plugin.version>2.5.0</bundle.plugin.version> - <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version> + <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version> <features.file>features.xml</features.file> <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath> <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath> @@ -443,10 +440,12 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>${maven.compile.plugin.version}</version> + <version>${maven-compiler-plugin.version}</version> <configuration> - <source>${java.version.source}</source> - <target>${java.version.target}</target> + <release>${java.version}</release> + <!--explicitly remove source and target--> + <source combine.self="override"/> + <target combine.self="override"/> </configuration> </plugin> <plugin> |