/* * Copyright 2004-2005 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import grails.util.Environment class EmailConfirmationGrailsPlugin { def version = "1.0.5" def grailsVersion = "1.2 > *" def dependsOn = [mail:"0.7.1 > *", quartz:"0.2 > *"] def loadAfter = ['logging'] // resources that are excluded from plugin packaging def pluginExcludes = [ "grails-app/views/error.gsp" ] def author = "Marc Palmer" def authorEmail = "marc@grailsrocks.com" def title = "Email Confirmation" def description = '''\\ A single call to a service sends a customizable email to the user, including a link they must click to confirm their address. Upon confirmation or timeout of these confirmations, the application receives callbacks. ''' // URL to the plugin's documentation def documentation = "http://grails.org/plugin/email-confirmation" def doWithSpring = { // TODO Implement runtime spring config (optional) } def doWithApplicationContext = { applicationContext -> // TODO Implement post initialization spring config (optional) } def doWithWebDescriptor = { // TODO Implement additions to web.xml (optional) } def onChange = { event -> // TODO Implement code that is executed when this class plugin class is changed // the event contains: event.application and event.applicationContext objects } def onApplicationChange = { event -> // TODO Implement code that is executed when any class in a GrailsApplication changes // the event contain: event.source, event.application and event.applicationContext objects } }