File tree Expand file tree Collapse file tree 2 files changed +30
-15
lines changed Expand file tree Collapse file tree 2 files changed +30
-15
lines changed Original file line number Diff line number Diff line change 4646 key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
4747 restore-keys : ${{ runner.os }}-m2
4848 - name : mvn verify
49- run : mvn test
49+ run : mvn verify -Dnosign
Original file line number Diff line number Diff line change 325325 <artifactId >maven-release-plugin</artifactId >
326326 <version >3.0.0-M1</version >
327327 </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 >
342328 <plugin >
343329 <groupId >org.sonatype.plugins</groupId >
344330 <artifactId >nexus-staging-maven-plugin</artifactId >
411397 </extensions >
412398 </build >
413399
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+
414429</project >
You can’t perform that action at this time.
0 commit comments