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

asf-gitbox-commits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ant-antlibs-antunit.git


The following commit(s) were added to refs/heads/master by this push:
     new 3b1b4e4  upgrade common
3b1b4e4 is described below

commit 3b1b4e4237e6d24058c4a65de04c81878b82f508
Author: Stefan Bodewig <[email protected]>
AuthorDate: Fri Jun 19 18:52:52 2026 +0200

    upgrade common
---
 build.xml          |   1 +
 common             |   2 +-
 cyclonedx.xml      | 111 +++--------------------------------------------------
 version.properties |   1 +
 4 files changed, 8 insertions(+), 107 deletions(-)

diff --git a/build.xml b/build.xml
index 437c8b8..46b64ce 100644
--- a/build.xml
+++ b/build.xml
@@ -29,6 +29,7 @@ under the License.
       resource="org/apache/ant/antunit/antlib.xml">
       <classpath>
         <path refid="classpath.test"/>
+        <pathelement location="${build.classes}"/>
         <pathelement location="${antlib.location}"/>
       </classpath>
     </typedef>
diff --git a/common b/common
index 4bc0835..b24e42f 160000
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit 4bc0835ac521a9b64a623a94225cfdbcce708193
+Subproject commit b24e42f26da431ca6c2a7c793f2fda855f8154d7
diff --git a/cyclonedx.xml b/cyclonedx.xml
index 40698c8..59e613c 100644
--- a/cyclonedx.xml
+++ b/cyclonedx.xml
@@ -19,36 +19,7 @@ under the License.
 -->
 <project name="cyclonedx" xmlns:ivy="antlib:org.apache.ivy.ant">
 
-  <target name="define-cyclonedx-components" depends="fetch-cyclonedx">
-    <!-- common definitions for SBOMs -->
-    <cdx:organization
-        name="Apache Ant Project Management Committee"
-        id="ant-pmc"
-        xmlns:cdx="antlib:org.apache.ant.cyclonedx">
-      <url url="https://ant.apache.org/"/>
-    </cdx:organization>
-    <cdx:license
-        licenseId="Apache-2.0"
-        id="apache-2"
-        xmlns:cdx="antlib:org.apache.ant.cyclonedx">
-      <url url="https://www.apache.org/licenses/LICENSE-2.0.txt"/>
-    </cdx:license>
-    <cdx:externalreferenceset
-        id="ant-common-refs"
-        xmlns:cdx="antlib:org.apache.ant.cyclonedx">
-      <externalReference
-          type="LICENSE"
-          url="https://www.apache.org/licenses/LICENSE-2.0.txt"/>
-      <externalReference
-          type="MAILING_LIST"
-          url="https://ant.apache.org/mail.html"/>
-      <externalReference
-          type="SECURITY_CONTACT"
-          url="https://www.apache.org/security/"/>
-      <externalReference
-          type="rfc-9116"
-          url="https://ant.apache.org/.well-known/security.txt"/>
-    </cdx:externalreferenceset>
+  <target name="define-cyclonedx-components" 
depends="define-core-ant-components">
     <cdx:externalreferenceset
         id="antlib-ext-refs"
         xmlns:cdx="antlib:org.apache.ant.cyclonedx">
@@ -61,46 +32,6 @@ under the License.
       <externalReference
           type="ISSUE_TRACKER"
           
