File tree 2 files changed +30
-15
lines changed
2 files changed +30
-15
lines changed Original file line number Diff line number Diff line change 46
46
key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
47
47
restore-keys : ${{ runner.os }}-m2
48
48
- name : mvn verify
49
- run : mvn test
49
+ run : mvn verify -Dnosign
Original file line number Diff line number Diff line change 325
325
<artifactId >maven-release-plugin</artifactId >
326
326
<version >3.0.0-M1</version >
327
327
</plugin >
328
- <plugin >
329
- <groupId >org.apache.maven.plugins</groupId >
330
- <artifactId >maven-gpg-plugin</artifactId >
331
- <version >1.6</version >
332
- <executions >
333
- <execution >
334
- <id >sign-artifacts</id >
335
- <goals >
336
- <goal >sign</goal >
337
- </goals >
338
- <phase >verify</phase >
339
- </execution >
340
- </executions >
341
- </plugin >
342
328
<plugin >
343
329
<groupId >org.sonatype.plugins</groupId >
344
330
<artifactId >nexus-staging-maven-plugin</artifactId >
411
397
</extensions >
412
398
</build >
413
399
400
+ <profiles >
401
+ <profile >
402
+ <id >sign</id >
403
+ <activation >
404
+ <property >
405
+ <name >!nosign</name >
406
+ </property >
407
+ </activation >
408
+ <build >
409
+ <plugins >
410
+ <plugin >
411
+ <groupId >org.apache.maven.plugins</groupId >
412
+ <artifactId >maven-gpg-plugin</artifactId >
413
+ <version >1.6</version >
414
+ <executions >
415
+ <execution >
416
+ <id >sign-artifacts</id >
417
+ <goals >
418
+ <goal >sign</goal >
419
+ </goals >
420
+ <phase >verify</phase >
421
+ </execution >
422
+ </executions >
423
+ </plugin >
424
+ </plugins >
425
+ </build >
426
+ </profile >
427
+ </profiles >
428
+
414
429
</project >
You can’t perform that action at this time.
0 commit comments