Skip to content

Commit 649468f

Browse files
authored
Merge pull request #1155 from apache/apache-maven-groupid-docs
Update Docs to use Apache Grails Maven Groupid
2 parents 56df5cd + 2cc687c commit 649468f

File tree

15 files changed

+28
-30
lines changed

15 files changed

+28
-30
lines changed

plugin-acl/docs/src/docs/installing.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Add an entry in the dependencies block of your `build.gradle file, changing the
2828
----
2929
dependencies {
3030
...
31-
implementation 'org.grails.plugins:spring-security-acl:{projectVersion}'
31+
implementation 'org.apache.grails:grails-spring-security-acl:{projectVersion}'
3232
...
3333
----
3434

plugin-cas/docs/src/docs/usage.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ If you are using 3.3.x use:
3939
----
4040
dependencies {
4141
...
42-
compile 'org.grails.plugins:spring-security-cas:{projectVersion}'
42+
implementation 'org.apache.grails:grails-spring-security-cas:{projectVersion}'
4343
...
4444
----
4545

@@ -51,7 +51,7 @@ If you are using Grails 3.0.x 3.1.x or 3.2.x use:
5151
----
5252
dependencies {
5353
...
54-
compile 'org.grails.plugins:spring-security-cas:{threeZeroXProjectVersion}'
54+
implementation 'org.apache.grails:grails-spring-security-cas:{threeZeroXProjectVersion}'
5555
...
5656
----
5757

plugin-core/docs/src/docs/examples.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ under the License.
2020
[[examples]]
2121
== Example Applications
2222

23-
Sometimes the best way to learn is by example. We have an ever-expanding list of example apps created to do just that... help you learn how to utilize the grails-spring-security-core plugin in your current application.
23+
Sometimes the best way to learn is by example. We have an ever-expanding list of example apps created to do just that... help you learn how to utilize the grails-spring-security plugin in your current application.
2424

2525
=== The Repos
2626
A comprehensive list of example spring security apps may be found at:

plugin-core/docs/src/docs/introduction/configGroovy.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@ If your application incorporates the CXF Grails plugin, it's crucial to arrange
4444
dependencies {
4545
implementation 'org.grails.plugins:cxf:3.1.1'
4646
// CXF above security.
47-
implementation 'org.grails.plugins:spring-security-core:{revnumber}'
47+
implementation 'org.apache.grails:grails-spring-security:{revnumber}'
4848
}
4949
----

plugin-core/docs/src/docs/introduction/gettingStarted.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Begin by installing the Spring Security plugin into your Grails project. Add the
2828

2929
[source,gradle,subs="+attributes"]
3030
----
31-
implementation 'org.grails.plugins:spring-security-core:{revnumber}'
31+
implementation 'org.apache.grails:grails-spring-security:{revnumber}'
3232
----
3333

3434
.Step 2: Run the Initialization Script

plugin-core/docs/src/docs/introduction/installation.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Ensure you have the following set up:
4040
----
4141
dependencies {
4242
// ... other dependencies
43-
implementation 'org.grails.plugins:spring-security-core:{revnumber}'
43+
implementation 'org.apache.grails:grails-spring-security:{revnumber}'
4444
}
4545
----
4646
+

plugin-core/docs/src/docs/passwords/locking.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ If your application includes a dependency for `org.hibernate:hibernate-ehcache`
239239
240240
[source,groovy]
241241
----
242-
compile 'org.hibernate:hibernate-ehcache', {
242+
implementation 'org.hibernate:hibernate-ehcache', {
243243
exclude module: 'ehcache-core'
244244
}
245245
----

plugin-core/docs/src/docs/tutorials/usingControllerAnnotations.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ $ cd bookstore
3333
----
3434
dependencies {
3535
...
36-
compile 'org.grails.plugins:spring-security-core:{project-version}'
36+
implementation 'org.apache.grails:grails-spring-security:{project-version}'
3737
...
3838
}
3939
----

plugin-ldap/docs/src/docs/usage.adoc

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ There isn't much that you need to do in your application to use LDAP. Add a depe
3535
----
3636
dependencies {
3737
...
38-
compile 'org.grails.plugins:spring-security-ldap:{version}'
38+
implementation 'org.apache.grails:grails-spring-security-ldap:{version}'
3939
}
4040
----
4141

@@ -45,10 +45,8 @@ Grails Spring Security LDAP plugin has a transitive dependency to Grails Spring
4545
----
4646
dependencies {
4747
...
48-
compile "org.grails.plugins:spring-security-core:{grailsSpringSecurityCoreVersion}"
49-
compile ("org.grails.plugins:spring-security-ldap:{version}") {
50-
exclude group: 'org.grails.plugins', module:'spring-security-core'
51-
}
48+
implementation "org.apache.grails:grails-spring-security:{version}"
49+
implementation "org.apache.grails:grails-spring-security-ldap:{version}"
5250
}
5351
----
5452

plugin-oauth2/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ Add the following dependencies in `build.gradle`
3636
```groovy
3737
dependencies {
3838
...
39-
implementation 'org.grails.plugins:spring-security-core:5.2.1'
40-
implementation 'org.grails.plugins:spring-security-oauth2:3.0.0'
39+
implementation 'org.apache.grails:grails-spring-security:{revnumber}'
40+
implementation 'org.apache.grails:grails-spring-security-oauth2:{revnumber}'
4141
...
4242
}
4343
```
@@ -82,8 +82,8 @@ How to create a new provider plugin
8282
-----------------------------------
8383
1. Create a new plugin with `grails create-plugin spring-security-oauth2-myProvider`
8484
2. Add the following plugins as dependency in `build.gradle`:
85-
* `compileOnly 'org.grails.plugins:spring-security-core:3.+'`
86-
* `compileOnly 'org.grails.plugins:spring-security-oauth2:1.1.+'`
85+
* `compileOnly 'org.apache.grails:grails-spring-security:{revnumber}'`
86+
* `compileOnly 'org.apache.grails:grails-spring-security-oauth2:{revnumber}'`
8787
3. Create a service in your plugin that extends `OAuth2AbstractProviderService` and implement the abstract methods. You can override the other methods for fine-tuning if needed.
8888

8989

0 commit comments

Comments
 (0)