├── src
└── main
│ └── resources
│ ├── archetype-resources
│ ├── src
│ │ └── main
│ │ │ └── webapp
│ │ │ └── WEB-INF
│ │ │ └── web.xml
│ └── pom.xml
│ └── META-INF
│ └── maven
│ └── archetype.xml
├── .gitignore
├── grails-maven-archetype.iml
├── README.md
└── pom.xml
/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | target
2 | .project
3 |
4 | .classpath
5 |
6 | .settings/org.maven.ide.eclipse.prefs
7 |
8 | .settings/org.eclipse.jdt.core.prefs
9 |
--------------------------------------------------------------------------------
/src/main/resources/META-INF/maven/archetype.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | maven-project
6 |
7 | src/main/webapp/WEB-INF/web.xml
8 |
9 |
--------------------------------------------------------------------------------
/grails-maven-archetype.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | Grails
2 | ===
3 |
4 | [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.
5 | [Grails]: http://grails.org/
6 | [Groovy]: http://groovy.codehaus.org/
7 | [plugins]: http://grails.org/plugins/
8 |
9 | Getting Started
10 | ---
11 |
12 | You need a Java Development Kit (JDK) installed, but it is not necessary to install Groovy because it's bundled with the Grails distribution.
13 | You also need a Maven distribution with version > 2.0.9 (plugins were not tested with versions anterior to this).
14 | Where grailsVersion is your grails distribution version, in your terminal/console :
15 |
16 | mvn archetype:generate -DarchetypeGroupId=org.grails -DarchetypeArtifactId=grails-maven-archetype -DarchetypeVersion=${grailsVersion} -DgroupId=example -DartifactId=my-app -DarchetypeRepository=http://repo.grails.org/grails/core/
17 | mvn initialize
18 |
19 | For further usage refer to the Grails documentation on maven : http://grails.org/doc/latest/guide/commandLine.html#antAndMaven
20 |
21 | 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.
22 |
23 | License
24 | ---
25 |
26 | Grails and Groovy are licensed under the terms of the [Apache License, Version 2.0][Apache License, Version 2.0].
27 | [Apache License, Version 2.0]: http://www.apache.org/licenses/LICENSE-2.0.html
--------------------------------------------------------------------------------
/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 4.0.0
6 | org.grails
7 | grails-maven-archetype
8 | 2.4.0.RC1
9 | jar
10 |
11 | Maven archetype for Grails projects
12 | Maven archetype for Grails projects.
13 | http://github.com/grails/grails-maven-archetype
14 |
15 |
16 | The Apache Software License, Version 2.0
17 | http://www.apache.org/licenses/LICENSE-2.0.txt
18 | repo
19 |
20 |
21 |
22 | http://github.com/grails/grails-maven-archetype
23 | scm:git:git://github.com/grails/grails-maven-archetype.git
24 | scm:git:git@github.com:grails/grails-maven-archetype.git
25 |
26 |
27 |
28 | graemerocher
29 | Graeme Rocher
30 | graeme.rocher@gmail.com
31 |
32 |
33 |
34 |
35 | org.sonatype.oss
36 | oss-parent
37 | 7
38 |
39 |
40 |
41 |
42 |
43 | org.apache.maven.plugins
44 | maven-gpg-plugin
45 |
46 |
47 | sign-artifacts
48 | verify
49 |
50 | sign
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 | release
61 |
62 |
63 |
64 | org.apache.maven.plugins
65 | maven-source-plugin
66 |
67 |
68 | attach-sources
69 |
70 | jar
71 |
72 |
73 |
74 |
75 |
76 | org.apache.maven.plugins
77 | maven-javadoc-plugin
78 |
79 |
80 | attach-javadocs
81 |
82 | jar
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
--------------------------------------------------------------------------------
/src/main/resources/archetype-resources/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 4.0.0
6 | ${groupId}
7 | ${artifactId}
8 | grails-app
9 | ${version}
10 |
11 | A custom grails project
12 | A custom grails project
13 | http://www.myorganization.org
14 |
15 |
16 | 2.4.0.RC1
17 |
18 |
19 |
20 |
21 |
22 | org.grails
23 | grails-dependencies
24 | ${grails.version}
25 | pom
26 |
27 |
28 |
29 | org.grails
30 | grails-plugin-testing
31 | ${grails.version}
32 | test
33 |
34 |
35 |
36 | junit
37 | junit
38 | 4.11
39 | test
40 |
41 |
42 |
43 | org.spockframework
44 | spock-core
45 | 0.7-groovy-2.0
46 | test
47 |
48 |
49 |
50 | org.grails.plugins
51 | tomcat
52 | 7.0.52.1
53 | zip
54 | provided
55 |
56 |
57 |
58 | org.grails.plugins
59 | hibernate4
60 | 4.3.5.2
61 | zip
62 | compile
63 |
64 |
65 |
66 | org.grails.plugins
67 | scaffolding
68 | 2.1.0
69 | zip
70 | compile
71 |
72 |
73 |
74 | org.grails.plugins
75 | jquery
76 | 1.11.1
77 | zip
78 | runtime
79 |
80 |
81 |
82 |
83 | org.grails.plugins
84 | asset-pipeline
85 | 1.8.7
86 | zip
87 | runtime
88 |
89 |
90 |
91 | org.grails.plugins
92 | webxml
93 | 1.4.1
94 | zip
95 | runtime
96 |
97 |
98 |
99 | org.grails.plugins
100 | database-migration
101 | 1.4.0
102 | zip
103 | runtime
104 |
105 |
106 |
107 | org.grails.plugins
108 | cache
109 | 1.1.3
110 | zip
111 | runtime
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 | org.apache.maven.plugins
122 | maven-surefire-plugin
123 |
124 | true
125 |
126 |
127 |
128 | surefire-it
129 | integration-test
130 |
131 | test
132 |
133 |
134 | false
135 |
136 |
137 |
138 |
139 |
140 | org.apache.maven.plugins
141 | maven-clean-plugin
142 | 2.4.1
143 |
144 |
145 |
146 | plugins
147 |
148 | **/*
149 |
150 | false
151 |
152 |
153 |
154 |
155 |
156 |
157 | org.grails
158 | grails-maven-plugin
159 | ${grails.version}
160 |
161 |
162 |
163 | true
164 |
165 |
166 |
167 | org.apache.maven.plugins
168 | maven-compiler-plugin
169 |
170 | 1.6
171 | 1.6
172 |
173 |
174 |
175 |
176 |
177 |
178 |
179 | grails
180 | grails
181 | http://repo.grails.org/grails/core
182 |
183 |
184 | grails-plugins
185 | grails-plugins
186 | http://repo.grails.org/grails/plugins
187 |
188 |
189 |
199 |
200 |
201 |
202 |
214 |
215 |
216 |
217 | tools
218 |
219 |
220 | java.vendor
221 | Sun Microsystems Inc.
222 |
223 |
224 |
225 |
226 | com.sun
227 | tools
228 | ${java.version}
229 | system
230 | ${java.home}/../lib/tools.jar
231 |
232 |
233 |
234 |
235 |
236 |
--------------------------------------------------------------------------------