class StitchesGrailsPlugin { // the plugin version def version = "0.2" // the version or versions of Grails the plugin is designed for def grailsVersion = "1.1 > *" // the other plugins this plugin depends on //I can't add the following into the "amazon-s3":"0.1" to the dependsOn def dependsOn = [quartz:"0.4.1-SNAPSHOT",searchable:"0.5.5 > *"] /* * searchable:"0.5.4" * def dependsOn = [dataSource: "1.0 > *", domainClass: "1.0 > *", i18n: "1.0 > *", core: "1.0 > *", hibernate: "1.0 > *"] */ def pluginExcludes = [ "grails-app/views/error.gsp" ] def author = "Phillip Rhodes" def authorEmail = "spamsucks@rhoderunner.com" def title = "Provides a structured content repository" def description = '''\\ Stitches is a content repository that allows content to be defined, stored, deleted, versioned, searched and a variety of other operations. * Create and manage your content * Add / update /modify your content repository using a local or remote API * Search your content by keyword, tags, type, and folder * Ability to organize content into folders * Ability to query content filtered by folder * Ability to query content by content type * Geo-searching- able to query content that is tagged with longitude/latitude coordinates * Any content can be configured to have images, pdf's and longitude/latitude values, etc. * Automatic image thumbnail generation * Automatic synchronization with amazon-s3 of your content * Extract text for all formats (MS, rtf, pdf, etc) with http://lucene.apache.org/tika/formats.html * 60+ and counting unit tests * Leverages Compass, hence ability to configure your index to be part of the "cloud" ''' // URL to the plugin's documentation def documentation = "http://www.philliprhodes.com/content/stitches-30-seconds" def doWithSpring = { // TODO Implement runtime spring config (optional) } def doWithApplicationContext = { applicationContext -> // TODO Implement post initialization spring config (optional) } def doWithWebDescriptor = { xml -> // TODO Implement additions to web.xml (optional) } def doWithDynamicMethods = { ctx -> // TODO Implement registering dynamic methods to classes (optional) } def onChange = { event -> // TODO Implement code that is executed when any artefact that this plugin is // watching is modified and reloaded. The event contains: event.source, // event.application, event.manager, event.ctx, and event.plugin. } def onConfigChange = { event -> // TODO Implement code that is executed when the project configuration changes. // The event is the same as for 'onChange'. } }