Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
5ba1d6d
build: add Apache RAT plugin and clean up Groovy version handling
matrei May 8, 2025
cbdfb7e
build: update `.sdkmanrc`
matrei May 8, 2025
9bc7b93
build: add license header scripts
matrei May 8, 2025
5ad0746
chore: add license headers to Asciidoc files
matrei May 8, 2025
d92a8b6
docs(acl): remove the code project form acl docs
matrei May 8, 2025
969c6e4
docs(core): remove the code project form core docs
matrei May 12, 2025
eb626a6
test: revert `xmlns` to `http` in SVG
matrei May 12, 2025
ac49e7a
docs: revert `xmlns` to `http` in template
matrei Jun 3, 2025
0a4874d
fix(log): replace deprecated `converterClass` with `class`
matrei Jun 3, 2025
033bd8e
chore: clean up unused plugin `Application` classes
matrei Jun 3, 2025
24a58be
chore: clean up unused `grails-app` directories
matrei Jun 3, 2025
a506bdc
chore: add license headers to `yml` and `yaml` files
matrei Jun 3, 2025
b019cec
chore: add license headers to `gradle` files
matrei Jun 3, 2025
3f4b537
chore: build file updates
matrei Jun 3, 2025
6bd8354
chore: add license header to `settings.gradle`
matrei Jun 3, 2025
a9629df
chore: add license header to `gsp` files
matrei Jun 4, 2025
207b02c
chore: remove unused xlink namespace from svg files
matrei Jun 4, 2025
8987245
fix: revert DTD http->https change
matrei Jun 4, 2025
b8ea6d1
chore: add license header to `properties` files
matrei Jun 4, 2025
06efe25
build: add webjar dependencies
matrei Jun 4, 2025
06453d2
chore: add license header to `css` files
matrei Jun 4, 2025
ecf7acd
chore: add license header to `js` files
matrei Jun 4, 2025
8811255
fix: use webjars
matrei Jun 4, 2025
db0767a
chore: add license header to `md` files
matrei Jun 4, 2025
1650393
fix: adapt `SecurityFilterPosition` to Spring Security 6.5.0
matrei Jun 4, 2025
6b8dcc2
chore: add `LICENSE` file to `ui-plugin` project
matrei Jun 4, 2025
48bcc75
chore: add `NOTICE` file
matrei Jun 4, 2025
c778158
test: update `spring-security-cas-test1` layout
matrei Jun 4, 2025
5b17651
chore: add license header template
jdaugherty Jun 4, 2025
9be3897
chore: add DISCLAIMER
jdaugherty Jun 4, 2025
7104a94
chore: update / add standard copyright
jdaugherty Jun 4, 2025
c4a5391
chore: add rat workflow
jdaugherty Jun 4, 2025
dd95523
chore: add code of conduct
jdaugherty Jun 4, 2025
f334db9
chore: add build instructions & gradle bootstrap project
jdaugherty Jun 4, 2025
c5ad4c6
chore: reproducible build date configuration
jdaugherty Jun 4, 2025
781e539
chore: support skipping tests
jdaugherty Jun 4, 2025
eca91d3
chore: update ci to match grails-core configuration
jdaugherty Jun 4, 2025
55666ff
chore: update release create workflow for ASF process
jdaugherty Jun 4, 2025
4f7e53c
chore: add reproducible build scripts
jdaugherty Jun 4, 2025
e5c856a
chore: reproducible configuration
jdaugherty Jun 4, 2025
fa6289a
chore: add checkums & artifact listing for build verification
jdaugherty Jun 4, 2025
e5a0499
add positionBy.js and jdMenu.js to NOTICE and LICENSE files
jamesfredley Jun 4, 2025
155284b
fix typo
jamesfredley Jun 4, 2025
edffe32
Add org.gradle.crypto.checksum gradle plugin
jamesfredley Jun 4, 2025
8b3a970
Add missing s
jamesfredley Jun 5, 2025
70bbc89
Add CODE_OF_CONDUCT.md to rat excludes
jamesfredley Jun 5, 2025
6230389
Fix assetcompile issues with webjars
jamesfredley Jun 5, 2025
6618b7d
fix: use requestURI instead of servletPath since the switch to PathPa…
jdaugherty Jun 5, 2025
6f9d2ae
chore: ignore generated views
jdaugherty Jun 5, 2025
a81b364
chore: update reproducible build script
jdaugherty Jun 5, 2025
0e2e9fc
chore: reproducible build fixes
jdaugherty Jun 5, 2025
4fca875
chore: ignore update asset cache file name
jdaugherty Jun 5, 2025
252e399
chore: exclude build directories
jdaugherty Jun 5, 2025
20d1ae4
fix: turn off dependency management plugin to ensure we build with lo…
jdaugherty Jun 5, 2025
36b4442
chore: remove metaspace size since in later JVMs it's unlimited
jdaugherty Jun 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# 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.
name: Bug Report
description: File a bug report
body:
Expand Down
15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# 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.

