View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-cms7/site-toolkit/trunk/demosuite/pom.xml
Revision: 27687
Committed: Mon Apr 11 11:22:34 2011 UTC (8 years, 11 months ago) by uhommes
Content type: text/plain
File size: 14070 byte(s)
Log Message:
HSTTWO-1563 make hst demo work with Cargo instead of Jetty

File Contents

# Content
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright 2008 Hippo
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"
13 BASIS, 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 <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">
17
18 <modelVersion>4.0.0</modelVersion>
19
20 <parent>
21 <groupId>org.onehippo.cms7.hst</groupId>
22 <artifactId>hst</artifactId>
23 <version>2.21.01-SNAPSHOT</version>
24 </parent>
25
26 <groupId>org.onehippo.cms7.hst</groupId>
27 <artifactId>demosuite</artifactId>
28 <name>Hippo Site Toolkit Demo Suite</name>
29 <description>Hippo Site Toolkit Demo Suite</description>
30 <packaging>pom</packaging>
31
32 <properties>
33
34 <jdo2.api.version>2.3-eb</jdo2.api.version>
35
36 <!-- following properties should be moved to cms7-project -->
37 <jrebel.plugin.version>1.0.7</jrebel.plugin.version>
38 <cargo.version>1.1.0-SNAPSHOT</cargo.version>
39 <!-- default empty javaagent, see also "jrebel" profile below -->
40 <javaagent></javaagent>
41
42 </properties>
43
44 <dependencyManagement>
45 <dependencies>
46
47 <!-- required shared servlet, jta, jcr, jdo (workflow) and repository api dependencies -->
48 <dependency>
49 <groupId>javax.servlet</groupId>
50 <artifactId>servlet-api</artifactId>
51 <version>${servlet-api.version}</version>
52 <scope>provided</scope>
53 </dependency>
54 <dependency>
55 <groupId>org.apache.geronimo.specs</groupId>
56 <artifactId>geronimo-jta_1.1_spec</artifactId>
57 <version>${geronimo-jta_1.1_spec.version}</version>
58 <scope>provided</scope>
59 </dependency>
60 <dependency>
61 <groupId>javax.jcr</groupId>
62 <artifactId>jcr</artifactId>
63 <version>${javax.jcr.version}</version>
64 <scope>provided</scope>
65 </dependency>
66 <dependency>
67 <groupId>javax.jdo</groupId>
68 <artifactId>jdo2-api</artifactId>
69 <version>${jdo2.api.version}</version>
70 <scope>provided</scope>
71 </dependency>
72 <dependency>
73 <groupId>org.onehippo.cms7</groupId>
74 <artifactId>hippo-repository-api</artifactId>
75 <version>${repository.version}</version>
76 <scope>provided</scope>
77 </dependency>
78
79 <!-- shared builtin and workflow common dependencies -->
80 <dependency>
81 <groupId>org.onehippo.cms7</groupId>
82 <artifactId>hippo-repository-builtin</artifactId>
83 <version>${repository.version}</version>
84 <scope>provided</scope>
85 </dependency>
86 <dependency>
87 <groupId>org.onehippo.cms7</groupId>
88 <artifactId>hippo-addon-publication-workflow-common</artifactId>
89 <version>${publication-workflow.version}</version>
90 <scope>provided</scope>
91 </dependency>
92
93 <!-- shared hst dependencies -->
94 <dependency>
95 <groupId>org.onehippo.cms7.hst.dependencies</groupId>
96 <artifactId>hst-shared-dependencies</artifactId>
97 <version>${project.version}</version>
98 <scope>provided</scope>
99 <type>pom</type>
100 </dependency>
101
102 <!-- We use jcl-over-slf4j, but a large number of mvn projects declare commons-logging as a dependency
103 so we exclude commons-logging by adding it as a provided dependency (not deployed) -->
104 <dependency>
105 <groupId>commons-logging</groupId>
106 <artifactId>commons-logging</artifactId>
107 <version>1.1.1</version>
108 <scope>provided</scope>
109 </dependency>
110
111 <!-- other predefined compile scope versioned dependencies -->
112 <dependency>
113 <groupId>org.freemarker</groupId>
114 <artifactId>freemarker</artifactId>
115 <version>${freemarker.version}</version>
116 </dependency>
117
118 <dependency>
119 <groupId>org.springframework.webflow</groupId>
120 <artifactId>org.springframework.js</artifactId>
121 <version>${spring.js.version}</version>
122 </dependency>
123
124 <dependency>
125 <groupId>commons-lang</groupId>
126 <artifactId>commons-lang</artifactId>
127 <version>${commons-lang.version}</version>
128 </dependency>
129
130 <dependency>
131 <groupId>org.slf4j</groupId>
132 <artifactId>slf4j-api</artifactId>
133 <version>${slf4j.version}</version>
134 </dependency>
135
136 <!-- other predefined runtime scope versioned dependencies -->
137 <dependency>
138 <groupId>javax.servlet</groupId>
139 <artifactId>jstl</artifactId>
140 <version>${jstl.version}</version>
141 <scope>runtime</scope>
142 </dependency>
143
144 <dependency>
145 <groupId>taglibs</groupId>
146 <artifactId>standard</artifactId>
147 <version>${taglibs.version}</version>
148 <scope>runtime</scope>
149 </dependency>
150
151 <dependency>
152 <groupId>xml-apis</groupId>
153 <artifactId>xml-apis</artifactId>
154 <version>${xml-apis.version}</version>
155 <scope>provided</scope>
156 </dependency>
157
158 <dependency>
159 <groupId>xerces</groupId>
160 <artifactId>xercesImpl</artifactId>
161 <version>${xercesImpl.version}</version>
162 <scope>runtime</scope>
163 </dependency>
164
165 <dependency>
166 <groupId>xalan</groupId>
167 <artifactId>xalan</artifactId>
168 <version>${xalan.version}</version>
169 <scope>runtime</scope>
170 </dependency>
171
172 <dependency>
173 <groupId>org.slf4j</groupId>
174 <artifactId>jcl-over-slf4j</artifactId>
175 <version>${slf4j.version}</version>
176 <scope>runtime</scope>
177 </dependency>
178
179 <dependency>
180 <groupId>org.slf4j</groupId>
181 <artifactId>slf4j-log4j12</artifactId>
182 <version>${slf4j.version}</version>
183 <scope>runtime</scope>
184 </dependency>
185
186 <dependency>
187 <groupId>log4j</groupId>
188 <artifactId>log4j</artifactId>
189 <version>${log4j.version}</version>
190 <scope>runtime</scope>
191 </dependency>
192
193 </dependencies>
194 </dependencyManagement>
195
196 <dependencies>
197
198 <!-- all shared runtime dependencies -->
199 <dependency>
200 <groupId>javax.servlet</groupId>
201 <artifactId>servlet-api</artifactId>
202 </dependency>
203 <dependency>
204 <groupId>org.apache.geronimo.specs</groupId>
205 <artifactId>geronimo-jta_1.1_spec</artifactId>
206 </dependency>
207
208 <!-- all shared provided dependencies -->
209 <dependency>
210 <groupId>javax.jcr</groupId>
211 <artifactId>jcr</artifactId>
212 </dependency>
213 <dependency>
214 <groupId>javax.jdo</groupId>
215 <artifactId>jdo2-api</artifactId>
216 </dependency>
217 <dependency>
218 <groupId>org.onehippo.cms7</groupId>
219 <artifactId>hippo-repository-api</artifactId>
220 </dependency>
221 <dependency>
222 <groupId>org.onehippo.cms7</groupId>
223 <artifactId>hippo-repository-builtin</artifactId>
224 </dependency>
225 <dependency>
226 <groupId>org.onehippo.cms7</groupId>
227 <artifactId>hippo-addon-publication-workflow-common</artifactId>
228 </dependency>
229 <dependency>
230 <groupId>org.onehippo.cms7.hst.dependencies</groupId>
231 <artifactId>hst-shared-dependencies</artifactId>
232 <type>pom</type>
233 </dependency>
234
235 </dependencies>
236
237 <build>
238 <defaultGoal>package</defaultGoal>
239 <pluginManagement>
240 <plugins>
241 <!-- to be moved to cms7-project -->
242 <plugin>
243 <groupId>org.codehaus.cargo</groupId>
244 <artifactId>cargo-maven2-plugin</artifactId>
245 <version>${cargo.version}</version>
246 <configuration>
247 <configuration>
248 <properties>
249 <cargo.remote.username>admin</cargo.remote.username>
250 <cargo.remote.password></cargo.remote.password>
251 </properties>
252 </configuration>
253 <container>
254 <containerId>tomcat6x</containerId>
255 </container>
256 </configuration>
257 </plugin>
258 </plugins>
259 </pluginManagement>
260 </build>
261
262 <profiles>
263
264 <profile>
265 <id>default</id>
266 <activation>
267 <activeByDefault>true</activeByDefault>
268 <property>
269 <name>jrebel</name>
270 </property>
271 </activation>
272 <modules>
273 <module>cms</module>
274 <module>site</module>
275 <module>content</module>
276 </modules>
277 </profile>
278
279 <profile>
280 <id>run</id>
281 <build>
282 <defaultGoal>validate</defaultGoal>
283 <plugins>
284 <plugin>
285 <groupId>org.codehaus.cargo</groupId>
286 <artifactId>cargo-maven2-plugin</artifactId>
287 <executions>
288 <execution>
289 <id>cargo-start</id>
290 <phase>validate</phase>
291 <goals>
292 <goal>start</goal>
293 </goals>
294 </execution>
295 </executions>
296 <configuration>
297 <wait>true</wait>
298 <configuration>
299 <home>${project.build.directory}/tomcat6x</home>
300 <properties>
301 <cargo.jvmargs>
302 <![CDATA[-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n -noverify ${javaagent}]]>
303 </cargo.jvmargs>
304 <catalina.servlet.uriencoding>UTF-8</catalina.servlet.uriencoding>
305 </properties>
306 <deployables>
307 <deployable>
308 <type>war</type>
309 <properties>
310 <context>/cms</context>
311 </properties>
312 <location>${project.basedir}/cms/target/cms.war</location>
313 </deployable>
314 <deployable>
315 <location>${project.basedir}/site/target/site.war</location>
316 <type>war</type>
317 <properties>
318 <context>/site</context>
319 </properties>
320 </deployable>
321 </deployables>
322 </configuration>
323 <container>
324 <systemProperties>
325 <repo.path>${project.build.directory}/storage</repo.path>
326 <hippoecm.export.dir>${project.basedir}/content/src/main/resources</hippoecm.export.dir>
327 </systemProperties>
328 <zipUrlInstaller>
329 <url>http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.32/bin/apache-tomcat-6.0.32.tar.gz</url>
330 </zipUrlInstaller>
331 <dependencies>
332 <dependency>
333 <groupId>org.apache.geronimo.specs</groupId>
334 <artifactId>geronimo-jta_1.1_spec</artifactId>
335 <classpath>extra</classpath>
336 </dependency>
337 <dependency>
338 <groupId>javax.jcr</groupId>
339 <artifactId>jcr</artifactId>
340 <classpath>shared</classpath>
341 </dependency>
342 <dependency>
343 <groupId>javax.jdo</groupId>
344 <artifactId>jdo2-api</artifactId>
345 <classpath>shared</classpath>
346 </dependency>
347 <dependency>
348 <groupId>org.onehippo.cms7</groupId>
349 <artifactId>hippo-repository-api</artifactId>
350 <classpath>shared</classpath>
351 </dependency>
352 <dependency>
353 <groupId>org.onehippo.cms7</groupId>
354 <artifactId>hippo-repository-builtin</artifactId>
355 <classpath>shared</classpath>
356 </dependency>
357 <dependency>
358 <groupId>org.onehippo.cms7</groupId>
359 <artifactId>hippo-addon-publication-workflow-common</artifactId>
360 <classpath>shared</classpath>
361 </dependency>
362 <dependency>
363 <groupId>org.onehippo.cms7.hst</groupId>
364 <artifactId>hst-api</artifactId>
365 <classpath>shared</classpath>
366 </dependency>
367 <dependency>
368 <groupId>org.onehippo.cms7.hst</groupId>
369 <artifactId>hst-commons</artifactId>
370 <classpath>shared</classpath>
371 </dependency>
372 </dependencies>
373 </container>
374 </configuration>
375 </plugin>
376 </plugins>
377 </build>
378 </profile>
379
380 <profile>
381 <!-- TODO: move to cms7-project -->
382 <id>jrebel</id>
383 <activation>
384 <property>
385 <name>jrebel</name>
386 </property>
387 </activation>
388 <properties>
389 <javaagent>-javaagent:${env.REBEL_HOME}/jrebel.jar</javaagent>
390 </properties>
391 <build>
392 <plugins>
393 <plugin>
394 <groupId>org.zeroturnaround</groupId>
395 <artifactId>jrebel-maven-plugin</artifactId>
396 <version>${jrebel.plugin.version}</version>
397 <executions>
398 <execution>
399 <id>generate-rebel-xml</id>
400 <phase>process-resources</phase>
401 <goals>
402 <goal>generate</goal>
403 </goals>
404 </execution>
405 </executions>
406 </plugin>
407 </plugins>
408 </build>
409 </profile>
410 </profiles>
411 </project>

Properties

Name Value
svn:eol-style native
svn:keywords Id
svn:mime-type text/plain