Skip to content

Conversation

@jamesfredley
Copy link
Contributor

No description provided.

@jamesfredley jamesfredley self-assigned this Aug 12, 2025
@jamesfredley jamesfredley moved this to In Progress in Apache Grails Aug 12, 2025
@jamesfredley jamesfredley added this to the grails:7.0.0-RC2 milestone Aug 12, 2025
@lraynal
Copy link

lraynal commented Aug 12, 2025

Hi James, are you sure ?
I see no org.apache.grails.plugins
I see

<groupId>org.apache.grails</groupId>
<artifactId>grails-spring-security</artifactId>

(I may be looking in the wrong place though)

@jamesfredley
Copy link
Contributor Author

Updating to remove plugins from groupid based on https://repository.apache.org/content/repositories/snapshots/org/apache/grails/

@jdaugherty
Copy link
Contributor

FYI: This is failing because spring security still needs updated for hte publish move. I'll open a separate PR & merge that fix.

@jdaugherty jdaugherty force-pushed the apache-maven-groupid-docs branch from d205bb5 to 11f9ab3 Compare August 12, 2025 16:04
Copy link
Contributor

@sbglasius sbglasius left a comment

Choose a reason for hiding this comment

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

I believe that all Spring Security plugins are now prefixed with grails-

@jamesfredley jamesfredley requested a review from sbglasius August 12, 2025 17:22
@jdaugherty
Copy link
Contributor

Looks like this mostly resolves: #1049

The only thing left are the s2 apps / commands

Copy link
Contributor

@sbglasius sbglasius left a comment

Choose a reason for hiding this comment

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

Found several grails-spring-security-core that should be replaced with grails-spring-security

implementation 'org.grails.plugins:cxf:3.1.1'
// CXF above security.
implementation 'org.grails.plugins:spring-security-core:{revnumber}'
implementation 'org.apache.grails:grails-spring-security-core:{revnumber}'
Copy link
Contributor

Choose a reason for hiding this comment

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

Drop -core

[source,gradle,subs="+attributes"]
----
implementation 'org.grails.plugins:spring-security-core:{revnumber}'
implementation 'org.apache.grails:grails-spring-security-core:{revnumber}'
Copy link
Contributor

Choose a reason for hiding this comment

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

drop -core

dependencies {
// ... other dependencies
implementation 'org.grails.plugins:spring-security-core:{revnumber}'
implementation 'org.apache.grails:grails-spring-security-core:{revnumber}'
Copy link
Contributor

Choose a reason for hiding this comment

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

drop -core

dependencies {
...
compile 'org.grails.plugins:spring-security-core:{project-version}'
implementation 'org.apache.grails:grails-spring-security-core:{project-version}'
Copy link
Contributor

Choose a reason for hiding this comment

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

drop -core

compile ("org.grails.plugins:spring-security-ldap:{version}") {
exclude group: 'org.grails.plugins', module:'spring-security-core'
}
implementation "org.apache.grails:grails-spring-security-core:{version}"
Copy link
Contributor

Choose a reason for hiding this comment

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

drop -core

...
implementation 'org.grails.plugins:spring-security-core:5.2.1'
implementation 'org.grails.plugins:spring-security-oauth2:3.0.0'
implementation 'org.apache.grails:grails-spring-security-core:{revnumber}'
Copy link
Contributor

Choose a reason for hiding this comment

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

drop -core

2. Add the following plugins as dependency in `build.gradle`:
* `compileOnly 'org.grails.plugins:spring-security-core:3.+'`
* `compileOnly 'org.grails.plugins:spring-security-oauth2:1.1.+'`
* `compileOnly 'org.apache.grails:grails-spring-security-core:{revnumber}'`
Copy link
Contributor

Choose a reason for hiding this comment

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

drop -core

// ...
api 'org.grails.plugins:spring-security-core'
api 'org.grails.plugins:spring-security-oauth2'
api 'org.apache.grails:grails-spring-security-core:{version}'
Copy link
Contributor

Choose a reason for hiding this comment

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

drop -core

@sbglasius
Copy link
Contributor

@jamesfredley I pushed a commit to your branch with the fixes

@jamesfredley jamesfredley merged commit 649468f into 7.0.x Aug 13, 2025
14 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Apache Grails Aug 13, 2025
@jamesfredley jamesfredley deleted the apache-maven-groupid-docs branch August 13, 2025 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants