1 |
<?xml version="1.0" encoding="UTF-8"?> |
2 |
<!-- |
3 |
Copyright 2010-2014 Hippo B.V. (http://www.onehippo.com) |
4 |
|
5 |
Licensed under the Apache License, Version 2.0 (the "License"); |
6 |
you may not use this file except in compliance with the License. |
7 |
You may obtain a copy of the License at |
8 |
|
9 |
http://www.apache.org/licenses/LICENSE-2.0 |
10 |
|
11 |
Unless required by applicable law or agreed to in writing, software |
12 |
distributed under the License is distributed on an "AS IS" BASIS, |
13 |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
14 |
See the License for the specific language governing permissions and |
15 |
limitations under the License. |
16 |
--> |
17 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
18 |
<modelVersion>4.0.0</modelVersion> |
19 |
|
20 |
<parent> |
21 |
<groupId>org.onehippo.cms7</groupId> |
22 |
<artifactId>hippo-cms7-release</artifactId> |
23 |
<version>7.9.0</version> |
24 |
</parent> |
25 |
|
26 |
<name>Hippo Go Green</name> |
27 |
<description>Hippo Go Green Demo</description> |
28 |
<groupId>com.onehippo.gogreen</groupId> |
29 |
<artifactId>hippogogreen</artifactId> |
30 |
<version>3.09.02-SNAPSHOT</version> |
31 |
<packaging>pom</packaging> |
32 |
|
33 |
<inceptionYear>2010</inceptionYear> |
34 |
|
35 |
<scm> |
36 |
<connection>scm:svn:http://svn.onehippo.org/repos/hippo/hippo-demos/hippo-go-green/trunk</connection> |
37 |
<developerConnection>scm:svn:https://svn.onehippo.org/repos/hippo/hippo-demos/hippo-go-green/trunk</developerConnection> |
38 |
<url>http://svn.onehippo.org/viewvc/hippo-demos/hippo-go-green/trunk</url> |
39 |
</scm> |
40 |
|
41 |
<properties> |
42 |
<!-- use root project name for all project modules NOTICE files, should be the same as in the root NOTICE file --> |
43 |
<notice.project.name>Hippo Go Green</notice.project.name> |
44 |
|
45 |
<lib.commons.lang.version>2.6</lib.commons.lang.version> |
46 |
<lib.commons.codec.version>1.5</lib.commons.codec.version> |
47 |
<lib.freemarker.version>2.3.18</lib.freemarker.version> |
48 |
<lib.javax-annotation-security>1.0.1</lib.javax-annotation-security> |
49 |
<lib.javax-servlet-jstl.version>1.1.2</lib.javax-servlet-jstl.version> |
50 |
<lib.json.version>20090211</lib.json.version> |
51 |
<lib.rome.version>1.0.0</lib.rome.version> |
52 |
<lib.taglibs.version>1.1.2</lib.taglibs.version> |
53 |
|
54 |
<junit.version>4.8.2</junit.version> |
55 |
<easymock.version>2.4</easymock.version> |
56 |
|
57 |
<yui.sources.version>1.01.11</yui.sources.version> |
58 |
<sonar.l10n.locales>nl,fr,it,de</sonar.l10n.locales> |
59 |
<forge.easy-forms.version>2.14.00</forge.easy-forms.version> |
60 |
</properties> |
61 |
|
62 |
<repositories> |
63 |
<repository> |
64 |
<id>hippo</id> |
65 |
<name>Hippo Maven 2</name> |
66 |
<url>http://maven.onehippo.com/maven2/</url> |
67 |
<snapshots> |
68 |
<enabled>false</enabled> |
69 |
</snapshots> |
70 |
<releases> |
71 |
<updatePolicy>never</updatePolicy> |
72 |
</releases> |
73 |
</repository> |
74 |
</repositories> |
75 |
|
76 |
<dependencyManagement> |
77 |
<dependencies> |
78 |
|
79 |
<!-- Libraries --> |
80 |
|
81 |
<dependency> |
82 |
<groupId>org.apache.geronimo.specs</groupId> |
83 |
<artifactId>geronimo-annotation_1.1_spec</artifactId> |
84 |
<version>${lib.javax-annotation-security}</version> |
85 |
<!-- NOTE: You should use 'provided' instead of 'compile' |
86 |
when your application container provides javax.annotation.security package. --> |
87 |
<scope>compile</scope> |
88 |
</dependency> |
89 |
|
90 |
<dependency> |
91 |
<groupId>org.json</groupId> |
92 |
<artifactId>json</artifactId> |
93 |
<version>${lib.json.version}</version> |
94 |
</dependency> |
95 |
|
96 |
<dependency> |
97 |
<groupId>net.java.dev.rome</groupId> |
98 |
<artifactId>rome-fetcher</artifactId> |
99 |
<version>${lib.rome.version}</version> |
100 |
</dependency> |
101 |
|
102 |
<dependency> |
103 |
<groupId>net.java.dev.rome</groupId> |
104 |
<artifactId>rome</artifactId> |
105 |
<version>${lib.rome.version}</version> |
106 |
</dependency> |
107 |
|
108 |
<dependency> |
109 |
<groupId>org.springframework</groupId> |
110 |
<artifactId>spring-core</artifactId> |
111 |
<version>${spring.version}</version> |
112 |
<scope>runtime</scope> |
113 |
</dependency> |
114 |
|
115 |
<dependency> |
116 |
<groupId>org.springframework</groupId> |
117 |
<artifactId>spring-web</artifactId> |
118 |
<version>${spring.version}</version> |
119 |
<scope>runtime</scope> |
120 |
</dependency> |
121 |
|
122 |
<dependency> |
123 |
<groupId>org.springframework</groupId> |
124 |
<artifactId>spring-webmvc</artifactId> |
125 |
<version>${spring.version}</version> |
126 |
<scope>runtime</scope> |
127 |
</dependency> |
128 |
|
129 |
<dependency> |
130 |
<groupId>org.springframework</groupId> |
131 |
<artifactId>spring-aop</artifactId> |
132 |
<version>${spring.version}</version> |
133 |
<scope>runtime</scope> |
134 |
</dependency> |
135 |
|
136 |
<dependency> |
137 |
<groupId>org.springframework</groupId> |
138 |
<artifactId>spring-test</artifactId> |
139 |
<version>${spring.version}</version> |
140 |
<scope>test</scope> |
141 |
</dependency> |
142 |
|
143 |
<dependency> |
144 |
<groupId>org.onehippo.yui</groupId> |
145 |
<artifactId>yui-2.xx-sources</artifactId> |
146 |
<version>${yui.sources.version}</version> |
147 |
<exclusions> |
148 |
<exclusion> |
149 |
<groupId>org.slf4j</groupId> |
150 |
<artifactId>slf4j-api</artifactId> |
151 |
</exclusion> |
152 |
</exclusions> |
153 |
</dependency> |
154 |
|
155 |
<dependency> |
156 |
<groupId>org.apache.cxf</groupId> |
157 |
<artifactId>cxf-rt-rs-security-cors</artifactId> |
158 |
<version>${cxf.version}</version> |
159 |
</dependency> |
160 |
|
161 |
<dependency> |
162 |
<groupId>org.easymock</groupId> |
163 |
<artifactId>easymock</artifactId> |
164 |
<version>${easymock.version}</version> |
165 |
<scope>test</scope> |
166 |
</dependency> |
167 |
|
168 |
<dependency> |
169 |
<groupId>commons-codec</groupId> |
170 |
<artifactId>commons-codec</artifactId> |
171 |
<version>${lib.commons.codec.version}</version> |
172 |
</dependency> |
173 |
<!-- other predefined compile scope versioned dependencies --> |
174 |
<dependency> |
175 |
<groupId>org.freemarker</groupId> |
176 |
<artifactId>freemarker</artifactId> |
177 |
<version>${lib.freemarker.version}</version> |
178 |
</dependency> |
179 |
|
180 |
<dependency> |
181 |
<groupId>commons-lang</groupId> |
182 |
<artifactId>commons-lang</artifactId> |
183 |
<version>${lib.commons.lang.version}</version> |
184 |
</dependency> |
185 |
|
186 |
<!-- other predefined runtime scope versioned dependencies --> |
187 |
<dependency> |
188 |
<groupId>javax.servlet</groupId> |
189 |
<artifactId>jstl</artifactId> |
190 |
<version>${lib.javax-servlet-jstl.version}</version> |
191 |
<scope>runtime</scope> |
192 |
</dependency> |
193 |
|
194 |
<dependency> |
195 |
<groupId>taglibs</groupId> |
196 |
<artifactId>standard</artifactId> |
197 |
<version>${lib.taglibs.version}</version> |
198 |
<scope>runtime</scope> |
199 |
</dependency> |
200 |
|
201 |
<!-- other predefined test scope versioned dependencies --> |
202 |
<dependency> |
203 |
<groupId>junit</groupId> |
204 |
<artifactId>junit</artifactId> |
205 |
<version>${junit.version}</version> |
206 |
<scope>test</scope> |
207 |
</dependency> |
208 |
|
209 |
<dependency> |
210 |
<groupId>org.onehippo.forge</groupId> |
211 |
<artifactId>easy-forms-cms</artifactId> |
212 |
<version>${forge.easy-forms.version}</version> |
213 |
</dependency> |
214 |
<dependency> |
215 |
<groupId>org.onehippo.forge</groupId> |
216 |
<artifactId>easy-forms-hst</artifactId> |
217 |
<version>${forge.easy-forms.version}</version> |
218 |
<exclusions> |
219 |
<exclusion> |
220 |
<groupId>com.google.guava</groupId> |
221 |
<artifactId>guava</artifactId> |
222 |
</exclusion> |
223 |
</exclusions> |
224 |
</dependency> |
225 |
<dependency> |
226 |
<groupId>org.onehippo.forge</groupId> |
227 |
<artifactId>easy-forms-repository</artifactId> |
228 |
<version>${forge.easy-forms.version}</version> |
229 |
</dependency> |
230 |
|
231 |
</dependencies> |
232 |
|
233 |
</dependencyManagement> |
234 |
|
235 |
<build> |
236 |
<defaultGoal>package</defaultGoal> |
237 |
<pluginManagement> |
238 |
<plugins> |
239 |
<!-- redefine again default Hippo LICENSE and NOTICE file handling configuration like as defined |
240 |
in root cms7-project pom but is 'nullified' again in parent cms7-release pom. --> |
241 |
<plugin> |
242 |
<groupId>org.apache.maven.plugins</groupId> |
243 |
<artifactId>maven-war-plugin</artifactId> |
244 |
<configuration> |
245 |
<webResources> |
246 |
<resource> |
247 |
<directory>${project.build.directory}/classes</directory> |
248 |
<includes> |
249 |
<include>META-INF/LICENSE</include> |
250 |
<include>META-INF/NOTICE</include> |
251 |
<include>META-INF/DEPENDENCIES</include> |
252 |
</includes> |
253 |
<filtering>false</filtering> |
254 |
</resource> |
255 |
</webResources> |
256 |
<packagingExcludes> |
257 |
WEB-INF/classes/META-INF/LICENSE, |
258 |
WEB-INF/classes/META-INF/NOTICE, |
259 |
WEB-INF/classes/META-INF/DEPENDENCIES |
260 |
</packagingExcludes> |
261 |
</configuration> |
262 |
</plugin> |
263 |
<plugin> |
264 |
<groupId>org.apache.maven.plugins</groupId> |
265 |
<artifactId>maven-remote-resources-plugin</artifactId> |
266 |
<executions> |
267 |
<execution> |
268 |
<goals> |
269 |
<goal>process</goal> |
270 |
</goals> |
271 |
<configuration> |
272 |
<resourceBundles> |
273 |
<resourceBundle>org.onehippo.cms7:hippo-cms7-legal-resources:1</resourceBundle> |
274 |
</resourceBundles> |
275 |
</configuration> |
276 |
</execution> |
277 |
</executions> |
278 |
</plugin> |
279 |
<!-- end redefine again default Hippo LICENSE and NOTICE file handling configuration --> |
280 |
</plugins> |
281 |
</pluginManagement> |
282 |
</build> |
283 |
|
284 |
<profiles> |
285 |
|
286 |
<profile> |
287 |
<id>default</id> |
288 |
<activation> |
289 |
<activeByDefault>true</activeByDefault> |
290 |
<property> |
291 |
<name>jrebel</name> |
292 |
</property> |
293 |
</activation> |
294 |
<modules> |
295 |
<module>content</module> |
296 |
<module>rating-plugin</module> |
297 |
<module>cms</module> |
298 |
<module>site</module> |
299 |
<module>site-assembly</module> |
300 |
<module>integration-tests</module> |
301 |
<module>server-config</module> |
302 |
<module>launcher</module> |
303 |
<module>dist</module> |
304 |
</modules> |
305 |
</profile> |
306 |
|
307 |
<profile> |
308 |
<id>cargo.run</id> |
309 |
<build> |
310 |
<plugins> |
311 |
<plugin> |
312 |
<groupId>org.codehaus.cargo</groupId> |
313 |
<artifactId>cargo-maven2-plugin</artifactId> |
314 |
<configuration> |
315 |
<configuration> |
316 |
<properties> |
317 |
<catalina.servlet.uriencoding>UTF-8</catalina.servlet.uriencoding> |
318 |
</properties> |
319 |
<configfiles> |
320 |
<configfile> |
321 |
<file>${project.basedir}/conf/context.xml</file> |
322 |
<todir>conf/</todir> |
323 |
<tofile>context.xml</tofile> |
324 |
</configfile> |
325 |
</configfiles> |
326 |
</configuration> |
327 |
<container> |
328 |
<systemProperties> |
329 |
<!-- |
330 |
set project.basedir property to enable automatic export |
331 |
<project.basedir>${project.basedir}</project.basedir> |
332 |
--> |
333 |
<log4j.configuration>file:${project.basedir}/conf/log4j-dev.xml</log4j.configuration> |
334 |
</systemProperties> |
335 |
</container> |
336 |
<deployables> |
337 |
<deployable> |
338 |
<type>war</type> |
339 |
<properties> |
340 |
<context>/cms</context> |
341 |
</properties> |
342 |
<location>${project.basedir}/cms/target/cms.war</location> |
343 |
</deployable> |
344 |
<deployable> |
345 |
<location>${project.basedir}/site/target/site.war</location> |
346 |
<type>war</type> |
347 |
<properties> |
348 |
<context>/site</context> |
349 |
</properties> |
350 |
</deployable> |
351 |
</deployables> |
352 |
</configuration> |
353 |
</plugin> |
354 |
</plugins> |
355 |
</build> |
356 |
</profile> |
357 |
|
358 |
<profile> |
359 |
<id>dist</id> |
360 |
<dependencies> |
361 |
<dependency> |
362 |
<groupId>org.slf4j</groupId> |
363 |
<artifactId>slf4j-log4j12</artifactId> |
364 |
<scope>provided</scope> |
365 |
</dependency> |
366 |
<dependency> |
367 |
<groupId>org.slf4j</groupId> |
368 |
<artifactId>jcl-over-slf4j</artifactId> |
369 |
<scope>provided</scope> |
370 |
</dependency> |
371 |
<dependency> |
372 |
<groupId>log4j</groupId> |
373 |
<artifactId>log4j</artifactId> |
374 |
<scope>provided</scope> |
375 |
</dependency> |
376 |
</dependencies> |
377 |
<build> |
378 |
<defaultGoal>validate</defaultGoal> |
379 |
<plugins> |
380 |
<plugin> |
381 |
<artifactId>maven-assembly-plugin</artifactId> |
382 |
<inherited>false</inherited> |
383 |
<executions> |
384 |
<execution> |
385 |
<id>distro-assembly</id> |
386 |
<phase>validate</phase> |
387 |
<goals> |
388 |
<goal>single</goal> |
389 |
</goals> |
390 |
<configuration> |
391 |
<descriptors> |
392 |
<descriptor>${basedir}/src/main/assembly/distribution.xml</descriptor> |
393 |
</descriptors> |
394 |
</configuration> |
395 |
</execution> |
396 |
</executions> |
397 |
</plugin> |
398 |
</plugins> |
399 |
</build> |
400 |
</profile> |
401 |
|
402 |
<profile> |
403 |
<id>pedantic</id> |
404 |
<build> |
405 |
<plugins> |
406 |
<plugin> |
407 |
<groupId>org.apache.rat</groupId> |
408 |
<artifactId>apache-rat-plugin</artifactId> |
409 |
<inherited>false</inherited> |
410 |
<configuration> |
411 |
<excludes combine.children="append"> |
412 |
<!-- covered by 3rd-party licenses in the LICENSE file --> |
413 |
<exclude>dist/src/overlay/tomcat/webapps/ROOT/css/reset-fonts-grids.css</exclude> |
414 |
<exclude>dist/src/overlay/tomcat/webapps/ROOT/css/base-edited.css</exclude> |
415 |
<exclude>site/src/main/resources/META-INF/hst/security/skin/js/jquery-1.4.2.min.js</exclude> |
416 |
<exclude>site/src/main/webapp/css/facebook/yui-css.css</exclude> |
417 |
<exclude>site/src/main/webapp/css/mobile/yui-css.css</exclude> |
418 |
<exclude>site/src/main/webapp/css/yui-css.css</exclude> |
419 |
<exclude>site/src/main/webapp/css/jquery-ui-1.10.3.custom.css</exclude> |
420 |
<exclude>site/src/main/webapp/js/formcheck/formcheck.js</exclude> |
421 |
<exclude>site/src/main/webapp/js/galleryview-2.1.1/**</exclude> |
422 |
<exclude>site/src/main/webapp/js/json2.js</exclude> |
423 |
<exclude>site/src/main/webapp/js/jquery-1.4.2.min.js</exclude> |
424 |
<exclude>site/src/main/webapp/js/jquery-1.9.1.js</exclude> |
425 |
<exclude>site/src/main/webapp/js/jquery.mb.browser.min.js</exclude> |
426 |
<exclude>site/src/main/webapp/js/jquery.ui.core.js</exclude> |
427 |
<exclude>site/src/main/webapp/js/jquery.ui.datepicker.js</exclude> |
428 |
<exclude>site/src/main/webapp/js/jquery-ui-1.8.2.custom.min.js</exclude> |
429 |
<exclude>site/src/main/webapp/js/jquery.localscroll-1.2.7-min.js</exclude> |
430 |
<exclude>site/src/main/webapp/js/jquery.scrollTo-1.4.2-min.js</exclude> |
431 |
<exclude>site/src/main/webapp/js/jquery.serialScroll-1.2.2-min.js</exclude> |
432 |
<exclude>site/src/main/webapp/js/jquery.validate.min.js</exclude> |
433 |
<exclude>site/src/main/webapp/js/mootools-1.2.4-core-nc.js</exclude> |
434 |
<exclude>site/src/main/webapp/js/mootools-1.2.4-core.js</exclude> |
435 |
<exclude>site/src/main/webapp/js/syntaxhighlighter_3.0.83/**</exclude> |
436 |
<!-- too meta --> |
437 |
<exclude>etc/dependencies/*</exclude> |
438 |
<exclude>dist/src/overlay/tomcat/bin/*</exclude> |
439 |
<!-- repository content XML --> |
440 |
<exclude>content/src/main/resources/**/*.xml</exclude> |
441 |
<exclude>server-config/acct-server-config/src/main/resources/**/*.xml</exclude> |
442 |
<exclude>server-config/prod-server-config/src/main/resources/**/*.xml</exclude> |
443 |
<exclude>server-config/test-server-config/src/main/resources/**/*.xml</exclude> |
444 |
<exclude>launcher/src/main/java/com/centerkey/utils/BareBonesBrowserLaunch.java</exclude> |
445 |
</excludes> |
446 |
</configuration> |
447 |
</plugin> |
448 |
</plugins> |
449 |
</build> |
450 |
</profile> |
451 |
|
452 |
</profiles> |
453 |
|
454 |
</project> |