archiveUrl is wrong

This commit is contained in:
Stefan Bodewig 2026-06-04 08:44:49 +02:00
parent 55e01c1de1
commit e38891055a
No known key found for this signature in database
GPG Key ID: 23738DFD7C40DE43
1 changed files with 8 additions and 1 deletions

View File

@ -235,6 +235,7 @@ under the License.
<macrodef name="create-tarball-bom">
<attribute name="distdir"/>
<attribute name="distbase"/>
<attribute name="subdir"/>
<attribute name="binsrc"/>
<attribute name="binarysource"/>
<attribute name="ext"/>
@ -244,7 +245,7 @@ under the License.
outputdirectory="@{distbase}"
version="${artifact.version}"
archiveName="${dist.name}-@{binsrc}.@{ext}"
archiveUrl="https://archive.apache.org/dist/ant/antlibs/antunit/${dist.name}-@{binsrc}.@{ext}"
archiveUrl="https://archive.apache.org/dist/ant/antlibs/antunit/@{subdir}/${dist.name}-@{binsrc}.@{ext}"
archiveLocation="@{distbase}/${dist.name}-@{binsrc}.@{ext}"
description="Apache AntUnit @{binarysource}"
publisher="The Apache Software Foundation"
@ -270,6 +271,7 @@ under the License.
<macrodef name="create-tarball-boms">
<attribute name="distdir"/>
<attribute name="distbase"/>
<attribute name="subdir"/>
<attribute name="binsrc"/>
<attribute name="binarysource"/>
<element name="componentChildren" implicit="true" optional="true"/>
@ -277,6 +279,7 @@ under the License.
<create-tarball-bom
distdir="@{distdir}"
distbase="@{distbase}"
subdir="@{subdir}"
binsrc="@{binsrc}"
binarysource="@{binarysource}"
ext="tar.gz">
@ -285,6 +288,7 @@ under the License.
<create-tarball-bom
distdir="@{distdir}"
distbase="@{distbase}"
subdir="@{subdir}"
binsrc="@{binsrc}"
binarysource="@{binarysource}"
ext="tar.bz2">
@ -293,6 +297,7 @@ under the License.
<create-tarball-bom
distdir="@{distdir}"
distbase="@{distbase}"
subdir="@{subdir}"
binsrc="@{binsrc}"
binarysource="@{binarysource}"
ext="zip">
@ -306,6 +311,7 @@ under the License.
<create-tarball-boms
distdir="${src.dist.dir}"
distbase="${dist.base}"
subdir="source"
binsrc="src"
binarysource="Source Distribution"/>
</target>
@ -314,6 +320,7 @@ under the License.
<create-tarball-boms
distdir="${bin.dist.dir}"
distbase="${dist.base}"
subdir="binaries"
binsrc="bin"
binarysource="Binary Distribution">
<component>