File tree 1 file changed +21
-10
lines changed
1 file changed +21
-10
lines changed Original file line number Diff line number Diff line change 74
74
<plugins >
75
75
<plugin >
76
76
<artifactId >maven-compiler-plugin</artifactId >
77
- <executions >
78
- <execution >
79
- <id >default-testCompile</id >
80
- <configuration >
81
- <compilerArgs >
82
- <compilerArg >-Xlint:-removal</compilerArg >
83
- </compilerArgs >
84
- </configuration >
85
- </execution >
86
- </executions >
87
77
</plugin >
88
78
<plugin >
89
79
<artifactId >maven-source-plugin</artifactId >
140
130
</plugin >
141
131
</plugins >
142
132
</build >
133
+ <profiles >
134
+ <profile >
135
+ <id >jvm11plus</id >
136
+ <activation >
137
+ <jdk >[11,]</jdk >
138
+ </activation >
139
+ <build >
140
+ <plugins >
141
+ <plugin >
142
+ <artifactId >maven-compiler-plugin</artifactId >
143
+ <configuration >
144
+ <compilerArgs combine.self=" append" combine.children=" append" >
145
+ <arg >-Xlint:-removal</arg >
146
+ <arg >-Xlint:-options</arg >
147
+ </compilerArgs >
148
+ </configuration >
149
+ </plugin >
150
+ </plugins >
151
+ </build >
152
+ </profile >
153
+ </profiles >
143
154
</project >
You can’t perform that action at this time.
0 commit comments