Skip to content

Commit 24a5fb7

Browse files
authored
Merge pull request #1115 from matrei/license-headers
License headers and Spring Boot 3.5.0, Spring Security 6.5.0
2 parents 0e98788 + 36b4442 commit 24a5fb7

File tree

1,802 files changed

+25842
-209887
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,802 files changed

+25842
-209887
lines changed

.github/ISSUE_TEMPLATE/bug_report.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one or more
2+
# contributor license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright ownership.
4+
# The ASF licenses this file to You under the Apache License, Version 2.0
5+
# (the "License"); you may not use this file except in compliance with
6+
# the License. You may obtain a copy of the License at
7+
#
8+
# https://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
115
name: Bug Report
216
description: File a bug report
317
body:

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one or more
2+
# contributor license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright ownership.
4+
# The ASF licenses this file to You under the Apache License, Version 2.0
5+
# (the "License"); you may not use this file except in compliance with
6+
# the License. You may obtain a copy of the License at
7+
#
8+
# https://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
116
contact_links:
217
- name: Stack Overflow
318
url: https://stackoverflow.com/tags/grails

.github/ISSUE_TEMPLATE/new_feature.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one or more
2+
# contributor license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright ownership.
4+
# The ASF licenses this file to You under the Apache License, Version 2.0
5+
# (the "License"); you may not use this file except in compliance with
6+
# the License. You may obtain a copy of the License at
7+
#
8+
# https://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
115
name: Feature request
216
description: Create a new feature request
317
body:

.github/ISSUE_TEMPLATE/other.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one or more
2+
# contributor license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright ownership.
4+
# The ASF licenses this file to You under the Apache License, Version 2.0
5+
# (the "License"); you may not use this file except in compliance with
6+
# the License. You may obtain a copy of the License at
7+
#
8+
# https://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
115
name: Other
216
description: Something different
317
body:

.github/dependabot.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one or more
2+
# contributor license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright ownership.
4+
# The ASF licenses this file to You under the Apache License, Version 2.0
5+
# (the "License"); you may not use this file except in compliance with
6+
# the License. You may obtain a copy of the License at
7+
#
8+
# https://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
116
version: 2
217
updates:
318
- package-ecosystem: gradle

.github/release-drafter.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one or more
2+
# contributor license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright ownership.
4+
# The ASF licenses this file to You under the Apache License, Version 2.0
5+
# (the "License"); you may not use this file except in compliance with
6+
# the License. You may obtain a copy of the License at
7+
#
8+
# https://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
116
name-template: $RESOLVED_VERSION
217
tag-template: v$RESOLVED_VERSION
318
pull-request:

.github/workflows/gradle.yml

