You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by vy...@apache.org on 2023/01/03 20:43:42 UTC
[logging-log4j-tools] branch master updated: INFRA-23996 Try to make `sign-maven-plugin` work, take 4
This is an automated email from the ASF dual-hosted git repository.
vy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j-tools.git
The following commit(s) were added to refs/heads/master by this push:
new 06a6604 INFRA-23996 Try to make `sign-maven-plugin` work, take 4
06a6604 is described below
commit 06a660446b08c5b7e180003a4deb7f853f7bc188
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Tue Jan 3 21:44:35 2023 +0100
INFRA-23996 Try to make `sign-maven-plugin` work, take 4
---
.github/workflows/build.yml | 3 +--
pom.xml | 3 +++
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index aef0e5d..032d843 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -169,8 +169,7 @@ jobs:
-DskipTests=true \
-DinstallAtEnd=true \
-DdeployAtEnd=true \
- -P release \
- deploy
+ -P release
env:
NEXUS_USERNAME: ${{ secrets.NEXUS_USER }}
NEXUS_PASSWORD: ${{ secrets.NEXUS_PW }}
diff --git a/pom.xml b/pom.xml
index 464ec36..1469fd5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -143,6 +143,7 @@
<profile>
<id>release</id>
<build>
+ <defaultGoal>install deploy:deploy</defaultGoal>
<plugins>
<plugin>
@@ -151,6 +152,7 @@
<version>${sign-maven-plugin.version}</version>
<executions>
<execution>
+ <phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
@@ -164,6 +166,7 @@
<executions>
<execution>
<id>attach-sources</id>
+ <phase>package</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>