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 2023/10/31 11:02:20 UTC
(logging-parent) branch main updated: Changes to `bnd-baseline-maven-plugin`
This is an automated email from the ASF dual-hosted git repository.
pkarwasz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/logging-parent.git
The following commit(s) were added to refs/heads/main by this push:
new fc9cc55 Changes to `bnd-baseline-maven-plugin`
fc9cc55 is described below
commit fc9cc55f0c362a72d298c19a6fd89cc2baf4ebc9
Author: Piotr P. Karwasz <pi...@karwasz.org>
AuthorDate: Tue Oct 31 11:59:23 2023 +0100
Changes to `bnd-baseline-maven-plugin`
We tweak the `bnd-baseline-maven-plugin` to:
* disable the usage of `<distributionManagement>` to look for releases,
cf. bndtools/bnd#5854.
* disable the usage of alpha releases as baseline.
---
pom.xml | 6 ++++++
src/changelog/.10.x.x/change-bnd-baseline.xml | 9 +++++++++
src/site/_release-notes/_10.x.x.adoc | 1 +
3 files changed, 16 insertions(+)
diff --git a/pom.xml b/pom.xml
index 06ec026..fc81766 100644
--- a/pom.xml
+++ b/pom.xml
@@ -789,6 +789,12 @@
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-baseline-maven-plugin</artifactId>
+ <configuration>
+ <!-- Do not use the <distributionManagement&rt; element to download releases -->
+ <includeDistributionManagement>false</includeDistributionManagement>
+ <!-- Do not check against alpha releases -->
+ <releaseversions>true</releaseversions>
+ </configuration>
<executions>
<execution>
<id>check-api-compat</id>
diff --git a/src/changelog/.10.x.x/change-bnd-baseline.xml b/src/changelog/.10.x.x/change-bnd-baseline.xml
new file mode 100644
index 0000000..3f980f2
--- /dev/null
+++ b/src/changelog/.10.x.x/change-bnd-baseline.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<entry xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns="http://logging.apache.org/log4j/changelog"
+ xsi:schemaLocation="http://logging.apache.org/log4j/changelog https://logging.apache.org/log4j/changelog-0.1.2.xsd"
+ type="changed">
+ <description format="asciidoc">
+ Disable the usage of `<distributionManagement>` and alpha releases in the `bnd-baseline-maven-plugin`.
+ </description>
+</entry>
diff --git a/src/site/_release-notes/_10.x.x.adoc b/src/site/_release-notes/_10.x.x.adoc
index 300fce3..5ca0c19 100644
--- a/src/site/_release-notes/_10.x.x.adoc
+++ b/src/site/_release-notes/_10.x.x.adoc
@@ -49,6 +49,7 @@ This minor release contains several small improvements.
==== Changed
* `deploy-release-reusable.yaml` is improved to automatically derive deployed artifacts as attachments. This renders both `distribution-attachment-filepath-pattern` and `distribution-attachment-count` input arguments redundant for almost all cases.
+* Disable the usage of `<distributionManagement>` and alpha releases in the `bnd-baseline-maven-plugin`.
* Convert `bnd-maven-plugin` API leakage warnings to errors (https://github.com/apache/logging-log4j2/issues/1895[apache/logging-log4j2#1895])
* Update `actions/setup-java` to version `3.13.0` (https://github.com/apache/logging-parent/pull/55[55])
* Update `com.google.errorprone:error_prone_core` to version `2.23.0` (https://github.com/apache/logging-parent/pull/49[49])