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

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

commit c4c2fa2f924dcf285a6c393864929d8ef970135b
Author: James Fredley <[email protected]>
AuthorDate: Wed Apr 30 22:14:18 2025 -0400

    Profile documentation updates
---
 grails-doc/src/en/guide/profiles.adoc                  | 9 +++------
 grails-doc/src/en/guide/profiles/profileStructure.adoc | 4 ++--
 grails-profiles/README.md                              | 7 +------
 3 files changed, 6 insertions(+), 14 deletions(-)

diff --git a/grails-doc/src/en/guide/profiles.adoc 
b/grails-doc/src/en/guide/profiles.adoc
index 80ee3d1c77..399797f5a0 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  
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,10 +65,7 @@ grails {
         url = "http://foo.com/repo";
         snapshotsEnabled = true
       }
-      grailsCentral {
-        url = "https://repo.grails.org/grails/core";
-        snapshotsEnabled = true
-      }
+      mavenCentral()
     }
   }
 }
diff --git a/grails-doc/src/en/guide/profiles/profileStructure.adoc 
b/grails-doc/src/en/guide/profiles/profileStructure.adoc
index 0089e51c19..b76ad58063 100644
--- a/grails-doc/src/en/guide/profiles/profileStructure.adoc
+++ b/grails-doc/src/en/guide/profiles/profileStructure.adoc
@@ -58,7 +58,7 @@ A list of Maven repositories to include in the generated 
build. Example:
 [source,yaml]
 ----
 repositories:
-    - "https://repo.grails.org/grails/core";
+    - "https://repo1.maven.org/maven2";
 ----
 
 
@@ -71,7 +71,7 @@ A list of Maven repositories to include in the buildscript 
section of the genera
 ----
 build:
     repositories:
-        - "https://repo.grails.org/grails/core";
+        - "https://repo1.maven.org/maven2";
 ----
 
 
diff --git a/grails-profiles/README.md b/grails-profiles/README.md
index 91d8f1d298..cf93674342 100644
--- a/grails-profiles/README.md
+++ b/grails-profiles/README.md
@@ -15,11 +15,7 @@ Create **USER_HOME/.grails/settings.groovy**
         profiles {
             repositories {
             mavenLocal()
-            grailsCentral {
-                url = "https://repo.grails.org/grails/core";
-                snapshotsEnabled = true
-                }
-            }
+            mavenCentral()
             apacheSnapshot {
                 url = "https://repository.apache.org/content/groups/snapshots";
                 snapshotsEnabled = true
@@ -30,7 +26,6 @@ Create **USER_HOME/.grails/settings.groovy**
 
 
 ### Publish profiles to mavenLocal()
-    clone https://github.com/apache/grails-profiles
     ./gradlew build
     ./gradlew publishToMavenLocal
 

Reply via email to