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

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

commit dfbd0cf08bef57fd8b6a158acd64047efcc2b553
Author: James Fredley <[email protected]>
AuthorDate: Wed Apr 30 15:35:28 2025 -0400

    Update to org.apache.grails.profiles groupid
---
 .../java/org/grails/forge/feature/grailsProfiles/GrailsProfiles.java   | 3 +--
 .../org/grails/forge/feature/grailsProfiles/GrailsProfilesSpec.groovy  | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git 
a/grails-forge-core/src/main/java/org/grails/forge/feature/grailsProfiles/GrailsProfiles.java
 
b/grails-forge-core/src/main/java/org/grails/forge/feature/grailsProfiles/GrailsProfiles.java
index 6d95cfa..22a471d 100644
--- 
a/grails-forge-core/src/main/java/org/grails/forge/feature/grailsProfiles/GrailsProfiles.java
+++ 
b/grails-forge-core/src/main/java/org/grails/forge/feature/grailsProfiles/GrailsProfiles.java
@@ -64,9 +64,8 @@ public class GrailsProfiles implements DefaultFeature {
 
         config.put("grails.profile", profile);
 
-        // TODO: Update after profiles are published to ASF snapshot repo
         generatorContext.addDependency(Dependency.builder()
-                .groupId("org.grails.profiles")
+                .groupId("org.apache.grails.profiles")
                 .artifactId(profile)
                 .scope(Scope.PROFILE));
     }
diff --git 
a/grails-forge-core/src/test/groovy/org/grails/forge/feature/grailsProfiles/GrailsProfilesSpec.groovy
 
b/grails-forge-core/src/test/groovy/org/grails/forge/feature/grailsProfiles/GrailsProfilesSpec.groovy
index 4346694..3a24bbc 100644
--- 
a/grails-forge-core/src/test/groovy/org/grails/forge/feature/grailsProfiles/GrailsProfilesSpec.groovy
+++ 
b/grails-forge-core/src/test/groovy/org/grails/forge/feature/grailsProfiles/GrailsProfilesSpec.groovy
@@ -18,7 +18,7 @@ class GrailsProfilesSpec extends ApplicationContextSpec 
implements CommandOutput
         then:
         output.containsKey("build.gradle")
         def build = output.get("build.gradle")
-        build.contains("profile 
\"org.grails.profiles:${applicationType.name.replace("_", "-")}\"")
+        build.contains("profile 
\"org.apache.grails.profiles:${applicationType.name.replace("_", "-")}\"")
 
         where:
         applicationType << ApplicationType.values().toList()

Reply via email to