View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-demos/hippo-go-green/trunk/pom.xml
Revision: 47767
Committed: Mon Dec 22 21:43:37 2014 UTC (7 years, 11 months ago) by adouma
Content type: text/xml
File size: 16043 byte(s)
Log Message:
GOGREEN-1304: copy/override the deprecated tcmp plugin so that it can be removed from the release pom

File Contents

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

Properties

Name Value
svn:eol-style native
svn:keywords Id