Skip to content

Commit cecef1d

Browse files
committed
Merge branch '7.1.x' into 7.1.x-scaffold-service-controller
2 parents 20f2efd + 1b67ebd commit cecef1d

File tree

12 files changed

+66
-23
lines changed

12 files changed

+66
-23
lines changed

.github/workflows/release.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -521,11 +521,11 @@ jobs:
521521
echo "::group::Manual Grails Forge deployment"
522522
echo "Kick off Forge-* workflow for version ${VERSION} based on the below rules:"
523523
cat <<'EOF'
524-
* RELEASE - GA releases only
525-
* NEXT - Milestones and Release Candidate
526-
* SNAPSHOT - current or next version snapshot
527-
* PREV - previous release version
528-
* PREV-SNAPSHOT - previous version snapshot
524+
* RELEASE - Full Final Releases - https://github.com/apache/grails-core/actions/workflows/forge-deploy-release.yml
525+
* NEXT - Milestones and Release Candidate for Next Release (also Next version snapshot prior to Milestone) - https://github.com/apache/grails-core/actions/workflows/forge-deploy-next.yml
526+
* SNAPSHOT - current or next version snapshot - https://github.com/apache/grails-core/actions/workflows/forge-deploy-snapshot.yml
527+
* PREV - previous release version - https://github.com/apache/grails-core/actions/workflows/forge-deploy-prev.yml
528+
* PREV-SNAPSHOT - previous version snapshot - https://github.com/apache/grails-core/actions/workflows/forge-deploy-prev-snapshot.yml
529529
EOF
530530
echo "::endgroup::"
531531
docs:
@@ -637,6 +637,16 @@ jobs:
637637
echo "::group::Blog Post Creation - MANUAL"
638638
echo "Publish a blog post on https://grails.apache.org/blog/ about the new release [${VERSION}] using the repo https://github.com/apache/grails-static-website"
639639
echo "::endgroup::"
640+
- name: "🌎 MANUAL - Merge Close Release PR"
641+
run: |
642+
echo "::group::Merge Close Release PR - MANUAL"
643+
echo "The last step in the grails-core release workflow will create a merge branch for the original tag with version number and then open a PR to merge back into the next branch. You will need to merge this PR into the branch after correcting any merge conflict."
644+
echo "::endgroup::"
645+
- name: "🌎 MANUAL - deploy the new SNAPSHOT to Forge"
646+
run: |
647+
echo "::group::Deploy the new SNAPSHOT to Forge - MANUAL"
648+
echo "After the Close Release PR is merged, deploy the new SNAPSHOT to Forge via: https://github.com/apache/grails-core/actions/workflows/forge-deploy-snapshot.yml"
649+
echo "::endgroup::"
640650
- name: '📧 Announcement Email'
641651
run: |
642652
echo "::group::Announcement Email"

