You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by pk...@apache.org on 2025/03/22 06:50:57 UTC
(logging-parent) branch fix/deploy created (now 324ea50)
This is an automated email from the ASF dual-hosted git repository.
pkarwasz pushed a change to branch fix/deploy
in repository https://gitbox.apache.org/repos/asf/logging-parent.git
at 324ea50 Fix deployment of test artifacts
This branch includes the following new commits:
new 324ea50 Fix deployment of test artifacts
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(logging-parent) 01/01: Fix deployment of test artifacts
Posted by pk...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
pkarwasz pushed a commit to branch fix/deploy
in repository https://gitbox.apache.org/repos/asf/logging-parent.git
commit 324ea506f8f65860dd0d10e0eab98efb76489ebe
Author: Piotr P. Karwasz <pk...@apache.org>
AuthorDate: Sat Mar 22 07:50:50 2025 +0100
Fix deployment of test artifacts
Due to a difference between plugins used, if the `deploy` profile is activated, artifacts with `maven.deploy.skip` are being **deployed**.
This change fixes it.
---
pom.xml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/pom.xml b/pom.xml
index b57a0f8..d279580 100644
--- a/pom.xml
+++ b/pom.xml
@@ -168,6 +168,9 @@
<!-- `bnd-maven-plugin` 7.x requires a Maven version `3.8.1` or higher -->
<minimalMavenBuildVersion>3.8.1</minimalMavenBuildVersion>
+ <!-- The same property will be used by `maven-deploy-plugin` and `nexus-staging-maven-plugin` -->
+ <maven.deploy.skip>false</maven.deploy.skip>
+
<!-- JPMS and OSGi options -->
<!-- Overrides some options in multi-release JARs -->
<bnd-multi-release>false</bnd-multi-release>
@@ -1363,6 +1366,7 @@
</goals>
<configuration>
<nexusUrl>https://repository.apache.org</nexusUrl>
+ <skipNexusStagingDeployMojo>${maven.deploy.skip}</skipNexusStagingDeployMojo>
<serverId>${distMgmtReleasesId}</serverId>
</configuration>
</execution>