Skip to content

Commit 8707a79

Browse files
committed
Updating plugins
1 parent 15cec9e commit 8707a79

File tree

5 files changed

+163
-7
lines changed

5 files changed

+163
-7
lines changed

integration-tests/pom.xml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,25 @@
9595
</properties>
9696
<build>
9797
<plugins>
98+
<plugin>
99+
<groupId>org.apache.maven.plugins</groupId>
100+
<artifactId>maven-enforcer-plugin</artifactId>
101+
<executions>
102+
<execution>
103+
<id>enforce-maven</id>
104+
<goals>
105+
<goal>enforce</goal>
106+
</goals>
107+
<configuration>
108+
<rules>
109+
<requireMavenVersion>
110+
<version>${maven.version.range}</version>
111+
</requireMavenVersion>
112+
</rules>
113+
</configuration>
114+
</execution>
115+
</executions>
116+
</plugin>
98117
<plugin>
99118
<groupId>org.codehaus.mojo</groupId>
100119
<artifactId>exec-maven-plugin</artifactId>

kubernetes/pom.xml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,25 @@
2828

2929
<build>
3030
<plugins>
31+
<plugin>
32+
<groupId>org.apache.maven.plugins</groupId>
33+
<artifactId>maven-enforcer-plugin</artifactId>
34+
<executions>
35+
<execution>
36+
<id>enforce-maven</id>
37+
<goals>
38+
<goal>enforce</goal>
39+
</goals>
40+
<configuration>
41+
<rules>
42+
<requireMavenVersion>
43+
<version>${maven.version.range}</version>
44+
</requireMavenVersion>
45+
</rules>
46+
</configuration>
47+
</execution>
48+
</executions>
49+
</plugin>
3150
<plugin>
3251
<groupId>com.coveo</groupId>
3352
<artifactId>fmt-maven-plugin</artifactId>

model/pom.xml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,25 @@
2929

3030
<build>
3131
<plugins>
32+
<plugin>
33+
<groupId>org.apache.maven.plugins</groupId>
34+
<artifactId>maven-enforcer-plugin</artifactId>
35+
<executions>
36+
<execution>
37+
<id>enforce-maven</id>
38+
<goals>
39+
<goal>enforce</goal>
40+
</goals>
41+
<configuration>
42+
<rules>
43+
<requireMavenVersion>
44+
<version>${maven.version.range}</version>
45+
</requireMavenVersion>
46+
</rules>
47+
</configuration>
48+
</execution>
49+
</executions>
50+
</plugin>
3251
<plugin>
3352
<groupId>org.codehaus.mojo</groupId>
3453
<artifactId>build-helper-maven-plugin</artifactId>

operator/pom.xml

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,25 @@
2828

2929
<build>
3030
<plugins>
31+
<plugin>
32+
<groupId>org.apache.maven.plugins</groupId>
33+
<artifactId>maven-enforcer-plugin</artifactId>
34+
<executions>
35+
<execution>
36+
<id>enforce-maven</id>
37+
<goals>
38+
<goal>enforce</goal>
39+
</goals>
40+
<configuration>
41+
<rules>
42+
<requireMavenVersion>
43+
<version>${maven.version.range}</version>
44+
</requireMavenVersion>
45+
</rules>
46+
</configuration>
47+
</execution>
48+
</executions>
49+
</plugin>
3150

3251
<plugin>
3352
<groupId>pl.project13.maven</groupId>
@@ -95,7 +114,6 @@
95114
<plugin>
96115
<groupId>org.apache.maven.plugins</groupId>
97116
<artifactId>maven-surefire-plugin</artifactId>
98-
<version>2.20</version>
99117
<configuration>
100118
<skipTests>${skip.unit.tests}</skipTests>
101119
<includes>
@@ -123,7 +141,6 @@
123141
<plugin>
124142
<groupId>org.apache.maven.plugins</groupId>
125143
<artifactId>maven-compiler-plugin</artifactId>
126-
<version>3.7.0</version>
127144
<configuration>
128145
<compilerArgs>
129146
<arg>-Xpkginfo:always</arg>
@@ -133,7 +150,7 @@
133150
<plugin>
134151
<groupId>org.apache.maven.plugins</groupId>
135152
<artifactId>maven-failsafe-plugin</artifactId>
136-
<version>2.22.0</version>
153+
<version>3.0.0-M3</version>
137154
<executions>
138155
<execution>
139156
<goals>

pom.xml

Lines changed: 86 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,33 @@
5555