Lines changed: 31 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,35 @@
1-
name: "Java CI"
1+
# Licensed to the Apache Software Foundation (ASF) under one or more
2+
# contributor license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright ownership.
4+
# The ASF licenses this file to You under the Apache License, Version 2.0
5+
# (the "License"); you may not use this file except in compliance with
6+
# the License. You may obtain a copy of the License at
7+
#
8+
# https://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
name: "CI"
217
on:
318
push:
419
branches:
5-
- '[4-9]+.[0-9]+.x'
6-
- '[3-9]+.[3-9]+.x'
20+
- '[3-9]+.[0-9]+.x'
721
pull_request:
822
branches:
9-
- '[4-9]+.[0-9]+.x'
10-
- '[3-9]+.[3-9]+.x'
23+
- '[3-9]+.[0-9]+.x'
1124
workflow_dispatch:
1225
permissions:
1326
packages: read
27+
concurrency:
28+
group: ${{ github.workflow }}-${{ github.ref }}
29+
cancel-in-progress: false
1430
jobs:
15-
core-tests:
31+
coreTests:
32+
if: ${{ contains(github.event.head_commit.message, '[skip tests]') }}
1633
runs-on: ubuntu-24.04
1734
steps:
1835
- name: "📥 Checkout repository"
@@ -28,7 +45,8 @@ jobs:
2845
develocity-access-key: ${{ secrets.GRAILS_DEVELOCITY_ACCESS_KEY }}
2946
- name: "🏃‍♂️ Run Tests"
3047
run: ./gradlew check --max-workers=2 --refresh-dependencies --continue
31-
functional-test:
48+
functionalTests:
49+
if: ${{ contains(github.event.head_commit.message, '[skip tests]') }}
3250
runs-on: ubuntu-24.04
3351
strategy:
3452
fail-fast: false
@@ -48,8 +66,9 @@ jobs:
4866
develocity-access-key: ${{ secrets.GRAILS_DEVELOCITY_ACCESS_KEY }}
4967
- name: "🏃‍♂️ Run Different Config Functional Tests"
5068
run: ./gradlew core-examples-functional-test-app:check -DTESTCONFIG=${{ matrix.test-config }}
51-
build:
52-
if: github.event_name == 'push'
69+
publish:
70+
needs: [ coreTests, functionalTests ]
71+
if: ${{ always() && github.repository_owner == 'apache' && github.event_name == 'push' && (needs.coreTests.result == 'success' || needs.coreTests.result == 'skipped') && (needs.functionalTests.result == 'success' || needs.functionalTests.result == 'skipped') }}
5372
runs-on: ubuntu-24.04
5473
permissions:
5574
contents: write
@@ -67,12 +86,11 @@ jobs:
6786
develocity-access-key: ${{ secrets.GRAILS_DEVELOCITY_ACCESS_KEY }}
6887
- name: "📤 Publish Snapshot artifacts"
6988
env:
70-
GITHUB_MAVEN_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
7189
GRAILS_PUBLISH_RELEASE: 'false'
72-
MAVEN_PUBLISH_USERNAME: ${{ secrets.NEXUS_USER }}
73-
MAVEN_PUBLISH_PASSWORD: ${{ secrets.NEXUS_PW }}
7490
MAVEN_PUBLISH_URL: ${{ secrets.GRAILS_NEXUS_PUBLISH_SNAPSHOT_URL }}
75-
run: ./gradlew --no-build-cache publish
91+
MAVEN_PUBLISH_USERNAME: ${{ secrets.NEXUS_USER }}
92+
MAVEN_PUBLISH_PASSWORD: ${{ secrets.NEXUS_PW }}
93+
run: ./gradlew publish --no-build-cache --rerun-tasks
7694
- name: "🔨 Generate Snapshot Documentation"
7795
run: ./gradlew aggregateDocs
7896
- name: "🚀 Publish to Github Pages"

.github/workflows/rat.yml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one or more
2+
# contributor license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright ownership.
4+
# The ASF licenses this file to You under the Apache License, Version 2.0
5+
# (the "License"); you may not use this file except in compliance with
6+
# the License. You may obtain a copy of the License at
7+
#
8+
# https://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
name: RAT Report
17+
on:
18+
push:
19+
branches:
20+
- '[3-9]+.[0-9]+.x'
21+
pull_request:
22+
branches:
23+
- '[3-9]+.[0-9]+.x'
24+
workflow_dispatch:
25+
# queue jobs and only allow 1 run per branch due to the likelihood of hitting GitHub resource limits
26+
concurrency:
27+
group: ${{ github.workflow }}-${{ github.ref }}
28+
cancel-in-progress: false
29+
jobs:
30+
rat-audit:
31+
runs-on: ubuntu-latest
32+
steps:
33+
- name: "📥 Checkout repository"
34+
uses: actions/checkout@v4
35+
- name: "☕️ Setup JDK"
36+
uses: actions/setup-java@v4
37+
with:
38+
distribution: liberica
39+
java-version: 17
40+
- name: "🐘 Setup Gradle"
41+
uses: gradle/actions/setup-gradle@v4
42+
with:
43+
develocity-access-key: ${{ secrets.GRAILS_DEVELOCITY_ACCESS_KEY }}
44+
- name: "🧐 Apache License - Release Audit Tool"
45+
run: ./gradlew rat
46+
- name: Upload RAT HTML report
47+
if: always()
48+
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
49+
with:
50+
name: rat-report
51+
path: build/reports/rat/index.html
52+
- name: Publish RAT report in Job Summary
53+
if: always()
54+
run: |
55+
echo "## 📋 Apache RAT Report" >> $GITHUB_STEP_SUMMARY
56+
# inject raw HTML (it will render as HTML in the summary)
57+
sed -n '/<body[^>]*>/,/<\/body>/ { /<h3>Archives:<\/h3>/,/<\/body>/d; /<body[^>]*>/d; /<\/body>/d; s/^[[:space:]]*//; p; }' build/reports/rat/index.html >> $GITHUB_STEP_SUMMARY

.github/workflows/release-notes.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one or more
2+
# contributor license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright ownership.
4+
# The ASF licenses this file to You under the Apache License, Version 2.0
5+
# (the "License"); you may not use this file except in compliance with
6+
# the License. You may obtain a copy of the License at
7+
#
8+
# https://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
116
name: Changelog
217
on:
318
issues:

0 commit comments

Comments
 (0)