diff --git a/grails.org/grails-app/services/org/grails/plugin/PluginService.groovy b/grails.org/grails-app/services/org/grails/plugin/PluginService.groovy index 12d7394..35d385e 100644 --- a/grails.org/grails-app/services/org/grails/plugin/PluginService.groovy +++ b/grails.org/grails-app/services/org/grails/plugin/PluginService.groovy @@ -175,6 +175,11 @@ class PluginService { } // give an initial release date of now master.lastReleased = new Date() + if(!master.groupId) { + master.groupId = "org.grails.plugins" + } + // so we need to save the master first to get its id + // save new master plugin if (!master.save()) { log.error "Could not save master plugin: $master.name ($master.title), version $master.currentRelease"