File tree Expand file tree Collapse file tree 1 file changed +19
-9
lines changed Expand file tree Collapse file tree 1 file changed +19
-9
lines changed Original file line number Diff line number Diff line change 40
40
41
41
<properties >
42
42
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
43
+ <maven .compiler.source>1.7</maven .compiler.source>
44
+ <maven .compiler.target>1.7</maven .compiler.target>
43
45
</properties >
44
46
47
+ <profiles >
48
+ <profile >
49
+ <id >jdk9</id >
50
+ <activation >
51
+ <jdk >[1.9,)</jdk >
52
+ </activation >
53
+ <properties >
54
+ <maven .compiler.release>7</maven .compiler.release>
55
+ </properties >
56
+ </profile >
57
+ </profiles >
58
+
45
59
<build >
46
60
<plugins >
61
+ <plugin >
62
+ <groupId >org.apache.maven.plugins</groupId >
63
+ <artifactId >maven-compiler-plugin</artifactId >
64
+ <version >3.10.1</version >
65
+ </plugin >
47
66
<plugin >
48
67
<groupId >org.apache.maven.plugins</groupId >
49
68
<artifactId >maven-source-plugin</artifactId >
111
130
</execution >
112
131
</executions >
113
132
</plugin >
114
- <plugin >
115
- <groupId >org.apache.maven.plugins</groupId >
116
- <artifactId >maven-compiler-plugin</artifactId >
117
- <version >3.1</version >
118
- <configuration >
119
- <source >6</source >
120
- <target >6</target >
121
- </configuration >
122
- </plugin >
123
133
</plugins >
124
134
</build >
125
135
You can’t perform that action at this time.
0 commit comments