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