File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 221221 <artifactId >coveralls-maven-plugin</artifactId >
222222 <version >4.3.0</version >
223223 </plugin >
224+ <plugin >
225+ <groupId >org.apache.maven.plugins</groupId >
226+ <artifactId >maven-enforcer-plugin</artifactId >
227+ <version >3.5.0</version >
228+ </plugin >
224229 </plugins >
225230 </pluginManagement >
226231 <plugins >
235240 <autoReleaseAfterClose >true</autoReleaseAfterClose >
236241 </configuration >
237242 </plugin >
243+ <plugin >
244+ <groupId >org.apache.maven.plugins</groupId >
245+ <artifactId >maven-enforcer-plugin</artifactId >
246+ <executions >
247+ <execution >
248+ <id >enforce-versions</id >
249+ <phase >validate</phase >
250+ <goals >
251+ <goal >enforce</goal >
252+ </goals >
253+ <configuration >
254+ <fail >true</fail >
255+ <failFast >false</failFast >
256+ <rules >
257+ <banDuplicatePomDependencyVersions />
258+ <banDynamicVersions />
259+ <requireMavenVersion >
260+ <!-- Enforce the same version we define in the maven wrapper -->
261+ <version >[3.9.6,3.99.99]</version >
262+ </requireMavenVersion >
263+ </rules >
264+ </configuration >
265+ </execution >
266+ </executions >
267+ </plugin >
238268 <plugin >
239269 <groupId >com.github.github</groupId >
240270 <artifactId >site-maven-plugin</artifactId >
You can’t perform that action at this time.
0 commit comments