@@ -28,7 +28,7 @@ under the License.
28
28
</parent >
29
29
30
30
<artifactId >maven-compiler-plugin</artifactId >
31
- <version >3.13.1 -SNAPSHOT</version >
31
+ <version >4.0.0 -SNAPSHOT</version >
32
32
<packaging >maven-plugin</packaging >
33
33
34
34
<name >Apache Maven Compiler Plugin</name >
@@ -67,145 +67,173 @@ under the License.
67
67
</distributionManagement >
68
68
69
69
<properties >
70
- <mavenVersion >3.6.3</ mavenVersion >
71
- <plexusCompilerVersion >2.15.0</ plexusCompilerVersion >
70
+ <javaVersion >17</ javaVersion >
71
+ <mavenVersion >4.0.0-beta-3</ mavenVersion >
72
72
73
+ <asmVersion >9.7</asmVersion >
73
74
<groovyVersion >2.4.21</groovyVersion >
74
75
<groovyEclipseCompilerVersion >3.7.0</groovyEclipseCompilerVersion >
75
76
<groovy-eclipse-batch >2.5.14-02</groovy-eclipse-batch >
76
- <plexus-java .version>1.2.0</plexus-java .version>
77
- <javaVersion >8</javaVersion >
77
+ <guiceVersion >6.0.0</guiceVersion >
78
+ <junit4Version >4.13.2</junit4Version >
79
+ <junitVersion >5.10.1</junitVersion >
80
+ <mockitoVersion >5.12.0</mockitoVersion >
81
+ <mavenPluginTestingHarnessVersion >4.0.0-alpha-3-SNAPSHOT</mavenPluginTestingHarnessVersion >
82
+ <plexusCompilerVersion >2.15.0</plexusCompilerVersion >
83
+ <plexusJavaVersion >1.2.0</plexusJavaVersion >
84
+ <sisuPlexusVersion >0.9.0.M2</sisuPlexusVersion >
85
+ <slf4jVersion >2.0.13</slf4jVersion >
86
+ <surefire .version>3.2.1</surefire .version>
87
+ <version .maven-invoker-plugin>3.7.0</version .maven-invoker-plugin>
88
+ <version .maven-plugin-tools-3.x>3.13.1</version .maven-plugin-tools-3.x>
89
+ <version .maven-plugin-tools>4.0.0-SNAPSHOT</version .maven-plugin-tools>
90
+ <version .plexus-xml>4.0.1</version .plexus-xml>
91
+
92
+ <invoker .junitPackageName>org.apache.maven.plugins.compiler.its</invoker .junitPackageName>
78
93
<maven .it.failure.ignore>false</maven .it.failure.ignore>
94
+
79
95
<project .build.outputTimestamp>2024-03-15T07:28:09Z</project .build.outputTimestamp>
80
- <invoker .junitPackageName>org.apache.maven.plugins.compiler.its</invoker .junitPackageName>
81
96
</properties >
82
97
98
+ <dependencyManagement >
99
+ <dependencies >
100
+ <dependency >
101
+ <groupId >com.google.guava</groupId >
102
+ <artifactId >guava</artifactId >
103
+ <version >32.0.1-jre</version >
104
+ </dependency >
105
+ </dependencies >
106
+ </dependencyManagement >
107
+
83
108
<dependencies >
109
+ <!-- Maven -->
84
110
<dependency >
85
- <groupId >org.apache.maven.plugin-tools</groupId >
86
- <artifactId >maven-plugin-annotations</artifactId >
111
+ <groupId >org.apache.maven</groupId >
112
+ <artifactId >maven-api-core</artifactId >
113
+ <version >${mavenVersion} </version >
87
114
<scope >provided</scope >
88
115
</dependency >
89
- <!-- Maven -->
90
116
<dependency >
91
117
<groupId >org.apache.maven</groupId >
92
- <artifactId >maven-plugin- api</artifactId >
118
+ <artifactId >maven-api-di </artifactId >
93
119
<version >${mavenVersion} </version >
94
120
<scope >provided</scope >
95
121
</dependency >
96
122
<dependency >
97
123
<groupId >org.apache.maven</groupId >
98
- <artifactId >maven-artifact </artifactId >
124
+ <artifactId >maven-api-meta </artifactId >
99
125
<version >${mavenVersion} </version >
100
126
<scope >provided</scope >
101
127
</dependency >
102
128
<dependency >
103
129
<groupId >org.apache.maven</groupId >
104
- <artifactId >maven-core </artifactId >
130
+ <artifactId >maven-api-model </artifactId >
105
131
<version >${mavenVersion} </version >
106
132
<scope >provided</scope >
107
133
</dependency >
108
134
<dependency >
109
- <groupId >org.apache.maven.shared</groupId >
110
- <artifactId >maven-shared-utils</artifactId >
111
- <version >3.4.2</version >
135
+ <groupId >org.codehaus.plexus</groupId >
136
+ <artifactId >plexus-utils</artifactId >
112
137
</dependency >
113
138
<dependency >
114
- <groupId >org.apache.maven.shared</groupId >
115
- <artifactId >maven-shared-incremental</artifactId >
116
- <version >1.1</version >
117
- <exclusions >
118
- <exclusion >
119
- <groupId >org.apache.maven</groupId >
120
- <artifactId >maven-core</artifactId >
121
- </exclusion >
122
- <exclusion >
123
- <groupId >org.apache.maven</groupId >
124
- <artifactId >maven-plugin-api</artifactId >
125
- </exclusion >
126
- <exclusion >
127
- <groupId >org.apache.maven.shared</groupId >
128
- <artifactId >maven-shared-utils</artifactId >
129
- </exclusion >
130
- <exclusion >
131
- <groupId >org.codehaus.plexus</groupId >
132
- <artifactId >plexus-component-annotations</artifactId >
133
- </exclusion >
134
- </exclusions >
139
+ <groupId >org.eclipse.sisu</groupId >
140
+ <artifactId >org.eclipse.sisu.plexus</artifactId >
141
+ <version >${sisuPlexusVersion} </version >
135
142
</dependency >
136
-
137
143
<dependency >
138
144
<groupId >org.codehaus.plexus</groupId >
139
145
<artifactId >plexus-java</artifactId >
140
- <version >${plexus-java.version} </version >
146
+ <version >${plexusJavaVersion} </version >
147
+ </dependency >
148
+ <dependency >
149
+ <groupId >org.ow2.asm</groupId >
150
+ <artifactId >asm</artifactId >
151
+ <version >${asmVersion} </version >
141
152
</dependency >
142
153
143
154
<dependency >
144
155
<groupId >org.codehaus.plexus</groupId >
145
156
<artifactId >plexus-compiler-api</artifactId >
146
157
<version >${plexusCompilerVersion} </version >
158
+ <exclusions >
159
+ <exclusion >
160
+ <groupId >org.codehaus.plexus</groupId >
161
+ <artifactId >plexus-component-api</artifactId >
162
+ </exclusion >
163
+ </exclusions >
147
164
</dependency >
148
165
<dependency >
149
166
<groupId >org.codehaus.plexus</groupId >
150
167
<artifactId >plexus-compiler-manager</artifactId >
151
168
<version >${plexusCompilerVersion} </version >
169
+ <exclusions >
170
+ <exclusion >
171
+ <groupId >org.codehaus.plexus</groupId >
172
+ <artifactId >plexus-component-api</artifactId >
173
+ </exclusion >
174
+ </exclusions >
152
175
</dependency >
153
176
<dependency >
154
177
<groupId >org.codehaus.plexus</groupId >
155
178
<artifactId >plexus-compiler-javac</artifactId >
156
179
<version >${plexusCompilerVersion} </version >
157
- <scope >runtime</scope >
180
+ <exclusions >
181
+ <exclusion >
182
+ <groupId >org.codehaus.plexus</groupId >
183
+ <artifactId >plexus-component-api</artifactId >
184
+ </exclusion >
185
+ </exclusions >
158
186
</dependency >
187
+
159
188
<dependency >
160
- <groupId >org.codehaus.plexus</groupId >
161
- <artifactId >plexus-utils</artifactId >
189
+ <groupId >org.apache.maven</groupId >
190
+ <artifactId >maven-core</artifactId >
191
+ <version >${mavenVersion} </version >
192
+ <scope >test</scope >
162
193
</dependency >
163
-
164
194
<dependency >
165
- <groupId >org.apache.maven.plugin-testing </groupId >
166
- <artifactId >maven-plugin-testing-harness </artifactId >
167
- <version >4.0.0-alpha-2 </version >
195
+ <groupId >org.apache.maven</groupId >
196
+ <artifactId >maven-api-impl </artifactId >
197
+ <version >${mavenVersion} </version >
168
198
<scope >test</scope >
169
199
</dependency >
170
200
<dependency >
171
- <!-- used by maven-plugin-testing-harness -->
172
- <groupId >org.codehaus.plexus</groupId >
173
- <artifactId >plexus-xml</artifactId >
201
+ <groupId >com.google.inject</groupId >
202
+ <artifactId >guice</artifactId >
203
+ <version >${guiceVersion} </version >
204
+ <scope >test</scope >
205
+ </dependency >
206
+ <dependency >
207
+ <groupId >org.apache.maven.plugin-testing</groupId >
208
+ <artifactId >maven-plugin-testing-harness</artifactId >
209
+ <version >${mavenPluginTestingHarnessVersion} </version >
174
210
<scope >test</scope >
175
211
</dependency >
176
212
<dependency >
177
213
<groupId >org.mockito</groupId >
178
214
<artifactId >mockito-core</artifactId >
179
- <version >4.8.0 </version >
215
+ <version >${mockitoVersion} </version >
180
216
<scope >test</scope >
181
217
</dependency >
182
218
<dependency >
183
219
<groupId >org.junit.jupiter</groupId >
184
220
<artifactId >junit-jupiter-api</artifactId >
185
- <version >5.10.2</version >
186
221
<scope >test</scope >
187
222
</dependency >
188
223
<dependency >
189
- <groupId >org.junit.jupiter</groupId >
190
- <artifactId >junit-jupiter-params</artifactId >
191
- <version >5.10.2</version >
224
+ <groupId >junit</groupId >
225
+ <artifactId >junit</artifactId >
226
+ <version >${junit4Version} </version >
227
+ <scope >test</scope >
228
+ </dependency >
229
+ <dependency >
230
+ <groupId >org.slf4j</groupId >
231
+ <artifactId >slf4j-simple</artifactId >
232
+ <version >${slf4jVersion} </version >
192
233
<scope >test</scope >
193
234
</dependency >
194
235
</dependencies >
195
236
196
- <repositories >
197
- <repository >
198
- <releases >
199
- <enabled >false</enabled >
200
- </releases >
201
- <snapshots >
202
- <enabled >true</enabled >
203
- </snapshots >
204
- <id >plexus.snapshots</id >
205
- <url >https://oss.sonatype.org/content/repositories/plexus-snapshots</url >
206
- </repository >
207
- </repositories >
208
-
209
237
<build >
210
238
<pluginManagement >
211
239
<plugins >
@@ -227,13 +255,6 @@ under the License.
227
255
</plugin >
228
256
</plugins >
229
257
</pluginManagement >
230
-
231
- <plugins >
232
- <plugin >
233
- <groupId >org.eclipse.sisu</groupId >
234
- <artifactId >sisu-maven-plugin</artifactId >
235
- </plugin >
236
- </plugins >
237
258
</build >
238
259
239
260
<profiles >
0 commit comments