File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11language : java
2+ jdk :
3+ - oraclejdk8
24sudo : false
5+
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <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 http://maven.apache.org/maven-v4_0_0.xsd" >
2+ <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3+ xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" >
34
45 <!-- for releasing to Maven Central / OSS Sonatype -->
56 <parent >
3334 </licenses >
3435 <properties >
3536 <jdk .version>1.8</jdk .version>
37+ <maven .enforcer.jdk-version>1.8</maven .enforcer.jdk-version>
3638 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
3739 <project .build.targetEncoding>UTF-8</project .build.targetEncoding>
3840 <maxmem >512M</maxmem >
265267 <version >2.7</version >
266268 </plugin >
267269
270+ <plugin >
271+ <artifactId >maven-enforcer-plugin</artifactId >
272+ <version >1.4.1</version >
273+ <executions >
274+ <execution >
275+ <id >enforce-java</id >
276+ <goals >
277+ <goal >enforce</goal >
278+ </goals >
279+ <configuration >
280+ <rules >
281+ <requireJavaVersion >
282+ <version >${maven.enforcer.jdk-version} </version >
283+ </requireJavaVersion >
284+ </rules >
285+ </configuration >
286+ </execution >
287+ </executions >
288+ </plugin >
289+
268290 </plugins >
269291 </pluginManagement >
270292
You can’t perform that action at this time.
0 commit comments