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/10/20 13:40:48 UTC

[logging-log4j-tools] branch main updated (61c4b9b -> 7776334)

This is an automated email from the ASF dual-hosted git repository.

vy pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/logging-log4j-tools.git


    from 61c4b9b  Update auto-generated files
     new 8de79a3  Disable special inheritance handling in POM for `url`, `scm`, etc.
     new 7776334  Add `distributionManagement.downloadUrl` (used in SBOM) to POM

The 2 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.


Summary of changes:
 pom.xml | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)


[logging-log4j-tools] 01/02: Disable special inheritance handling in POM for `url`, `scm`, etc.

Posted by vy...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

vy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/logging-log4j-tools.git

commit 8de79a3c31631f47d286a6a52fa639df934360e5
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Fri Oct 20 15:36:21 2023 +0200

    Disable special inheritance handling in POM for `url`, `scm`, etc.
    
    Maven inheritance assembly generates incorrect values for `url`,
    `scm`, etc. in POM. Hence, disabling it. Note that these values
    are used in many places, in particular, auto-generated SBOMs.
    
    [1] https://maven.apache.org/ref/3.9.4/maven-model-builder/#inheritance-assembly
---
 pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 4201c92..cb657b8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -15,7 +15,7 @@
   ~ See the License for the specific language governing permissions and
   ~ limitations under the License.
   -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" child.project.url.inherit.append.path="false" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
 
   <!-- ██     ██  █████  ██████  ███    ██ ██ ███    ██  ██████  ██
        ██     ██ ██   ██ ██   ██ ████   ██ ██ ████   ██ ██       ██
@@ -89,7 +89,7 @@
 
   </modules>
 
-  <scm>
+  <scm child.scm.connection.inherit.append.path="false" child.scm.developerConnection.inherit.append.path="false" child.scm.url.inherit.append.path="false">
     <connection>scm:git:git@github.com:apache/logging-log4j-tools.git</connection>
     <developerConnection>scm:git:git@github.com:apache/logging-log4j-tools.git</developerConnection>
     <tag>HEAD</tag>


[logging-log4j-tools] 02/02: Add `distributionManagement.downloadUrl` (used in SBOM) to POM

Posted by vy...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

vy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/logging-log4j-tools.git

commit 7776334bbd2689f2c59bcf0c7d28281d89640bcd
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Fri Oct 20 15:38:03 2023 +0200

    Add `distributionManagement.downloadUrl` (used in SBOM) to POM
---
 pom.xml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index cb657b8..3d2c3f8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -39,7 +39,7 @@
   <version>${revision}</version>
   <packaging>pom</packaging>
 
-  <url>https://github.com/apache/logging-log4j-tools</url>
+  <url>https://logging.apache.org/log4j/tools</url>
 
   <inceptionYear>2022</inceptionYear>
 
@@ -106,6 +106,10 @@
     <url>https://github.com/apache/logging-log4j-tools/actions</url>
   </ciManagement>
 
+  <distributionManagement>
+    <downloadUrl>https://logging.apache.org/log4j/tools/latest/#distribution</downloadUrl>
+  </distributionManagement>
+
   <properties>
 
     <!-- project version -->