contact_links:
- name: Stack Overflow
url: https://stackoverflow.com/tags/grails
Expand Down
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/new_feature.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# 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.
name: Feature request
description: Create a new feature request
body:
Expand Down
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/other.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# 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.
name: Other
description: Something different
body:
Expand Down
15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# 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.

version: 2
updates:
- package-ecosystem: gradle
Expand Down
15 changes: 15 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# 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.

name-template: $RESOLVED_VERSION
tag-template: v$RESOLVED_VERSION
pull-request:
Expand Down
44 changes: 31 additions & 13 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,35 @@
name: "Java CI"
# 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.

name: "CI"
on:
push:
branches:
- '[4-9]+.[0-9]+.x'
- '[3-9]+.[3-9]+.x'
- '[3-9]+.[0-9]+.x'
pull_request:
branches:
- '[4-9]+.[0-9]+.x'
- '[3-9]+.[3-9]+.x'
- '[3-9]+.[0-9]+.x'
workflow_dispatch:
permissions:
packages: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
jobs:
core-tests:
coreTests:
if: ${{ contains(github.event.head_commit.message, '[skip tests]') }}
runs-on: ubuntu-24.04
steps:
- name: "📥 Checkout repository"
Expand All @@ -28,7 +45,8 @@ jobs:
develocity-access-key: ${{ secrets.GRAILS_DEVELOCITY_ACCESS_KEY }}
- name: "🏃‍♂️ Run Tests"
run: ./gradlew check --max-workers=2 --refresh-dependencies --continue
functional-test:
functionalTests:
if: ${{ contains(github.event.head_commit.message, '[skip tests]') }}
runs-on: ubuntu-24.04
strategy:
fail-fast: false
Expand All @@ -48,8 +66,9 @@ jobs:
develocity-access-key: ${{ secrets.GRAILS_DEVELOCITY_ACCESS_KEY }}
- name: "🏃‍♂️ Run Different Config Functional Tests"
run: ./gradlew core-examples-functional-test-app:check -DTESTCONFIG=${{ matrix.test-config }}
build:
if: github.event_name == 'push'
publish:
needs: [ coreTests, functionalTests ]
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') }}
runs-on: ubuntu-24.04
permissions:
contents: write
Expand All @@ -67,12 +86,11 @@ jobs:
develocity-access-key: ${{ secrets.GRAILS_DEVELOCITY_ACCESS_KEY }}
- name: "📤 Publish Snapshot artifacts"
env:
GITHUB_MAVEN_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
GRAILS_PUBLISH_RELEASE: 'false'
MAVEN_PUBLISH_USERNAME: ${{ secrets.NEXUS_USER }}
MAVEN_PUBLISH_PASSWORD: ${{ secrets.NEXUS_PW }}
MAVEN_PUBLISH_URL: ${{ secrets.GRAILS_NEXUS_PUBLISH_SNAPSHOT_URL }}
run: ./gradlew --no-build-cache publish
MAVEN_PUBLISH_USERNAME: ${{ secrets.NEXUS_USER }}
MAVEN_PUBLISH_PASSWORD: ${{ secrets.NEXUS_PW }}
run: ./gradlew publish --no-build-cache --rerun-tasks
- name: "🔨 Generate Snapshot Documentation"
run: ./gradlew aggregateDocs
- name: "🚀 Publish to Github Pages"
Expand Down
57 changes: 57 additions & 0 deletions .github/workflows/rat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# 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.

name: RAT Report
on:
push:
branches:
- '[3-9]+.[0-9]+.x'
pull_request:
branches:
- '[3-9]+.[0-9]+.x'
workflow_dispatch:
# queue jobs and only allow 1 run per branch due to the likelihood of hitting GitHub resource limits
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
jobs:
rat-audit:
runs-on: ubuntu-latest
steps:
- name: "📥 Checkout repository"
uses: actions/checkout@v4
- name: "☕️ Setup JDK"
uses: actions/setup-java@v4
with:
distribution: liberica
java-version: 17
- name: "🐘 Setup Gradle"
uses: gradle/actions/setup-gradle@v4
with:
develocity-access-key: ${{ secrets.GRAILS_DEVELOCITY_ACCESS_KEY }}
- name: "🧐 Apache License - Release Audit Tool"
run: ./gradlew rat
- name: Upload RAT HTML report
if: always()
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
with:
name: rat-report
path: build/reports/rat/index.html
- name: Publish RAT report in Job Summary
if: always()
run: |
echo "## 📋 Apache RAT Report" >> $GITHUB_STEP_SUMMARY
# inject raw HTML (it will render as HTML in the summary)
sed -n '/<body[^>]*>/,/<\/body>/ { /<h3>Archives:<\/h3>/,/<\/body>/d; /<body[^>]*>/d; /<\/body>/d; s/^[[:space:]]*//; p; }' build/reports/rat/index.html >> $GITHUB_STEP_SUMMARY
15 changes: 15 additions & 0 deletions .github/workflows/release-notes.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# 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.

name: Changelog
on:
issues:
Expand Down
Loading
Loading