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.6-SNAPSHOT</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.06-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/branches/hippogogreen-3.09.xx</connection> |
37 |
<developerConnection>scm:svn:https://svn.onehippo.org/repos/hippo/hippo-demos/hippo-go-green/branches/hippogogreen-3.09.xx</developerConnection> |
38 |
<url>http://svn.onehippo.org/viewvc/hippo-demos/hippo-go-green/branches/hippogogreen-3.09.xx</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 |
</properties> |
60 |
|
61 |
<repositories> |
62 |
<repository> |
63 |
<id>hippo</id> |
64 |
<name>Hippo Maven 2</name> |
65 |
<url>http://maven.onehippo.com/maven2/</url> |
66 |
<snapshots> |
67 |
<enabled>false</enabled> |
68 |
</snapshots> |
69 |
<releases> |
70 |
<updatePolicy>never</updatePolicy> |
71 |
</releases> |
72 |
</repository> |
73 |
</repositories> |
74 |
|
75 |
<dependencyManagement> |
76 |
<dependencies> |
77 |
|
78 |
<!-- Libraries --> |
79 |
|
80 |
<dependency> |
81 |
<groupId>org.apache.geronimo.specs</groupId> |
82 |
<artifactId>geronimo-annotation_1.1_spec</artifactId> |
83 |
<version>${lib.javax-annotation-security}</version> |
84 |
<!-- NOTE: You should use 'provided' instead of 'compile' |
85 |
when your application container provides javax.annotation.security package. --> |
86 |
<scope>compile</scope> |
87 |
</dependency> |
88 |
|
89 |
<dependency> |
90 |
<groupId>org.json</groupId> |
91 |
<artifactId>json</artifactId> |
92 |
<version>${lib.json.version}</version> |
93 |
</dependency> |
94 |
|
95 |
<dependency> |
96 |
<groupId>net.java.dev.rome</groupId> |
97 |
<artifactId>rome-fetcher</artifactId> |
98 |
<version>${lib.rome.version}</version> |
99 |
</dependency> |
100 |
|
101 |
<dependency> |
102 |
<groupId>net.java.dev.rome</groupId> |
103 |
<artifactId>rome</artifactId> |
104 |
<version>${lib.rome.version}</version> |
105 |
</dependency> |
106 |
|
107 |
<dependency> |
108 |
<groupId>org.springframework</groupId> |
109 |
<artifactId>spring-core</artifactId> |
110 |
<version>${spring.version}</version> |
111 |
<scope>runtime</scope> |
112 |
</dependency> |
113 |
|
114 |
<dependency> |
115 |
<groupId>org.springframework</groupId> |
116 |
<artifactId>spring-web</artifactId> |
117 |
<version>${spring.version}</version> |
118 |
<scope>runtime</scope> |
119 |
</dependency> |
120 |
|
121 |
<dependency> |
122 |
<groupId>org.springframework</groupId> |
123 |
<artifactId>spring-webmvc</artifactId> |
124 |
<version>${spring.version}</version> |
125 |
<scope>runtime</scope> |
126 |
</dependency> |
127 |
|
128 |
<dependency> |
129 |
<groupId>org.springframework</groupId> |
130 |
<artifactId>spring-aop</artifactId> |
131 |
<version>${spring.version}</version> |
132 |
<scope>runtime</scope> |
133 |
</dependency> |
134 |
|
135 |
<dependency> |
136 |
<groupId>org.springframework</groupId> |
137 |
<artifactId>spring-test</artifactId> |
138 |
<version>${spring.version}</version> |
139 |
<scope>test</scope> |
140 |
</dependency> |
141 |
|
142 |
<dependency> |
143 |
<groupId>org.onehippo.yui</groupId> |
144 |
<artifactId>yui-2.xx-sources</artifactId> |
145 |
<version>${yui.sources.version}</version> |
146 |
<exclusions> |
147 |
<exclusion> |
148 |
<groupId>org.slf4j</groupId> |
149 |
<artifactId>slf4j-api</artifactId> |
150 |
</exclusion> |
151 |
</exclusions> |
152 |
</dependency> |
153 |
|
154 |
<dependency> |
155 |
<groupId>org.apache.cxf</groupId> |
156 |
<artifactId>cxf-rt-rs-security-cors</artifactId> |
157 |
<version>${cxf.version}</version> |
158 |
</dependency> |
159 |
|
160 |
<dependency> |
161 |
<groupId>org.easymock</groupId> |
162 |
<artifactId>easymock</artifactId> |
163 |
<version>${easymock.version}</version> |
164 |
<scope>test</scope> |
165 |
</dependency> |
166 |
|
167 |
<dependency> |
168 |
<groupId>commons-codec</groupId> |
169 |
<artifactId>commons-codec</artifactId> |
170 |
<version>${lib.commons.codec.version}</version> |
171 |
</dependency> |
172 |
<!-- other predefined compile scope versioned dependencies --> |
173 |
<dependency> |
174 |
<groupId>org.freemarker</groupId> |
175 |
<artifactId>freemarker</artifactId> |
176 |
<version>${lib.freemarker.version}</version> |
177 |
</dependency> |
178 |
|
179 |
<dependency> |
180 |
<groupId>commons-lang</groupId> |
181 |
<artifactId>commons-lang</artifactId> |
182 |
<version>${lib.commons.lang.version}</version> |
183 |
</dependency> |
184 |
|
185 |
<!-- other predefined runtime scope versioned dependencies --> |
186 |
<dependency> |
187 |
<groupId>javax.servlet</groupId> |
188 |
<artifactId>jstl</artifactId> |
189 |
<version>${lib.javax-servlet-jstl.version}</version> |
190 |
<scope>runtime</scope> |
191 |
</dependency> |
192 |
|
193 |
<dependency> |
194 |
<groupId>taglibs</groupId> |
195 |
<artifactId>standard</artifactId> |
196 |
<version>${lib.taglibs.version}</version> |
197 |
<scope>runtime</scope> |
198 |
</dependency> |
199 |
|
200 |
<!-- other predefined test scope versioned dependencies --> |
201 |
<dependency> |
202 |
<groupId>junit</groupId> |
203 |
<artifactId>junit</artifactId> |
204 |
<version>${junit.version}</version> |
205 |
<scope>test</scope> |
206 |
</dependency> |
207 |
|
208 |
</dependencies> |
209 |
|
210 |
</dependencyManagement> |
211 |
|
212 |
<build> |
213 |
<defaultGoal>package</defaultGoal> |
214 |
<pluginManagement> |
215 |
<plugins> |
216 |
<!-- redefine again default Hippo LICENSE and NOTICE file handling configuration like as defined |
217 |
in root cms7-project pom but is 'nullified' again in parent cms7-release pom. --> |
218 |
<plugin> |
219 |
<groupId>org.apache.maven.plugins</groupId> |
220 |
<artifactId>maven-war-plugin</artifactId> |
221 |
<configuration> |
222 |
<webResources> |
223 |
<resource> |
224 |
<directory>${project.build.directory}/classes</directory> |
225 |
<includes> |
226 |
<include>META-INF/LICENSE</include> |
227 |
<include>META-INF/NOTICE</include> |
228 |
<include>META-INF/DEPENDENCIES</include> |
229 |
</includes> |
230 |
<filtering>false</filtering> |
231 |
</resource> |
232 |
</webResources> |
233 |
<packagingExcludes> |
234 |
WEB-INF/classes/META-INF/LICENSE, |
235 |
WEB-INF/classes/META-INF/NOTICE, |
236 |
WEB-INF/classes/META-INF/DEPENDENCIES |
237 |
</packagingExcludes> |
238 |
</configuration> |
239 |
</plugin> |
240 |
<plugin> |
241 |
<groupId>org.apache.maven.plugins</groupId> |
242 |
<artifactId>maven-remote-resources-plugin</artifactId> |
243 |
<executions> |
244 |
<execution> |
245 |
<goals> |
246 |
<goal>process</goal> |
247 |
</goals> |
248 |
<configuration> |
249 |
<resourceBundles> |
250 |
<resourceBundle>org.onehippo.cms7:hippo-cms7-legal-resources:1</resourceBundle> |
251 |
</resourceBundles> |
252 |
</configuration> |
253 |
</execution> |
254 |
</executions> |
255 |
</plugin> |
256 |
<!-- end redefine again default Hippo LICENSE and NOTICE file handling configuration --> |
257 |
</plugins> |
258 |
</pluginManagement> |
259 |
</build> |
260 |
|
261 |
<profiles> |
262 |
|
263 |
<profile> |
264 |
<id>default</id> |
265 |
<activation> |
266 |
<activeByDefault>true</activeByDefault> |
267 |
<property> |
268 |
<name>jrebel</name> |
269 |
</property> |
270 |
</activation> |
271 |
<modules> |
272 |
<module>content</module> |
273 |
<module>rating-plugin</module> |
274 |
<module>cms</module> |
275 |
<module>site</module> |
276 |
<module>site-assembly</module> |
277 |
<module>integration-tests</module> |
278 |
<module>server-config</module> |
279 |
<module>launcher</module> |
280 |
<module>dist</module> |
281 |
</modules> |
282 |
</profile> |
283 |
|
284 |
<profile> |
285 |
<id>cargo.run</id> |
286 |
<build> |
287 |
<plugins> |
288 |
<plugin> |
289 |
<groupId>org.codehaus.cargo</groupId> |
290 |
<artifactId>cargo-maven2-plugin</artifactId> |
291 |
<configuration> |
292 |
<configuration> |
293 |
<properties> |
294 |
<catalina.servlet.uriencoding>UTF-8</catalina.servlet.uriencoding> |
295 |
</properties> |
296 |
<configfiles> |
297 |
<configfile> |
298 |
<file>${project.basedir}/conf/context.xml</file> |
299 |
<todir>conf/</todir> |
300 |
<tofile>context.xml</tofile> |
301 |
</configfile> |
302 |
</configfiles> |
303 |
</configuration> |
304 |
<container> |
305 |
<systemProperties> |
306 |
<!-- |
307 |
set project.basedir property to enable automatic export |
308 |
<project.basedir>${project.basedir}</project.basedir> |
309 |
--> |
310 |
<log4j.configuration>file:${project.basedir}/conf/log4j-dev.xml</log4j.configuration> |
311 |
</systemProperties> |
312 |
</container> |
313 |
<deployables> |
314 |
<deployable> |
315 |
<type>war</type> |
316 |
<properties> |
317 |
<context>/cms</context> |
318 |
</properties> |
319 |
<location>${project.basedir}/cms/target/cms.war</location> |
320 |
</deployable> |
321 |
<deployable> |
322 |
<location>${project.basedir}/site/target/site.war</location> |
323 |
<type>war</type> |
324 |
<properties> |
325 |
<context>/site</context> |
326 |
</properties> |
327 |
</deployable> |
328 |
</deployables> |
329 |
</configuration> |
330 |
</plugin> |
331 |
</plugins> |
332 |
</build> |
333 |
</profile> |
334 |
|
335 |
<profile> |
336 |
<id>dist</id> |
337 |
<dependencies> |
338 |
<dependency> |
339 |
<groupId>org.slf4j</groupId> |
340 |
<artifactId>slf4j-log4j12</artifactId> |
341 |
<scope>provided</scope> |
342 |
</dependency> |
343 |
<dependency> |
344 |
<groupId>org.slf4j</groupId> |
345 |
<artifactId>jcl-over-slf4j</artifactId> |
346 |
<scope>provided</scope> |
347 |
</dependency> |
348 |
<dependency> |
349 |
<groupId>log4j</groupId> |
350 |
<artifactId>log4j</artifactId> |
351 |
<scope>provided</scope> |
352 |
</dependency> |
353 |
</dependencies> |
354 |
<build> |
355 |
<defaultGoal>validate</defaultGoal> |
356 |
<plugins> |
357 |
<plugin> |
358 |
<artifactId>maven-assembly-plugin</artifactId> |
359 |
<inherited>false</inherited> |
360 |
<executions> |
361 |
<execution> |
362 |
<id>distro-assembly</id> |
363 |
<phase>validate</phase> |
364 |
<goals> |
365 |
<goal>single</goal> |
366 |
</goals> |
367 |
<configuration> |
368 |
<descriptors> |
369 |
<descriptor>${basedir}/src/main/assembly/distribution.xml</descriptor> |
370 |
</descriptors> |
371 |
</configuration> |
372 |
</execution> |
373 |
</executions> |
374 |
</plugin> |
375 |
</plugins> |
376 |
</build> |
377 |
</profile> |
378 |
|
379 |
<profile> |
380 |
<id>pedantic</id> |
381 |
<build> |
382 |
<plugins> |
383 |
<plugin> |
384 |
<groupId>org.apache.rat</groupId> |
385 |
<artifactId>apache-rat-plugin</artifactId> |
386 |
<inherited>false</inherited> |
387 |
<configuration> |
388 |
<excludes combine.children="append"> |
389 |
<!-- covered by 3rd-party licenses in the LICENSE file --> |
390 |
<exclude>dist/src/overlay/tomcat/webapps/ROOT/css/reset-fonts-grids.css</exclude> |
391 |
<exclude>dist/src/overlay/tomcat/webapps/ROOT/css/base-edited.css</exclude> |
392 |
<exclude>site/src/main/resources/META-INF/hst/security/skin/js/jquery-1.4.2.min.js</exclude> |
393 |
<exclude>site/src/main/webapp/css/facebook/yui-css.css</exclude> |
394 |
<exclude>site/src/main/webapp/css/mobile/yui-css.css</exclude> |
395 |
<exclude>site/src/main/webapp/css/yui-css.css</exclude> |
396 |
<exclude>site/src/main/webapp/js/galleryview-2.1.1/**</exclude> |
397 |
<exclude>site/src/main/webapp/js/json2.js</exclude> |
398 |
<exclude>site/src/main/webapp/js/jquery-1.4.2.min.js</exclude> |
399 |
<exclude>site/src/main/webapp/js/jquery-1.9.1.js</exclude> |
400 |
<exclude>site/src/main/webapp/js/jquery.mb.browser.min.js</exclude> |
401 |
<exclude>site/src/main/webapp/js/jquery.ui.core.js</exclude> |
402 |
<exclude>site/src/main/webapp/js/jquery.ui.datepicker.js</exclude> |
403 |
<exclude>site/src/main/webapp/js/jquery.localscroll-1.2.7-min.js</exclude> |
404 |
<exclude>site/src/main/webapp/js/jquery.scrollTo-1.4.2-min.js</exclude> |
405 |
<exclude>site/src/main/webapp/js/jquery.serialScroll-1.2.2-min.js</exclude> |
406 |
<exclude>site/src/main/webapp/js/mootools-1.2.4-core-nc.js</exclude> |
407 |
<exclude>site/src/main/webapp/js/mootools-1.2.4-core.js</exclude> |
408 |
<exclude>site/src/main/webapp/js/syntaxhighlighter_3.0.83/**</exclude> |
409 |
<!-- too meta --> |
410 |
<exclude>etc/dependencies/*</exclude> |
411 |
<exclude>dist/src/overlay/tomcat/bin/*</exclude> |
412 |
<!-- repository content XML --> |
413 |
<exclude>content/src/main/resources/**/*.xml</exclude> |
414 |
<exclude>server-config/acct-server-config/src/main/resources/**/*.xml</exclude> |
415 |
<exclude>server-config/prod-server-config/src/main/resources/**/*.xml</exclude> |
416 |
<exclude>server-config/test-server-config/src/main/resources/**/*.xml</exclude> |
417 |
<exclude>launcher/src/main/java/com/centerkey/utils/BareBonesBrowserLaunch.java</exclude> |
418 |
</excludes> |
419 |
</configuration> |
420 |
</plugin> |
421 |
</plugins> |
422 |
</build> |
423 |
</profile> |
424 |
|
425 |
</profiles> |
426 |
|
427 |
</project> |