https://github.com/grails/grails-maven-archetype
https://github.com/grails/grails-maven-archetype
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/grails/grails-maven-archetype
- Owner: grails
- Archived: true
- Created: 2010-02-11T00:01:04.000Z (over 16 years ago)
- Default Branch: master
- Last Pushed: 2014-08-19T09:06:38.000Z (almost 12 years ago)
- Last Synced: 2025-04-20T15:23:04.100Z (about 1 year ago)
- Language: Shell
- Homepage:
- Size: 433 KB
- Stars: 25
- Watchers: 11
- Forks: 18
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Grails
===
[Grails][Grails] is a framework used to build web applications with the [Groovy][Groovy] programming language. The core framework is very extensible and there are numerous [plugins][plugins] available that provide easy integration of add-on features.
[Grails]: http://grails.org/
[Groovy]: http://groovy.codehaus.org/
[plugins]: http://grails.org/plugins/
Getting Started
---
You need a Java Development Kit (JDK) installed, but it is not necessary to install Groovy because it's bundled with the Grails distribution.
You also need a Maven distribution with version > 2.0.9 (plugins were not tested with versions anterior to this).
Where grailsVersion is your grails distribution version, in your terminal/console :
mvn archetype:generate -DarchetypeGroupId=org.grails -DarchetypeArtifactId=grails-maven-archetype -DarchetypeVersion=${grailsVersion} -DgroupId=example -DartifactId=my-app -DarchetypeRepository=http://repo.grails.org/grails/core/
mvn initialize
For further usage refer to the Grails documentation on maven : http://grails.org/doc/latest/guide/commandLine.html#antAndMaven
If you want to use a snapshot version of grails-maven-plugin, then you must uncomment the snapshot repositories inside of the generated pom.xml.
License
---
Grails and Groovy are licensed under the terms of the [Apache License, Version 2.0][Apache License, Version 2.0].
[Apache License, Version 2.0]: http://www.apache.org/licenses/LICENSE-2.0.html