url="https://bz.apache.org/bugzilla/buglist.cgi?component=AntUnit&amp;product=Ant"/>
-      <externalReference
-          type="WEBSITE"
-          url="https://ant.apache.org/antlibs/antunit/"/>
-      <externalReference
-          type="DISTRIBUTION"
-          url="https://ant.apache.org/antlibs/bindownload.cgi"/>
-      <externalReference
-          type="SOURCE_DISTRIBUTION"
-          url="https://ant.apache.org/antlibs/srcdownload.cgi"/>
-    </cdx:externalreferenceset>
-    <cdx:externalreferenceset
-        id="ant-ext-refs"
-        xmlns:cdx="antlib:org.apache.ant.cyclonedx">
-      <externalReference
-          type="VCS"
-          url="https://gitbox.apache.org/repos/asf/ant.git"/>
-      <externalReference
-          type="BUILD_SYSTEM"
-          url="https://ci-builds.apache.org/job/Ant/"/>
-      <externalReference
-          type="ISSUE_TRACKER"
-          url="https://bz.apache.org/bugzilla/buglist.cgi?product=Ant"/>
-      <externalReference
-          type="WEBSITE"
-          url="https://ant.apache.org/"/>
-      <externalReference
-          type="ADVISORIES"
-          
url="https://ant.apache.org/security.html#Apache%20Ant%20Security%20Vulnerabilities"/>
-      <externalReference
-          type="DOCUMENTATION"
-          url="https://ant.apache.org/manual/"/>
-      <externalReference
-          type="DISTRIBUTION"
-          url="https://ant.apache.org/bindownload.cgi"/>
-      <externalReference
-          type="SOURCE_DISTRIBUTION"
-          url="https://ant.apache.org/srcdownload.cgi"/>
-      <externalReference
-          type="RELEASE_NOTES"
-          url="https://github.com/apache/ant/blob/master/WHATSNEW"/>
     </cdx:externalreferenceset>
   </target>
 
@@ -133,33 +64,13 @@ under the License.
         <supplier refid="ant-pmc"/>
         <license refid="apache-2"/>
         <externalReferenceSet refid="ant-common-refs"/>
+        <externalReferenceSet refid="antlibs-common-ext-refs"/>
         <externalReferenceSet refid="antlib-ext-refs"/>
         <dependency componentRef="ant"/>
         <dependency componentRef="junit"/>
       </component>
-      <additionalComponent
-          name="ant"
-          group="org.apache.ant"
-          version="1.10.13"
-          isExternal="true"
-          id="ant">
-        <supplier refid="ant-pmc"/>
-        <license refid="apache-2"/>
-        <externalReferenceSet refid="ant-common-refs"/>
-        <externalReferenceSet refid="ant-ext-refs"/>
-        <dependency componentRef="ant-launcher"/>
-      </additionalComponent>
-      <additionalComponent
-          name="ant-launcher"
-          group="org.apache.ant"
-          version="1.10.13"
-          isExternal="true"
-          id="ant-launcher">
-        <supplier refid="ant-pmc"/>
-        <license refid="apache-2"/>
-        <externalReferenceSet refid="ant-common-refs"/>
-        <externalReferenceSet refid="ant-ext-refs"/>
-      </additionalComponent>
+      <additionalComponent refid="ant"/>
+      <additionalComponent refid="ant-launcher"/>
       <additionalComponent
           id="junit"
           name="junit"
@@ -260,6 +171,7 @@ under the License.
             <supplier refid="ant-pmc"/>
             <license refid="apache-2"/>
             <externalReferenceSet refid="ant-common-refs"/>
+            <externalReferenceSet refid="antlibs-common-ext-refs"/>
             <externalReferenceSet refid="antlib-ext-refs"/>
             <moreComponentChildren/>
           </componentChildren>
@@ -337,17 +249,4 @@ under the License.
       </component>
     </create-tarball-boms>
   </target>
-
-  <target name="fetch-cyclonedx" depends="resolve" if="with.ivy">
-    <ivy:cachepath organisation="org.apache.ant"
-                   module="ant-cyclonedx"
-                   revision="0.1"
-                   inline="true"
-                   conf="default"
-                   pathid="cyclonedx.classpath"
-                   log="download-only"/>
-    <typedef uri="antlib:org.apache.ant.cyclonedx"
-             resource="org/apache/ant/cyclonedx/antlib.xml"
-             classpathref="cyclonedx.classpath"/>
-  </target>
 </project>
diff --git a/version.properties b/version.properties
index 1548ffe..89d55e1 100644
--- a/version.properties
+++ b/version.properties
@@ -13,3 +13,4 @@
 #  See the License for the specific language governing permissions and
 #  limitations under the License.
 artifact.version=1.5.1alpha
+ant.core.version=1.10.13

Reply via email to