@@ -81,14 +81,54 @@ limitations under the License.
81
81
<build >
82
82
<pluginManagement >
83
83
<plugins >
84
+ <plugin >
85
+ <groupId >org.apache.maven.plugins</groupId >
86
+ <artifactId >maven-enforcer-plugin</artifactId >
87
+ <version >3.3.0</version >
88
+ </plugin >
84
89
<plugin >
85
90
<groupId >org.apache.maven.plugins</groupId >
86
91
<artifactId >maven-resources-plugin</artifactId >
87
92
<version >3.3.1</version >
88
93
</plugin >
94
+ <plugin >
95
+ <groupId >org.apache.maven.plugins</groupId >
96
+ <artifactId >maven-surefire-plugin</artifactId >
97
+ <version >3.0.0</version >
98
+ </plugin >
99
+ <plugin >
100
+ <groupId >org.apache.maven.plugins</groupId >
101
+ <artifactId >maven-site-plugin</artifactId >
102
+ <version >4.0.0-M7</version >
103
+ </plugin >
104
+ <plugin >
105
+ <groupId >org.apache.maven.plugins</groupId >
106
+ <artifactId >maven-compiler-plugin</artifactId >
107
+ <version >3.11.0</version >
108
+ </plugin >
89
109
</plugins >
90
110
</pluginManagement >
91
111
<plugins >
112
+ <plugin >
113
+ <groupId >org.apache.maven.plugins</groupId >
114
+ <artifactId >maven-enforcer-plugin</artifactId >
115
+ <executions >
116
+ <execution >
117
+ <id >enforce-maven</id >
118
+ <goals >
119
+ <goal >enforce</goal >
120
+ </goals >
121
+ <configuration >
122
+ <rules >
123
+ <requireMavenVersion >
124
+ <version >3.2.5</version >
125
+ <message >This project requires at least Maven 3.2.5</message >
126
+ </requireMavenVersion >
127
+ </rules >
128
+ </configuration >
129
+ </execution >
130
+ </executions >
131
+ </plugin >
92
132
<plugin >
93
133
<artifactId >maven-compiler-plugin</artifactId >
94
134
<executions >
@@ -126,7 +166,7 @@ limitations under the License.
126
166
<configuration >
127
167
<!-- required to ensure the test classes are used, not surefire's plexus-utils -->
128
168
<childDelegation >true</childDelegation >
129
- <systemProperties >
169
+ <systemPropertyVariables >
130
170
<property >
131
171
<name >JAVA_HOME</name >
132
172
<value >${JAVA_HOME} </value >
@@ -135,7 +175,7 @@ limitations under the License.
135
175
<name >M2_HOME</name >
136
176
<value >${M2_HOME} </value >
137
177
</property >
138
- </systemProperties >
178
+ </systemPropertyVariables >
139
179
</configuration >
140
180
</plugin >
141
181
</plugins >
0 commit comments