Skip to content

Commit

Permalink
fixes broken cron job for the master plugin list. Since the 'groupId'…
Browse files Browse the repository at this point in the history
… is now required we use a default one if none is specified
  • Loading branch information
graemerocher committed Jan 18, 2011
1 parent ceca526 commit b26ce7f
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -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"
Expand Down

0 comments on commit b26ce7f

Please sign in to comment.