You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2023/04/27 11:54:53 UTC

[sling-aggregator] branch isssue/SLING-11843 created (now 2a0d521)

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

rombert pushed a change to branch isssue/SLING-11843
in repository https://gitbox.apache.org/repos/asf/sling-aggregator.git


      at 2a0d521  SLING-11843 - Change Default JDK/OS for Jenkins Builds to JDK11/17 on Unix/Windows

This branch includes the following new commits:

     new 2a0d521  SLING-11843 - Change Default JDK/OS for Jenkins Builds to JDK11/17 on Unix/Windows

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



[sling-aggregator] 01/01: SLING-11843 - Change Default JDK/OS for Jenkins Builds to JDK11/17 on Unix/Windows

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

rombert pushed a commit to branch isssue/SLING-11843
in repository https://gitbox.apache.org/repos/asf/sling-aggregator.git

commit 2a0d52147bfe39d5bbc14cfc87c465e03ab621bf
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Thu Apr 27 13:53:58 2023 +0200

    SLING-11843 - Change Default JDK/OS for Jenkins Builds to JDK11/17 on Unix/Windows
    
    Add a script that can be used to generate a reactor pom of all top-level Sling Maven modules.
---
 scripts/generate-all-pom.sh | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/scripts/generate-all-pom.sh b/scripts/generate-all-pom.sh
new file mode 100755
index 0000000..2560e56
--- /dev/null
+++ b/scripts/generate-all-pom.sh
@@ -0,0 +1,27 @@
+#!/bin/bash -eu
+
+SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
+
+cat << POM_START
+<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">
+    <modelVersion>4.0.0</modelVersion>
+
+    <groupId>org.apache.sling</groupId>
+    <artifactId>sling-all-reactor</artifactId>
+    <packaging>pom</packaging>
+    <version>1-SNAPSHOT</version>
+
+POM_START
+
+echo "    <modules>"
+for repo_dir in $(repo list --path-only); do
+    # TODO - skipping due to unexpected behaviour of feature tooling in aggregator
+    if [[ "${repo_dir}" = "org-apache-sling-starter" -o "${repo_dir}" = "org-apache-sling-app-cms" ]]; then
+        continue
+    fi
+    if [ -f "${SCRIPT_DIR}/../../${repo_dir}/pom.xml" ]; then
+        echo "        <module>$repo_dir</module>"
+    fi
+done
+echo "    </modules>"
+echo "</project>"