@@ -28,7 +28,7 @@ under the License.
28
28
</parent >
29
29
30
30
<artifactId >maven-deploy-plugin</artifactId >
31
- <version >3.1.1 -SNAPSHOT</version >
31
+ <version >4.0.0 -SNAPSHOT</version >
32
32
<packaging >maven-plugin</packaging >
33
33
34
34
<name >Apache Maven Deploy Plugin</name >
@@ -69,11 +69,13 @@ under the License.
69
69
70
70
<properties >
71
71
<javaVersion >8</javaVersion >
72
- <mavenVersion >3.2.5 </mavenVersion >
72
+ <mavenVersion >4.0.0-alpha-4 </mavenVersion >
73
73
<!-- Keep in sync with resolver used in maven above -->
74
74
<slf4jVersion >1.7.5</slf4jVersion >
75
75
<!-- Keep in sync with resolver used in maven above -->
76
- <resolverVersion >1.0.0.v20140518</resolverVersion >
76
+ <resolverVersion >1.9.4</resolverVersion >
77
+ <!-- Keep in sync with resolver used in maven above -->
78
+ <project .build.outputTimestamp>2022-07-16T16:14:30Z</project .build.outputTimestamp>
77
79
78
80
<!-- plugins version used in IT tests -->
79
81
<mavenAntrunPluginVersion >3.1.0</mavenAntrunPluginVersion >
@@ -82,7 +84,7 @@ under the License.
82
84
<mavenInstallPluginVersion >3.1.0</mavenInstallPluginVersion >
83
85
<mavenJarPluginVersion >3.3.0</mavenJarPluginVersion >
84
86
<mavenJavadocPluginVersion >3.4.1</mavenJavadocPluginVersion >
85
- <mavenPluginToolsVersion >${maven.plugin.tools.version} </mavenPluginToolsVersion >
87
+ <mavenPluginToolsVersion >3.8.1 </mavenPluginToolsVersion >
86
88
<mavenResourcesPluginVersion >3.3.0</mavenResourcesPluginVersion >
87
89
<mavenSourcePluginVersion >3.2.1</mavenSourcePluginVersion >
88
90
<mavenSurefirePluginVersion >${surefire.version}</mavenSurefirePluginVersion >
@@ -94,110 +96,66 @@ under the License.
94
96
<dependencies >
95
97
<dependency >
96
98
<groupId >org.apache.maven</groupId >
97
- <artifactId >maven-plugin-api</artifactId >
98
- <version >${mavenVersion} </version >
99
- <scope >provided</scope >
100
- </dependency >
101
- <dependency >
102
- <groupId >org.apache.maven</groupId >
103
- <artifactId >maven-core</artifactId >
104
- <version >${mavenVersion} </version >
105
- <scope >provided</scope >
106
- </dependency >
107
- <dependency >
108
- <groupId >org.apache.maven</groupId >
109
- <artifactId >maven-model</artifactId >
99
+ <artifactId >maven-api-core</artifactId >
110
100
<version >${mavenVersion} </version >
111
101
<scope >provided</scope >
112
102
</dependency >
113
103
<dependency >
114
104
<groupId >org.apache.maven</groupId >
115
- <artifactId >maven-artifact</artifactId >
116
- <version >${mavenVersion} </version >
117
- <scope >provided</scope >
118
- </dependency >
119
-
120
- <dependency >
121
- <groupId >org.slf4j</groupId >
122
- <artifactId >slf4j-api</artifactId >
123
- <version >${slf4jVersion} </version >
124
- <scope >provided</scope >
125
- </dependency >
126
- <dependency >
127
- <groupId >org.codehaus.plexus</groupId >
128
105
<artifactId >plexus-utils</artifactId >
129
- </dependency >
130
- <dependency >
131
- <groupId >org.eclipse.aether</groupId >
132
- <artifactId >aether-api</artifactId >
133
- <version >${resolverVersion} </version >
134
- <scope >provided</scope >
135
- </dependency >
136
- <dependency >
137
- <groupId >org.eclipse.aether</groupId >
138
- <artifactId >aether-util</artifactId >
139
- <version >${resolverVersion} </version >
140
- <!-- To work in Maven versions older than 3.9.0 -->
141
- <scope >compile</scope >
142
- </dependency >
143
-
144
- <!-- dependencies to annotations -->
145
- <dependency >
146
- <groupId >org.apache.maven.plugin-tools</groupId >
147
- <artifactId >maven-plugin-annotations</artifactId >
148
- <scope >provided</scope >
106
+ <version >${mavenVersion} </version >
149
107
</dependency >
150
108
151
109
<!-- Test -->
152
110
<dependency >
153
111
<groupId >org.apache.maven.plugin-testing</groupId >
154
112
<artifactId >maven-plugin-testing-harness</artifactId >
155
- <version >3.3.0 </version >
113
+ <version >4.0.0-alpha-1 </version >
156
114
<scope >test</scope >
157
115
</dependency >
158
116
<dependency >
159
117
<!-- used by maven-plugin-testing-harness, don't give it compile scope! -->
160
118
<groupId >org.apache.maven</groupId >
161
- <artifactId >maven-compat </artifactId >
119
+ <artifactId >maven-core </artifactId >
162
120
<version >${mavenVersion} </version >
163
121
<scope >test</scope >
164
122
</dependency >
165
123
<dependency >
166
124
<groupId >org.apache.maven</groupId >
167
- <artifactId >maven-aether -provider</artifactId >
125
+ <artifactId >maven-resolver -provider</artifactId >
168
126
<version >${mavenVersion} </version >
169
127
<scope >test</scope >
170
128
</dependency >
171
- <dependency >
172
- <groupId >org.eclipse.aether</groupId >
173
- <artifactId >aether-connector-basic</artifactId >
174
- <version >${resolverVersion} </version >
175
- <scope >test</scope >
176
- </dependency >
177
- <dependency >
178
- <groupId >org.eclipse.aether</groupId >
179
- <artifactId >aether-transport-file</artifactId >
180
- <version >${resolverVersion} </version >
181
- <scope >test</scope >
182
- </dependency >
183
- <dependency >
184
- <groupId >org.eclipse.aether</groupId >
185
- <artifactId >aether-transport-http</artifactId >
186
- <version >${resolverVersion} </version >
187
- <scope >test</scope >
188
- </dependency >
129
+ <!-- <dependency>-->
130
+ <!-- <groupId>org.apache.maven.resolver</groupId>-->
131
+ <!-- <artifactId>maven-resolver-connector-basic</artifactId>-->
132
+ <!-- <version>${resolverVersion}</version>-->
133
+ <!-- <scope>test</scope>-->
134
+ <!-- </dependency>-->
135
+ <!-- <dependency>-->
136
+ <!-- <groupId>org.apache.maven.resolver</groupId>-->
137
+ <!-- <artifactId>maven-resolver-transport-file</artifactId>-->
138
+ <!-- <version>${resolverVersion}</version>-->
139
+ <!-- <scope>test</scope>-->
140
+ <!-- </dependency>-->
141
+ <!-- <dependency>-->
142
+ <!-- <groupId>org.apache.maven.resolver</groupId>-->
143
+ <!-- <artifactId>maven-resolver-transport-http</artifactId>-->
144
+ <!-- <version>${resolverVersion}</version>-->
145
+ <!-- <scope>test</scope>-->
146
+ <!-- </dependency>-->
147
+ <!-- <dependency>-->
148
+ <!-- <groupId>org.mockito</groupId>-->
149
+ <!-- <artifactId>mockito-core</artifactId>-->
150
+ <!-- <version>2.28.2</version>-->
151
+ <!-- <scope>test</scope>-->
152
+ <!-- </dependency>-->
189
153
<dependency >
190
154
<groupId >org.mockito</groupId >
191
- <artifactId >mockito-core </artifactId >
155
+ <artifactId >mockito-junit-jupiter </artifactId >
192
156
<version >2.28.2</version >
193
157
<scope >test</scope >
194
158
</dependency >
195
- <dependency >
196
- <groupId >junit</groupId >
197
- <artifactId >junit</artifactId >
198
- <version >4.13.2</version >
199
- <scope >test</scope >
200
- </dependency >
201
159
<dependency >
202
160
<groupId >org.slf4j</groupId >
203
161
<artifactId >slf4j-nop</artifactId >
@@ -207,6 +165,27 @@ under the License.
207
165
208
166
</dependencies >
209
167
168
+ <build >
169
+ <plugins >
170
+ <plugin >
171
+ <groupId >org.apache.maven.plugins</groupId >
172
+ <artifactId >maven-plugin-plugin</artifactId >
173
+ <version >${mavenPluginToolsVersion} </version >
174
+ </plugin >
175
+ <plugin >
176
+ <groupId >com.diffplug.spotless</groupId >
177
+ <artifactId >spotless-maven-plugin</artifactId >
178
+ <configuration >
179
+ <java >
180
+ <includes >
181
+ <include >src/**/*.java</include >
182
+ </includes >
183
+ </java >
184
+ </configuration >
185
+ </plugin >
186
+ </plugins >
187
+ </build >
188
+
210
189
<profiles >
211
190
<profile >
212
191
<id >run-its</id >
@@ -216,6 +195,7 @@ under the License.
216
195
<plugin >
217
196
<groupId >org.apache.maven.plugins</groupId >
218
197
<artifactId >maven-invoker-plugin</artifactId >
198
+ <version >3.5.0</version >
219
199
<configuration >
220
200
<debug >true</debug >
221
201
<showErrors >true</showErrors >
0 commit comments