bito-code-review[bot] commented on PR #1209:
URL: 
https://github.com/apache/grails-spring-security/pull/1209#issuecomment-3938058544

   <!-- Bito Reply -->
   Yes, using the pomCustomization closure in GrailsPublish is a better 
approach for centralizing POM modifications. It avoids direct manipulation of 
MavenPublication and aligns with Grails plugin conventions.
   
   **gradle/publish-config.gradle**
   ```
   pomCustomization {
       asNode().dependencies?.dependency?.findAll {
           it.groupId.text() == 'org.ehcache' && it.artifactId.text() == 
'ehcache'
       }?.each {
           if (!it.classifier) {
               it.appendNode('classifier', 'jakarta')
           }
       }
   }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to