You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ss...@apache.org on 2025/11/26 09:22:31 UTC

(sling-tooling-release) branch master updated (cf295c8 -> 29c286c)

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

sseifert pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/sling-tooling-release.git


    from cf295c8  support downloading SNAPSHOT sling starter bundle list
     new 67e16ba  add instructions
     new 39cc4f2  always use the part after the last ":" to get the version number, to be compatible a bundle identified like "org.apache.sling:org.apache.sling.commons.log:jar:all:6.0.2"
     new 29c286c  update to apache parent 35, javadoc plugin 3.12.0

The 3 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:
 generate_javadoc_for_release.sh | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)


(sling-tooling-release) 02/03: always use the part after the last ":" to get the version number, to be compatible a bundle identified like "org.apache.sling:org.apache.sling.commons.log:jar:all:6.0.2"

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

sseifert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-tooling-release.git

commit 39cc4f24b1b5a4ab2f4e77f0eb16dc1c8fe55e82
Author: Stefan Seifert <st...@users.noreply.github.com>
AuthorDate: Wed Nov 26 10:06:15 2025 +0100

    always use the part after the last ":" to get the version number, to be compatible a bundle identified like "org.apache.sling:org.apache.sling.commons.log:jar:all:6.0.2"
---
 generate_javadoc_for_release.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/generate_javadoc_for_release.sh b/generate_javadoc_for_release.sh
index d9f035c..0bbfd16 100755
--- a/generate_javadoc_for_release.sh
+++ b/generate_javadoc_for_release.sh
@@ -46,7 +46,7 @@ else
 fi
 
 # extract <artifactId>-<version> from feature file
-artifacts=$(cat $WORKDIR/feature.json | jq -r '.bundles[].id | select(startswith("org.apache.sling"))' | awk -F ':' '{ print $2 ":" $3 }')
+artifacts=$(cat $WORKDIR/feature.json | jq -r '.bundles[].id | select(startswith("org.apache.sling"))' | awk -F ':' '{ print $2 ":" $NF }')
 
 # add additional artifacts which are not part of the launchpad
 # https://issues.apache.org/jira/browse/SLING-6766
@@ -55,8 +55,8 @@ artifacts+=" org.apache.sling.servlets.annotations:1.2.6"
 
 # checkout tags
 for artifact in $artifacts; do
-    artifact_name=$(echo $artifact | sed 's/:.*//')
-    artifact_version=$(echo $artifact | sed 's/.*://')
+    artifact_name=$(echo $artifact | awk -F ':' '{ print $1 }')
+    artifact_version=$(echo $artifact | awk -F ':' '{ print $2 }')
     branch_name="${artifact_name}-${artifact_version}"
     artifact_dir="sling-${artifact_name}-${artifact_version}"
     artifact_repo=$(echo $artifact_name | tr '.' '-')


(sling-tooling-release) 03/03: update to apache parent 35, javadoc plugin 3.12.0

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

sseifert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-tooling-release.git

commit 29c286c5791a99e1f3eb242e2ed6ab4c3e7e0c45
Author: Stefan Seifert <st...@users.noreply.github.com>
AuthorDate: Wed Nov 26 10:22:23 2025 +0100

    update to apache parent 35, javadoc plugin 3.12.0
---
 generate_javadoc_for_release.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/generate_javadoc_for_release.sh b/generate_javadoc_for_release.sh
index 0bbfd16..54ad7cc 100755
--- a/generate_javadoc_for_release.sh
+++ b/generate_javadoc_for_release.sh
@@ -111,7 +111,7 @@ echo >> $POM
 echo "  <parent>" >> $POM
 echo "    <groupId>org.apache</groupId>" >> $POM
 echo "    <artifactId>apache</artifactId>" >> $POM
-echo "    <version>33</version>" >> $POM
+echo "    <version>35</version>" >> $POM
 echo "  </parent>" >> $POM
 echo >> $POM
 echo "  <name>Apache Sling</name>" >> $POM
@@ -143,7 +143,7 @@ echo "Starting javadoc generation"
 
 pushd $WORKDIR
 mvn -DexcludePackageNames="*.impl:*.internal:*.jsp:sun.misc:*.juli:*.testservices:*.integrationtest:*.maven:javax.*:org.osgi.*" \
-         org.apache.maven.plugins:maven-javadoc-plugin:3.11.2:aggregate -Dnotimestamp=true -Dignore.javadocjdk=true -Ddoclint=none
+         org.apache.maven.plugins:maven-javadoc-plugin:3.12.0:aggregate -Dnotimestamp=true -Dignore.javadocjdk=true -Ddoclint=none
 popd
 
 echo "Generated Javadocs can be found in $WORKDIR/target/site/apidocs/"