RELEASE.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -297,11 +297,11 @@ Publish the released version to [Grails Forge](https://start.grails.org) using o
297297

298298
Grails Forge organizes deployments into version slots as follows:
299299

300-
- **RELEASE** - GA releases only
301-
- **NEXT** - Milestones and Release Candidate
302-
- **SNAPSHOT** - current or next version snapshot
303-
- **PREV** - previous release version
304-
- **PREV-SNAPSHOT** - previous version snapshot
300+
- **RELEASE** - Full Final Releases - https://github.com/apache/grails-core/actions/workflows/forge-deploy-release.yml
301+
- **NEXT** - Milestones and Release Candidate for Next Release (also Next version snapshot prior to Milestone) - https://github.com/apache/grails-core/actions/workflows/forge-deploy-next.yml
302+
- **SNAPSHOT** - current or next version snapshot - https://github.com/apache/grails-core/actions/workflows/forge-deploy-snapshot.yml
303+
- **PREV** - previous release version - https://github.com/apache/grails-core/actions/workflows/forge-deploy-prev.yml
304+
- **PREV-SNAPSHOT** - previous version snapshot - https://github.com/apache/grails-core/actions/workflows/forge-deploy-prev-snapshot.yml
305305

306306
Use the action whose name matches the slot you want to deploy to.\
307307
In the **“Run workflow/Use workflow from”** dropdown, choose the release tag you just created.
@@ -322,6 +322,8 @@ version from Maven Central.
322322

323323
The last step in the `grails-core` release workflow is to run the `Close Release` step. This will create a merge branch for the original tag with version number and then open a PR to merge back into the next branch. You will need to merge this PR into the branch after correcting any merge conflict.
324324

325+
After this PR is merged, deploy the new SNAPSHOT to Forge via: https://github.com/apache/grails-core/actions/workflows/forge-deploy-snapshot.yml
326+
325327
### Update the `grails-static-website`
326328

327329
On the `grails-static-website` repository:

build-logic/plugins/src/main/groovy/org/apache/grails/buildsrc/PublishPlugin.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ class PublishPlugin implements Plugin<Project> {
183183
it.url.set('https://apache.org/')
184184
}
185185
it.developers.set(project.provider { lookupProperty(project, 'pomDevelopers', determineDevelopers(project))})
186-
it.pomCustomization = lookupProperty(project, 'pomCustomization') as Closure
186+
it.pomCustomization.set(project.provider { lookupProperty(project, 'pomCustomization') as Closure })
187187
it.publishTestSources.set(project.provider { lookupProperty(project, 'pomPublishTestSources', false)})
188188
it.testRepositoryPath.set(project.provider { shouldSkipJavaComponent(project) ? null : findRootGrailsCoreDir(project).dir('build/local-maven')})
189189
it.publicationName.set(project.provider { lookupProperty(project, 'pomMavenPublicationName', 'maven')})

dependencies.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ ext {
3030
'commons-text.version' : '1.13.1',
3131
'directory-watcher.version' : '0.19.1',
3232
'gradle-spock.version' : '2.3-groovy-3.0',
33-
'grails-publish-plugin.version' : '0.0.2',
33+
'grails-publish-plugin.version' : '0.0.3-SNAPSHOT',
3434
'jansi.version' : '1.18',
3535
'javaparser-core.version' : '3.27.0',
3636
'jline.version' : '2.14.6',
3737
'jna.version' : '5.17.0',
3838
'jquery.version' : '3.7.1',
3939
'objenesis.version' : '3.4',
4040
'gradle-spock.version' : '2.3-groovy-3.0',
41-
'spring-boot.version' : '3.5.7',
41+
'spring-boot.version' : '3.5.8',
4242
]
4343

4444
// Note: the name of the dependency must be the prefix of the property name so properties in the pom are resolved correctly

etc/bin/verify.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ echo "✅ RAT passed"
109109

110110
echo "Verifying Reproducible Build ..."
111111
set +e # because we have known issues here
112-
verify-reproducible.sh "${DOWNLOAD_LOCATION}"
112+
"${SCRIPT_DIR}/verify-reproducible.sh" "${DOWNLOAD_LOCATION}"
113113
set -e
114114
echo "✅ Reproducible Build Verified"
115115

grails-doc/src/en/guide/upgrading/upgrading60x.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,10 +224,11 @@ To apply and configure the `gradle-jakartaee-migration-plugin` in your `build.gr
224224
.build.gradle
225225
----
226226
plugins {
227-
id 'com.netflix.nebula.jakartaee-migration' version '0.24.0'
227+
id 'com.netflix.nebula.jakartaee-migration' version '1.0.0'
228228
}
229229
230230
jakartaeeMigration {
231+
includeTransform('org.grails.plugins:export')
231232
migrate()
232233
}
233234
----

grails-forge/grails-forge-core/src/main/java/org/grails/forge/feature/grails/templates/urlMappings.rocker.raw

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ package @project.getPackageName()
2727
class UrlMappings {
2828
static mappings = {
2929
@if(applicationType == ApplicationType.WEB || applicationType == ApplicationType.WEB_PLUGIN) {
30+
"/$namespace/$controller/$action?/$id?(.$format)?" {}
3031
"/$controller/$action?/$id?(.$format)?"{
3132
constraints {
3233
// apply constraints here

grails-forge/grails-forge-core/src/main/resources/gsp/index.gsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
<ul>
7272
<g:each var="c" in="${grailsApplication.controllerClasses.sort { it.fullName } }">
7373
<li class="controller">
74-
<g:link controller="${c.logicalPropertyName}">${c.fullName}</g:link>
74+
<g:link namespace="${c.namespace}" controller="${c.logicalPropertyName}">${c.fullName}</g:link>
7575
</li>
7676
</g:each>
7777
</ul>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Workaround for running Testcontainers 1.x with Docker 29.0.0+
2+
api.version=1.44

grails-profiles/web/skeleton/grails-app/controllers/@grails.codegen.defaultPackage.path@/UrlMappings.groovy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package @grails.codegen.defaultPackage@
33
class UrlMappings {
44

55
static mappings = {
6+
"/$namespace/$controller/$action?/$id?(.$format)?" {}
67
"/$controller/$action?/$id?(.$format)?"{
78
constraints {
89
// apply constraints here

0 commit comments

Comments
 (0)