No description or website provided.
Java HTML Groovy
Latest commit 49f8bd3 Jul 27, 2016 @graemerocher graemerocher committed on GitHub Merge pull request #75 from sruehl/revert-74-feature/migrate_to_java5…
…_annotations

Revert "switch to Java5 Annotations: "

README.md

Grails Maven Plugin

This is the Maven plugin for Grails. It provides the following Maven goals:

grails:console
grails:create-controller
grails:create-domain-class
grails:create-integration-test
grails:create-pom
grails:create-script
grails:create-service
grails:create-tag-lib
grails:create-unit-test
grails:exec
grails:generate-all
grails:generate-controller
grails:generate-views
grails:install-templates
grails:list-plugins
grails:package
grails:run-app
grails:run-app-https

As well as hooks into the normal Maven lifecyle like compile, package and test for Grails applications.

You can create an example POM with any Grails application by doing:

$ grails create-pom [GROUP ID]

Configuration

The maven grails plugin now supports any grails version. You can specify the grails version to use by setting the grailsVersion property in the section of the maven grails plugin:

<plugin>
    <groupId>org.grails</groupId>
    <artifactId>grails-maven-plugin</artifactId>
    <version>2.4.3</version>
    <configuration>
        <grailsVersion>2.3.10</grailsVersion>
        <!-- In the 2.4.3 release of grails-maven-plugin, you need to explicitly set the grailsVersion -->
        <!-- otherwise 2.4.2 will be used -->
        <!--<grailsVersion>2.4.3</grailsVersion>-->
    </configuration>
</plugin>