@@ -60,9 +60,10 @@ under the License.
60
60
</distributionManagement >
61
61
62
62
<properties >
63
+ <javaVersion >8</javaVersion >
63
64
<mavenVersion >3.9.6</mavenVersion >
64
65
<resolverVersion >1.9.18</resolverVersion >
65
- <javaVersion >8</ javaVersion >
66
+ <bouncycastleVersion >1.77</ bouncycastleVersion >
66
67
<project .build.outputTimestamp>2023-05-03T01:33:44Z</project .build.outputTimestamp>
67
68
<resource .delimiter>@</resource .delimiter>
68
69
</properties >
@@ -120,6 +121,22 @@ under the License.
120
121
<artifactId >plexus-utils</artifactId >
121
122
<version >3.5.1</version >
122
123
</dependency >
124
+ <dependency >
125
+ <groupId >org.bouncycastle</groupId >
126
+ <artifactId >bcpg-jdk18on</artifactId >
127
+ <version >${bouncycastleVersion} </version >
128
+ </dependency >
129
+ <dependency >
130
+ <groupId >org.bouncycastle</groupId >
131
+ <artifactId >bcprov-jdk18on</artifactId >
132
+ <version >${bouncycastleVersion} </version >
133
+ </dependency >
134
+ <dependency >
135
+ <groupId >com.kohlschutter.junixsocket</groupId >
136
+ <artifactId >junixsocket-core</artifactId >
137
+ <version >2.9.0</version >
138
+ <type >pom</type >
139
+ </dependency >
123
140
124
141
<dependency >
125
142
<groupId >org.junit.jupiter</groupId >
@@ -179,8 +196,8 @@ under the License.
179
196
<artifactId >apache-rat-plugin</artifactId >
180
197
<configuration >
181
198
<excludes combine.children=" append" >
182
- <!-- rat check errors seen on ASF Jenkins instance, but not on local machine... -->
183
- <exclude >src/test/resources/gnupg/ **</exclude >
199
+ <!-- rat is too cheeky, ignore these resources -->
200
+ <exclude >src/test/resources/**</exclude >
184
201
</excludes >
185
202
</configuration >
186
203
</plugin >
@@ -220,6 +237,67 @@ under the License.
220
237
<build >
221
238
<plugins >
222
239
<plugin >
240
+ <groupId >org.apache.maven.plugins</groupId >
241
+ <artifactId >maven-invoker-plugin</artifactId >
242
+ <configuration >
243
+ <settingsFile >src/it/settings.xml</settingsFile >
244
+ <pomIncludes >
245
+ <pomInclude >*</pomInclude >
246
+ </pomIncludes >
247
+ <pomExcludes >
248
+ <!-- not supported with gpg 2.1+ -->
249
+ <pomExclude >alternative-secret-keyring</pomExclude >
250
+ </pomExcludes >
251
+ <goals >
252
+ <goal >clean</goal >
253
+ <goal >install</goal >
254
+ </goals >
255
+ <properties >
256
+ <gpg .homedir>${project.build.testOutputDirectory} /gnupg</gpg .homedir>
257
+ </properties >
258
+ </configuration >
259
+ <executions >
260
+ <execution >
261
+ <id >integration-test</id >
262
+ <phase >none</phase >
263
+ </execution >
264
+ <execution >
265
+ <id >integration-test-install</id >
266
+ <goals >
267
+ <goal >install</goal >
268
+ </goals >
269
+ <phase >integration-test</phase >
270
+ </execution >
271
+ <execution >
272
+ <id >gpg-integration-tests</id >
273
+ <goals >
274
+ <goal >run</goal >
275
+ </goals >
276
+ <phase >integration-test</phase >
277
+ <configuration >
278
+ <properties >
279
+ <gpg .signer>gpg</gpg .signer>
280
+ </properties >
281
+ </configuration >
282
+ </execution >
283
+ <execution >
284
+ <id >bc-integration-tests</id >
285
+ <goals >
286
+ <goal >run</goal >
287
+ </goals >
288
+ <phase >integration-test</phase >
289
+ <configuration >
290
+ <properties >
291
+ <gpg .signer>bc</gpg .signer>
292
+ <!-- must be absolute -->
293
+ <gpg .keyFilePath>${project.basedir} /src/test/resources/signing-key.asc</gpg .keyFilePath>
294
+ </properties >
295
+ </configuration >
296
+ </execution >
297
+ </executions >
298
+ </plugin >
299
+ <plugin >
300
+ <!-- this failsafe invocation depends on invoker:install above -->
223
301
<groupId >org.apache.maven.plugins</groupId >
224
302
<artifactId >maven-failsafe-plugin</artifactId >
225
303
<configuration >
@@ -243,27 +321,6 @@ under the License.
243
321
</execution >
244
322
</executions >
245
323
</plugin >
246
- <plugin >
247
- <groupId >org.apache.maven.plugins</groupId >
248
- <artifactId >maven-invoker-plugin</artifactId >
249
- <configuration >
250
- <settingsFile >src/it/settings.xml</settingsFile >
251
- <pomIncludes >
252
- <pomInclude >*</pomInclude >
253
- </pomIncludes >
254
- <pomExcludes >
255
- <!-- not supported with gpg 2.1+ -->
256
- <pomExclude >alternative-secret-keyring</pomExclude >
257
- </pomExcludes >
258
- <goals >
259
- <goal >clean</goal >
260
- <goal >install</goal >
261
- </goals >
262
- <properties >
263
- <gpg .homedir>${project.build.testOutputDirectory} /gnupg</gpg .homedir>
264
- </properties >
265
- </configuration >
266
- </plugin >
267
324
</plugins >
268
325
</build >
269
326
</profile >
0 commit comments