5656
<build>
5757
<plugins>
58+
<plugin>
59+
<groupId>org.apache.maven.plugins</groupId>
60+
<artifactId>maven-enforcer-plugin</artifactId>
61+
<executions>
62+
<execution>
63+
<id>enforce-maven</id>
64+
<goals>
65+
<goal>enforce</goal>
66+
</goals>
67+
<configuration>
68+
<rules>
69+
<requireMavenVersion>
70+
<version>${maven.version.range}</version>
71+
</requireMavenVersion>
72+
</rules>
73+
</configuration>
74+
</execution>
75+
</executions>
76+
</plugin>
5877
<plugin>
5978
<groupId>org.apache.maven.plugins</groupId>
6079
<artifactId>maven-release-plugin</artifactId>
61-
<version>2.5.3</version>
6280
</plugin>
6381

6482
<plugin>
6583
<groupId>org.apache.maven.plugins</groupId>
6684
<artifactId>maven-javadoc-plugin</artifactId>
67-
<version>3.1.0</version>
6885
<configuration>
6986
<aggregate>true</aggregate>
7087
<show>public</show>
@@ -78,7 +95,6 @@
7895
<plugin>
7996
<groupId>org.apache.maven.plugins</groupId>
8097
<artifactId>maven-checkstyle-plugin</artifactId>
81-
<version>3.0.0</version>
8298
<executions>
8399
<execution>
84100
<id>checkstyle</id>
@@ -110,7 +126,6 @@
110126
<plugin>
111127
<groupId>org.apache.maven.plugins</groupId>
112128
<artifactId>maven-pmd-plugin</artifactId>
113-
<version>3.11.0</version>
114129
<configuration>
115130
<sourceEncoding>utf-8</sourceEncoding>
116131
<rulesets>
@@ -382,6 +397,72 @@
382397

383398
<dependencyManagement>
384399
<dependencies>
400+
<dependency>
401+
<groupId>org.apache.maven.plugins</groupId>
402+
<artifactId>maven-enforcer-plugin</artifactId>
403+
<version>3.0.0-M2</version>
404+
<type>maven-plugin</type>
405+
</dependency>
406+
<dependency>
407+
<groupId>org.apache.maven.plugins</groupId>
408+
<artifactId>maven-clean-plugin</artifactId>
409+
<version>3.1.0</version>
410+
<type>maven-plugin</type>
411+
</dependency>
412+
<dependency>
413+
<groupId>org.apache.maven.plugins</groupId>
414+
<artifactId>maven-compiler-plugin</artifactId>
415+
<version>3.8.0</version>
416+
<type>maven-plugin</type>
417+
</dependency>
418+
<dependency>
419+
<groupId>org.apache.maven.plugins</groupId>
420+
<artifactId>maven-deploy-plugin</artifactId>
421+
<version>3.0.0-M1</version>
422+
<type>maven-plugin</type>
423+
</dependency>
424+
<dependency>
425+
<groupId>org.apache.maven.plugins</groupId>
426+
<artifactId>maven-install-plugin</artifactId>
427+
<version>3.0.0-M1</version>
428+
<type>maven-plugin</type>
429+
</dependency>
430+
<dependency>
431+
<groupId>org.apache.maven.plugins</groupId>
432+
<artifactId>maven-jar-plugin</artifactId>
433+
<version>3.1.1</version>
434+
<type>maven-plugin</type>
435+
</dependency>
436+
<dependency>
437+
<groupId>org.apache.maven.plugins</groupId>
438+
<artifactId>maven-resources-plugin</artifactId>
439+
<version>3.1.0</version>
440+
<type>maven-plugin</type>
441+
</dependency>
442+
<dependency>
443+
<groupId>org.apache.maven.plugins</groupId>
444+
<artifactId>maven-site-plugin</artifactId>
445+
<version>3.7.1</version>
446+
<type>maven-plugin</type>
447+
</dependency>
448+
<dependency>
449+
<groupId>org.apache.maven.plugins</groupId>
450+
<artifactId>maven-surefire-plugin</artifactId>
451+
<version>3.0.0-M3</version>
452+
<type>maven-plugin</type>
453+
</dependency>
454+
<dependency>
455+
<groupId>org.apache.maven.plugins</groupId>
456+
<artifactId>maven-checkstyle-plugin</artifactId>
457+
<version>3.0.0</version>
458+
<type>maven-plugin</type>
459+
</dependency>
460+
<dependency>
461+
<groupId>org.apache.maven.plugins</groupId>
462+
<artifactId>maven-pmd-plugin</artifactId>
463+
<version>3.11.0</version>
464+
<type>maven-plugin</type>
465+
</dependency>
385466
<dependency>
386467
<groupId>io.kubernetes</groupId>
387468
<artifactId>client-java</artifactId>
@@ -420,6 +501,7 @@
420501
</dependencies>
421502

422503
<properties>
504+
<maven.version.range>[3.5.2,)</maven.version.range>
423505
<java.version>1.8</java.version>
424506
<maven.compiler.source>${java.version}</maven.compiler.source>
425507
<maven.compiler.target>${java.version}</maven.compiler.target>

0 commit comments

Comments
 (0)