Skip to content

Conversation

@jamesfredley
Copy link
Contributor

@jamesfredley jamesfredley commented May 6, 2025

-remove flake config since we are not using flake
-Fix left over javax references
-Apache Grails coordinate updates plus add Apache snapshot repository
-Add ehcache dependency config to prevent hibernate-core non-jakarta dependency
-Gradle 8.14
-Update develocity config

@jamesfredley jamesfredley requested a review from Copilot May 6, 2025 19:17
@jamesfredley jamesfredley self-assigned this May 6, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the Apache coordinate configurations by introducing a second datasource configuration in the development environment.

  • Adds a new "dataSources" block for a secondary datasource with update behavior.
  • Maintains separate configurations for the test environment.
Files not reviewed (13)
  • .envrc: Language not supported
  • .sdkmanrc: Language not supported
  • examples/audit-test-allow-update-outside-transaction/build.gradle: Language not supported
  • examples/audit-test/build.gradle: Language not supported
  • examples/audit-test/grails-app/views/error.gsp: Language not supported
  • flake.nix: Language not supported
  • gradle.properties: Language not supported
  • gradle/wrapper/gradle-wrapper.properties: Language not supported
  • gradlew: Language not supported
  • gradlew.bat: Language not supported
  • plugin/build.gradle: Language not supported
  • plugin/src/main/groovy/grails/plugins/orm/auditable/Auditable.groovy: Language not supported
  • settings.gradle: Language not supported

implementation "org.apache.grails:grails-gsp"
implementation "org.apache.grails:grails-data-hibernate5"

implementation "org.hibernate:hibernate-ehcache:$hibernate5Version", {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we used to recommend ehcache by default; is this actually used in the project?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The dependency was not listed in the build.gradle files, but was being loaded based on: https://github.com/grails-plugins/grails-audit-logging-plugin/blob/apache-coordinate-updates/examples/audit-test-allow-update-outside-transaction/grails-app/conf/application.yml#L80 which was putting the non-jakarta version of hibernate5 on the classpath and causing method not found errors.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

implementation "org.apache.grails:grails-gsp"
implementation "org.apache.grails:grails-data-hibernate5"

implementation "org.hibernate:hibernate-ehcache:$hibernate5Version", {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -1 +0,0 @@
use flake
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed all of flake config, since we do not use it on Grails projects

@jamesfredley jamesfredley changed the title Apache coordinate updates Update plugin to use Apache Grails maven coordinates + other updates May 6, 2025
@jamesfredley jamesfredley requested a review from jdaugherty May 6, 2025 19:26
@grails-plugins grails-plugins deleted a comment from Copilot AI May 8, 2025
@jamesfredley jamesfredley merged commit 6b2d765 into 6.0.x May 16, 2025
3 checks passed
@jamesfredley jamesfredley deleted the apache-coordinate-updates branch May 16, 2025 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants