This is an automated email from the ASF dual-hosted git repository.

jamesfredley pushed a commit to branch profiles-apache-coordinates
in repository https://gitbox.apache.org/repos/asf/grails-core.git

commit 3e730f4414b1fb6cfa0b4365b392557f0da4aa6c
Author: James Fredley <[email protected]>
AuthorDate: Wed Apr 30 13:30:18 2025 -0400

    Apache Grails Profiles documentation updates
---
 grails-doc/src/en/guide/profiles.adoc                       | 12 ++++++++----
 grails-doc/src/en/guide/profiles/profileInheritance.adoc    |  6 +++---
 grails-doc/src/en/guide/profiles/profileStructure.adoc      |  4 ++++
 grails-doc/src/en/guide/theWebLayer/gson/pluginSupport.adoc |  8 ++++++--
 grails-doc/src/en/ref/Command Line/profile-info.adoc        |  4 ++--
 grails-doc/src/en/ref/Command Line/schema-export.adoc       |  3 ++-
 6 files changed, 25 insertions(+), 12 deletions(-)

diff --git a/grails-doc/src/en/guide/profiles.adoc 
b/grails-doc/src/en/guide/profiles.adoc
index 80ee3d1c77..6a4445ee21 100644
--- a/grails-doc/src/en/guide/profiles.adoc
+++ b/grails-doc/src/en/guide/profiles.adoc
@@ -52,9 +52,9 @@ NOTE: Commands such as `profile-info` or `list-profiles` are 
not available when
 ==== Profile Repositories
 
 
-By default Grails will resolve profiles from the 
https://repo.grails.org/grails/core/org/grails/profiles/[Grails central 
repository]. However, you can override what repositories will be searched by 
specifying repositories in the `USER_HOME/.grails/settings.groovy` file.
+By default, Grails will resolve profiles from the 
https://repository.apache.org/content/groups/snapshots/org/apache/grails/profiles/[Apache
 Snapshot Repository] or 
https://repo1.maven.org/maven2/org/apache/grails/profiles/[Maven central 
repository]. However, you can override what repositories will be searched by 
specifying repositories in the `USER_HOME/.grails/settings.groovy` file.
 
-If you want profiles to be resolved with a custom repository in addition to 
the Grails central repository, you must specify Grails central in the file as 
well:
+If you want profiles to be resolved with a custom repository in addition to 
the Maven central repository, you must specify Maven central in the file as 
well:
 
 [source,groovy]
 ----
@@ -65,8 +65,12 @@ grails {
         url = "http://foo.com/repo";
         snapshotsEnabled = true
       }
-      grailsCentral {
-        url = "https://repo.grails.org/grails/core";
+      mavenCentral {
+        url = "https://repo1.maven.org/maven2";
+        snapshotsEnabled = true
+      }
+      apacheSnapshot {
+        url = "https://repository.apache.org/content/groups/snapshots";
         snapshotsEnabled = true
       }
     }
diff --git a/grails-doc/src/en/guide/profiles/profileInheritance.adoc 
b/grails-doc/src/en/guide/profiles/profileInheritance.adoc
index 530155d73d..c1b45ac275 100644
--- a/grails-doc/src/en/guide/profiles/profileInheritance.adoc
+++ b/grails-doc/src/en/guide/profiles/profileInheritance.adoc
@@ -22,7 +22,7 @@ One profile can extend one or many different parent profiles. 
To define profile
 [source,groovy]
 ----
 dependencies {
-    runtime "org.grails.profiles:base:$baseProfileVersion"
+    runtime "org.apache.grails.profiles:base:$baseProfileVersion"
 }
 ----
 
@@ -39,8 +39,8 @@ To define the order of inheritance ensure that your 
dependencies are declared in
 [source,groovy]
 ----
 dependencies {
-    runtime "org.grails.profiles:plugin:$baseProfileVersion"
-    runtime "org.grails.profiles:web:$baseProfileVersion"
+    runtime "org.apache.grails.profiles:plugin:$baseProfileVersion"
+    runtime "org.apache.grails.profiles:web:$baseProfileVersion"
 }
 ----
 
diff --git a/grails-doc/src/en/guide/profiles/profileStructure.adoc 
b/grails-doc/src/en/guide/profiles/profileStructure.adoc
index 0089e51c19..09bb15e6e6 100644
--- a/grails-doc/src/en/guide/profiles/profileStructure.adoc
+++ b/grails-doc/src/en/guide/profiles/profileStructure.adoc
@@ -58,6 +58,8 @@ A list of Maven repositories to include in the generated 
build. Example:
 [source,yaml]
 ----
 repositories:
+    - "https://repo1.maven.org/maven2";
+    - "https://repository.apache.org/content/groups/snapshots";
     - "https://repo.grails.org/grails/core";
 ----
 
@@ -71,6 +73,8 @@ A list of Maven repositories to include in the buildscript 
section of the genera
 ----
 build:
     repositories:
+        - "https://repo1.maven.org/maven2";
+        - "https://repository.apache.org/content/groups/snapshots";
         - "https://repo.grails.org/grails/core";
 ----
 
diff --git a/grails-doc/src/en/guide/theWebLayer/gson/pluginSupport.adoc 
b/grails-doc/src/en/guide/theWebLayer/gson/pluginSupport.adoc
index b0f3b7a425..240974bcb0 100644
--- a/grails-doc/src/en/guide/theWebLayer/gson/pluginSupport.adoc
+++ b/grails-doc/src/en/guide/theWebLayer/gson/pluginSupport.adoc
@@ -35,7 +35,9 @@ Below is an example Gradle build that adds a `compileViews` 
task for templates l
 ----
 buildscript {
     repositories {
-        maven { url "https://repo.grails.org/grails/core"; }
+        mavenCentral()
+        maven { url = 'https://repository.apache.org/content/groups/snapshots' 
}
+        maven { url = 'https://repo.grails.org/grails/core' }
     }
     dependencies {
         classpath "org.grails.plugins:views-gradle:{version}"
@@ -47,7 +49,9 @@ import grails.views.gradle.json.*
 apply plugin:"java"
 
 repositories {
-    maven { url "https://repo.grails.org/grails/core"; }
+    mavenCentral()
+    maven { url = 'https://repository.apache.org/content/groups/snapshots' }
+    maven { url = 'https://repo.grails.org/grails/core' }
 }
 
 dependencies {
diff --git a/grails-doc/src/en/ref/Command Line/profile-info.adoc 
b/grails-doc/src/en/ref/Command Line/profile-info.adoc
index 40613d4c14..fed71e74d6 100644
--- a/grails-doc/src/en/ref/Command Line/profile-info.adoc      
+++ b/grails-doc/src/en/ref/Command Line/profile-info.adoc      
@@ -34,8 +34,8 @@ Displays detailed info about a profile
 [source,groovy]
 ----
 grails profile-info rest-api
-grails profile-info org.grails.profiles:rest-api
-grails profile-info org.grails.profiles:rest-api:3.1.0
+grails profile-info org.apache.grails.profiles:rest-api
+grails profile-info org.apache.grails.profiles:rest-api:3.1.0
 ----
 
 
diff --git a/grails-doc/src/en/ref/Command Line/schema-export.adoc 
b/grails-doc/src/en/ref/Command Line/schema-export.adoc
index 56a534d854..1a58124421 100644
--- a/grails-doc/src/en/ref/Command Line/schema-export.adoc     
+++ b/grails-doc/src/en/ref/Command Line/schema-export.adoc     
@@ -88,7 +88,8 @@ build.gradle
 ----
 repositories {
     mavenCentral()
-    maven { url = "https://repo.grails.org/grails/core/"; }
+    maven { url = 'https://repository.apache.org/content/groups/snapshots' }
+    maven { url = 'https://repo.grails.org/grails/core' }
 }
 dependencies {
     classpath "org.apache.grails:grails-hibernate5:{projectVersion}"

Reply via email to