This is an automated email from the ASF dual-hosted git repository.
cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/training.git
The following commit(s) were added to refs/heads/develop by this push:
new 65fa346 chore: Added apache headers to the new files.
65fa346 is described below
commit 65fa3466fac20c5fa796ef75d03d6b8964d586ff
Author: Christofer Dutz <[email protected]>
AuthorDate: Sat Aug 30 18:33:54 2025 +0200
chore: Added apache headers to the new files.
---
docker/entrypoint.sh | 19 +++++++++++++++++++
docker/requirements-legacy.txt | 19 +++++++++++++++++++
docker/requirements-modern.txt | 19 +++++++++++++++++++
.../src/main/resources/archetype-resources/pom.xml | 17 +++++++++++++++++
.../archetype-resources/requirements-legacy.txt | 19 +++++++++++++++++++
.../archetype-resources/requirements-modern.txt | 19 +++++++++++++++++++
6 files changed, 112 insertions(+)
diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh
index 8adb04e..8674927 100644
--- a/docker/entrypoint.sh
+++ b/docker/entrypoint.sh
@@ -1,4 +1,23 @@
#!/usr/bin/env bash
+# ----------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+# ----------------------------------------------------------------------------
+
set -euo pipefail
WS_DIR=${WS_DIR:-/ws}
diff --git a/docker/requirements-legacy.txt b/docker/requirements-legacy.txt
index 49c37ca..af60868 100644
--- a/docker/requirements-legacy.txt
+++ b/docker/requirements-legacy.txt
@@ -1,3 +1,22 @@
+# ----------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+# ----------------------------------------------------------------------------
+
syntrax==1.0
blockdiag==3.0.0
actdiag==3.0.0
diff --git a/docker/requirements-modern.txt b/docker/requirements-modern.txt
index b02490c..415d1d0 100644
--- a/docker/requirements-modern.txt
+++ b/docker/requirements-modern.txt
@@ -1,3 +1,22 @@
+# ----------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+# ----------------------------------------------------------------------------
+
pip==24.2
convert==0.1.2
#dbus-python==1.2.18
diff --git
a/tools/content-archetype/src/main/resources/archetype-resources/pom.xml
b/tools/content-archetype/src/main/resources/archetype-resources/pom.xml
index 4de9447..be156b7 100644
--- a/tools/content-archetype/src/main/resources/archetype-resources/pom.xml
+++ b/tools/content-archetype/src/main/resources/archetype-resources/pom.xml
@@ -37,6 +37,23 @@
<name>Training: Tools: Slide Template: Asciidoc to reveal.js Maven
${package}</name>
<description>An ${package} project that demonstrates how to integrate
convert Asciidoc to a reveal.js presentation with the Asciidoctor Maven
plugin.</description>
+ <!-- Comment in, if you don't want/can't/don't want to add apache headers
to every file -->
+ <!--build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <version>0.16.1</version>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build-->
+
<!-- Make Snapshots of Apache projects available -->
<repositories>
<repository>
diff --git
a/tools/content-archetype/src/main/resources/archetype-resources/requirements-legacy.txt
b/tools/content-archetype/src/main/resources/archetype-resources/requirements-legacy.txt
index 49c37ca..af60868 100644
---
a/tools/content-archetype/src/main/resources/archetype-resources/requirements-legacy.txt
+++
b/tools/content-archetype/src/main/resources/archetype-resources/requirements-legacy.txt
@@ -1,3 +1,22 @@
+# ----------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+# ----------------------------------------------------------------------------
+
syntrax==1.0
blockdiag==3.0.0
actdiag==3.0.0
diff --git
a/tools/content-archetype/src/main/resources/archetype-resources/requirements-modern.txt
b/tools/content-archetype/src/main/resources/archetype-resources/requirements-modern.txt
index b02490c..415d1d0 100644
---
a/tools/content-archetype/src/main/resources/archetype-resources/requirements-modern.txt
+++
b/tools/content-archetype/src/main/resources/archetype-resources/requirements-modern.txt
@@ -1,3 +1,22 @@
+# ----------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+# ----------------------------------------------------------------------------
+
pip==24.2
convert==0.1.2
#dbus-python==1.2.18