File tree Expand file tree Collapse file tree 1 file changed +54
-14
lines changed Expand file tree Collapse file tree 1 file changed +54
-14
lines changed Original file line number Diff line number Diff line change 117
117
</execution >
118
118
</executions >
119
119
</plugin >
120
- <!-- GPG -->
121
- <plugin >
122
- <groupId >org.apache.maven.plugins</groupId >
123
- <artifactId >maven-gpg-plugin</artifactId >
124
- <version >1.5</version >
125
- <executions >
126
- <execution >
127
- <phase >verify</phase >
128
- <goals >
129
- <goal >sign</goal >
130
- </goals >
131
- </execution >
132
- </executions >
133
- </plugin >
134
120
<!-- 支持多个 source -->
135
121
<plugin >
136
122
<groupId >org.codehaus.mojo</groupId >
239
225
<profiles >
240
226
<profile >
241
227
<id >release</id >
228
+ <build >
229
+ <plugins >
230
+ <!-- GPG -->
231
+ <plugin >
232
+ <groupId >org.apache.maven.plugins</groupId >
233
+ <artifactId >maven-gpg-plugin</artifactId >
234
+ <version >1.5</version >
235
+ <executions >
236
+ <execution >
237
+ <phase >verify</phase >
238
+ <goals >
239
+ <goal >sign</goal >
240
+ </goals >
241
+ </execution >
242
+ </executions >
243
+ </plugin >
244
+ </plugins >
245
+ </build >
242
246
<distributionManagement >
243
247
<snapshotRepository >
244
248
<id >oss</id >
254
258
</profile >
255
259
<profile >
256
260
<id >nexus</id >
261
+ <build >
262
+ <plugins >
263
+ <!-- GPG -->
264
+ <plugin >
265
+ <groupId >org.apache.maven.plugins</groupId >
266
+ <artifactId >maven-gpg-plugin</artifactId >
267
+ <version >1.5</version >
268
+ <executions >
269
+ <execution >
270
+ <phase >verify</phase >
271
+ <goals >
272
+ <goal >sign</goal >
273
+ </goals >
274
+ </execution >
275
+ </executions >
276
+ </plugin >
277
+ </plugins >
278
+ </build >
257
279
<distributionManagement >
258
280
<!-- 发布版私服仓库 -->
259
281
<repository >
271
293
</profile >
272
294
<profile >
273
295
<id >github</id >
296
+ <build >
297
+ <plugins >
298
+ <!-- GPG -->
299
+ <plugin >
300
+ <groupId >org.apache.maven.plugins</groupId >
301
+ <artifactId >maven-gpg-plugin</artifactId >
302
+ <version >1.5</version >
303
+ <executions >
304
+ <execution >
305
+ <phase >verify</phase >
306
+ <goals >
307
+ <goal >sign</goal >
308
+ </goals >
309
+ </execution >
310
+ </executions >
311
+ </plugin >
312
+ </plugins >
313
+ </build >
274
314
<distributionManagement >
275
315
<!-- 发布到GitHub仓库 -->
276
316
<repository >
You can’t perform that action at this time.
0 commit comments