You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2026/06/06 15:30:25 UTC
(ant-ivy) branch cyclonedx updated (fb454b67 -> edb5269d)
This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a change to branch cyclonedx
in repository https://gitbox.apache.org/repos/asf/ant-ivy.git
from fb454b67 also sign SBOMs, actuylly the openpgp antlib doesn't semm to work for GnuPG 2.x
add ea9bc071 bump copyright year
add f711904d reminder of what to change for a release
add df643934 skip tests if test server is not reachable
new 4b4576e4 Merge branch 'master' into cyclonedx
new edb5269d add SBOMs to binary distribution
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:
NOTICE | 2 +-
asciidoc/dev/makerelease.adoc | 5 +++-
build-release.xml | 30 ++++++++++++++++------
.../apache/ivy/util/url/BasicURLHandlerTest.java | 2 ++
.../apache/ivy/util/url/HttpClientHandlerTest.java | 2 ++
5 files changed, 31 insertions(+), 10 deletions(-)
(ant-ivy) 01/02: Merge branch 'master' into cyclonedx
Posted by bo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch cyclonedx
in repository https://gitbox.apache.org/repos/asf/ant-ivy.git
commit 4b4576e48a0e6bae4b80452ec81ed78575ae4755
Merge: fb454b67 df643934
Author: Stefan Bodewig <bo...@apache.org>
AuthorDate: Sat Jun 6 16:54:58 2026 +0200
Merge branch 'master' into cyclonedx
NOTICE | 2 +-
asciidoc/dev/makerelease.adoc | 5 ++++-
test/java/org/apache/ivy/util/url/BasicURLHandlerTest.java | 2 ++
test/java/org/apache/ivy/util/url/HttpClientHandlerTest.java | 2 ++
4 files changed, 9 insertions(+), 2 deletions(-)
(ant-ivy) 02/02: add SBOMs to binary distribution
Posted by bo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch cyclonedx
in repository https://gitbox.apache.org/repos/asf/ant-ivy.git
commit edb5269d63485629b57094e2388947d2bc8564d8
Author: Stefan Bodewig <bo...@apache.org>
AuthorDate: Sat Jun 6 17:29:45 2026 +0200
add SBOMs to binary distribution
---
build-release.xml | 30 ++++++++++++++++++++++--------
1 file changed, 22 insertions(+), 8 deletions(-)
diff --git a/build-release.xml b/build-release.xml
index b85ef631..ae1ec30f 100644
--- a/build-release.xml
+++ b/build-release.xml
@@ -288,15 +288,15 @@
</exec>
<mkdir dir="${distrib.dir}/dist/${build.version}"/>
<zip destfile="${distrib.dir}/dist/${build.version}/${snapshot.full.name}-src.zip" defaultexcludes="no">
- <zipfileset dir="${build.dir}/snapshot-src" prefix="${snapshot.full.name}" defaultexcludes="no" excludes=".git/**"/>
+ <zipfileset dir="${build.dir}/snapshot-src" prefix="${snapshot.full.name}" defaultexcludes="no" excludes=".git/**" id="dist.sources"/>
</zip>
<tar destfile="${distrib.dir}/dist/${build.version}/${snapshot.full.name}-src.tar.gz"
compression="gzip" longfile="gnu" defaultexcludes="no">
- <zipfileset dir="${build.dir}/snapshot-src" prefix="${snapshot.full.name}" defaultexcludes="no" excludes=".git/**"/>
+ <zipfileset refid="dist.sources"/>
</tar>
</target>
- <target name="snapshot-bin-without-dependencies" depends="snapshot-metadata,jar,all-doc">
+ <target name="snapshot-bin-without-dependencies" depends="snapshot-metadata,jar,jar-sbom,all-doc">
<mkdir dir="${distrib.dir}/dist/${build.version}"/>
<zip destfile="${distrib.dir}/dist/${build.version}/${snapshot.full.name}-bin.zip">
<zipfileset dir="${doc.build.dir}" prefix="${snapshot.full.name}/doc" excludes="**/reports/coverage/**,**/reports/test/**"/>
@@ -311,6 +311,7 @@
<zipfileset dir="${basedir}" includes="build-for-bin-distrib.xml" fullpath="${snapshot.full.name}/build.xml"/>
<zipfileset dir="${artifacts.build.dir}/jars" includes="${final.name}" fullpath="${snapshot.full.name}/ivy-${build.version}.jar"/>
+ <zipfileset dir="${artifacts.build.dir}/jars" includes="ivy-${build.version}-cyclonedx.*" prefix="${snapshot.full.name}"/>
</zip>
<tar destfile="${distrib.dir}/dist/${build.version}/${snapshot.full.name}-bin.tar.gz"
compression="gzip" longfile="gnu">
@@ -318,7 +319,7 @@
</tar>
</target>
- <target name="snapshot-bin-with-dependencies" depends="snapshot-metadata,jar,all-doc">
+ <target name="snapshot-bin-with-dependencies" depends="snapshot-metadata,jar,jar-sbom,all-doc">
<mkdir dir="${distrib.dir}/dist/${build.version}"/>
<delete dir="${build.dir}/lib"/>
<ivy:retrieve conf="default" pattern="${build.dir}/lib/[artifact]-[revision].[ext]"/>
@@ -334,6 +335,7 @@
<zipfileset dir="${artifacts.build.dir}" includes="ivy.xml" fullpath="${snapshot.full.name}/ivy.xml"/>
<zipfileset dir="${artifacts.build.dir}/jars" includes="${final.name}" fullpath="${snapshot.full.name}/ivy-${build.version}.jar"/>
+ <zipfileset dir="${artifacts.build.dir}/jars" includes="ivy-${build.version}-cyclonedx.*" prefix="${snapshot.full.name}"/>
<zipfileset dir="${build.dir}/lib" prefix="${snapshot.full.name}/lib" excludes="ant-*.jar,bcpg-*.jar,bcprov*.jar"/>
</zip>
@@ -361,6 +363,10 @@
</ivy:makepom>
<copy file="${artifacts.build.dir}/jars/${final.name}"
tofile="${m2.distrib.dir}/ivy-${build.version}.jar"/>
+ <!-- SBOMs -->
+ <copy todir="${m2.distrib.dir}">
+ <fileset dir="${artifacts.build.dir}/jars" includes="ivy-${build.version}-cyclonedx.*"/>
+ </copy>
<!-- jar javadocs -->
<jar destfile="${m2.distrib.dir}/ivy-${build.version}-javadoc.jar">
<fileset dir="${javadoc.build.dir}"/>
@@ -373,12 +379,16 @@
<fileset dir="${m2.distrib.dir}">
<include name="*.pom"/>
<include name="*.jar"/>
+ <include name="*-cyclonedx.json"/>
+ <include name="*-cyclonedx.xml"/>
</fileset>
</checksum>
<checksum algorithm="sha-512" fileext=".sha512">
<fileset dir="${m2.distrib.dir}">
<include name="*.pom"/>
<include name="*.jar"/>
+ <include name="*-cyclonedx.json"/>
+ <include name="*-cyclonedx.xml"/>
</fileset>
</checksum>
</target>
@@ -390,6 +400,8 @@
<include name="*.jar"/>
<include name="*.zip"/>
<include name="*.gz"/>
+ <include name="*-cyclonedx.json"/>
+ <include name="*-cyclonedx.xml"/>
</fileset>
</checksum>
<checksum algorithm="sha-512" fileext=".sha512">
@@ -398,6 +410,8 @@
<include name="*.jar"/>
<include name="*.zip"/>
<include name="*.gz"/>
+ <include name="*-cyclonedx.json"/>
+ <include name="*-cyclonedx.xml"/>
</fileset>
</checksum>
</target>
@@ -571,7 +585,7 @@
description="used for nightly and integration builds"/>
<target name="release"
- depends="release-version,/localivy,clean-ivy-home,clean,clean-lib,rat,sbom,snapshot"
+ depends="release-version,/localivy,clean-ivy-home,clean,clean-lib,rat,snapshot"
description="make a new release of Ivy"/>
<target name="tagsdoc" depends="generate-doc"
@@ -736,10 +750,10 @@
</cdx:externalreferenceset>
</target>
- <target name="sbom" depends="define-cyclonedx-components,snapshot-maven2">
+ <target name="jar-sbom" depends="define-cyclonedx-components,jar">
<cdx:componentbom
bomName="ivy-${build.version}-cyclonedx"
- outputdirectory="${m2.distrib.dir}"
+ outputdirectory="${artifacts.build.dir}/jars"
format="all"
useComponentSupplier="true"
useComponentManufacturer="true"
@@ -751,7 +765,7 @@
description="Apache Ivy"
publisher="The Apache Software Foundation"
supplierIsManufacturer="true">
- <file file="${m2.distrib.dir}/ivy-${build.version}.jar"/>
+ <file file="${artifacts.build.dir}/jars/${final.name}"/>
<supplier refid="ant-pmc"/>
<license refid="apache-2"/>
<externalReferenceSet refid="ant-common-refs"/>