View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-jcr/console/trunk/pom.xml
Revision: 33617
Committed: Tue Mar 20 16:58:56 2012 UTC (8 years, 3 months ago) by adouma
Content type: text/plain
File size: 22300 byte(s)
Error occurred while calculating annotation data.
Log Message:
JCR-52: Provide a JCR Repository Service which allow 'binding' hippo-jcr-console to a separate JCR Repository in another web application
- change of plan:
Instead of using a shared classloader JCR Repository Service, a cross-context Repository instance lookup will be used based on the standard JackrabitRepositoryServlet and ContextRepositoryServlet.
Extended versions of these servlets will be used to support system property configurations for setting repository home, location and (server provider application) context path.
Furthermore, as no shared classloader module is needed anymore, the jr-repository-servlet module will be merged into the jcr-repository-service and thereafter dropped.
- also: bump to latest Jackrabbit 2.4

File Contents

# Content
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright 2011 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" 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 <parent>
20 <groupId>org.onehippo.jcr</groupId>
21 <artifactId>hippo-jcr-project</artifactId>
22 <version>1-SNAPSHOT</version>
23 </parent>
24
25 <groupId>org.onehippo.jcr.console</groupId>
26 <artifactId>hippo-jcr-console</artifactId>
27 <version>1.01.00-SNAPSHOT</version>
28
29 <name>Hippo JCR Console</name>
30 <description>Hippo JCR Console</description>
31 <packaging>pom</packaging>
32
33 <url>http://www.onehippo.org/jcr/console</url>
34
35 <properties>
36
37 <!-- Test dependencies -->
38 <easymock.version>3.0</easymock.version>
39 <selenium.version>0.9.2</selenium.version>
40 <atomikos.version>3.1.4</atomikos.version>
41 <htmlunit.version>2.7</htmlunit.version>
42 <junit.version>4.4</junit.version>
43
44 <!-- Project Dependencies -->
45 <hippo-jcr-repository-service.version>1.01.00-SNAPSHOT</hippo-jcr-repository-service.version>
46 <commons-io.version>1.4</commons-io.version>
47 <commons-collections.version>3.1</commons-collections.version>
48 <commons-httpclient.version>3.0</commons-httpclient.version>
49 <commons-lang.version>2.6</commons-lang.version>
50 <commons-cli.version>1.0</commons-cli.version>
51 <commons-beanutils.version>1.7.0</commons-beanutils.version>
52 <commons-configuration.version>1.7</commons-configuration.version>
53 <commons-proxy.version>1.0</commons-proxy.version>
54 <concurrent.version>1.3.4</concurrent.version>
55
56 <xerces.version>2.8.1</xerces.version>
57 <cglib.version>2.1_3</cglib.version>
58 <lucene.version>2.2.0</lucene.version>
59 <wicket.version>1.4.17</wicket.version>
60
61 <joda-time.version>1.6</joda-time.version>
62 <json-lib.version>2.2.2</json-lib.version>
63 <jackrabbit.version>2.4.0</jackrabbit.version>
64 <xerces.xercesImpl.version>2.8.1</xerces.xercesImpl.version>
65
66 <jstl.version>1.1.2</jstl.version>
67 <taglibs.version>1.1.2</taglibs.version>
68
69 <spring.version>3.0.5.RELEASE</spring.version>
70 <spring-security.version>3.0.5.RELEASE</spring-security.version>
71
72 <!-- if you want a remote debugging on a different a address
73 override on command line with -Dcargo.debug.addres=xxxx -->
74 <cargo.debug.address>8000</cargo.debug.address>
75 <!-- if you want to start remote debugging session suspended
76 override on command line with -Dcargo.debug.suspend=y -->
77 <cargo.debug.suspend>n</cargo.debug.suspend>
78 <!-- Cargo Tomcat container version used for Tomcat tarball distribution url -->
79 <cargo.tomcat.major.version>6</cargo.tomcat.major.version>
80 <!-- Cargo Tomcat full version used for Tomcat tarball distribution url -->
81 <cargo.tomcat.full.version>6.0-latest</cargo.tomcat.full.version>
82 <!-- Cargo Tomcat distribution prefix URL used for Tomcat tarball distribution url -->
83 <cargo.tomcat.distribution.url.prefix>http://apache.hippo.nl/tomcat/</cargo.tomcat.distribution.url.prefix>
84 <!-- Cargo Tomcat distribution archive path used for Tomcat tarball distribution url -->
85 <cargo.tomcat.distribution.url.archive>tomcat-${cargo.tomcat.major.version}/v${cargo.tomcat.full.version}/bin/apache-tomcat-${cargo.tomcat.full.version}</cargo.tomcat.distribution.url.archive>
86 <!-- Cargo Tomcat distribution url postfix used for Tomcat tarball distribution url -->
87 <cargo.tomcat.distribution.url.postfix>.tar.gz</cargo.tomcat.distribution.url.postfix>
88 <!-- Cargo Tomcat full distribution url -->
89 <cargo.tomcat.distribution.url>${cargo.tomcat.distribution.url.prefix}${cargo.tomcat.distribution.url.archive}${cargo.tomcat.distribution.url.postfix}</cargo.tomcat.distribution.url>
90 <!-- Extra JVM arguments to pass to Cargo -->
91 <cargo.jvm.args />
92
93 <!-- Force maven-filesync-plugin rewrite the Eclipse FileSync plugin configuration with
94 $mvn filesync:generate -Dmaven.filesync.override=true -->
95 <maven.filesync.override>false</maven.filesync.override>
96
97 <!-- Maven plugin versions -->
98 <maven.plugin.cargo.version>1.1.1</maven.plugin.cargo.version>
99 <maven.plugin.filesync.version>1.0.0</maven.plugin.filesync.version>
100
101 </properties>
102
103 <!--
104 Software configuration management (scm): where to find and how to get acces to the source repository
105 This is used by normal plugins, but also to autogenerate documentation in .../target/site/source-repository.html
106 -->
107 <scm>
108 <connection>scm:svn:http://svn.onehippo.org/repos/hippo/hippo-jcr/console/trunk</connection>
109 <developerConnection>scm:svn:https://svn.onehippo.org/repos/hippo-jcr/console/trunk</developerConnection>
110 <url>http://svn.onehippo.org/repos/hippo/hippo-jcr/console/trunk</url>
111 </scm>
112
113 <issueManagement>
114 <system>Jira</system>
115 <url>http://issues.onehippo.org/browse/JCR</url>
116 </issueManagement>
117
118 <inceptionYear>2011</inceptionYear>
119
120 <repositories>
121 <repository>
122 <id>hippo-maven2-snapshots</id>
123 <name>Hippo Maven 2</name>
124 <url>http://maven.onehippo.com/maven2-snapshots/</url>
125 <snapshots>
126 <enabled>true</enabled>
127 </snapshots>
128 </repository>
129 <repository>
130 <id>hippo</id>
131 <name>Hippo Maven 2</name>
132 <url>http://maven.onehippo.com/maven2/</url>
133 <snapshots>
134 <enabled>false</enabled>
135 </snapshots>
136 <releases>
137 <updatePolicy>never</updatePolicy>
138 </releases>
139 </repository>
140 </repositories>
141
142 <build>
143 <pluginManagement>
144 <plugins>
145 <plugin>
146 <groupId>com.googlecode.mavenfilesync</groupId>
147 <artifactId>maven-filesync-plugin</artifactId>
148 <version>${maven.plugin.filesync.version}</version>
149 <configuration>
150 <override>${maven.filesync.override}</override>
151 </configuration>
152 <executions>
153 <execution>
154 <goals>
155 <goal>generate</goal>
156 </goals>
157 </execution>
158 </executions>
159 </plugin>
160 <plugin>
161 <groupId>org.codehaus.cargo</groupId>
162 <artifactId>cargo-maven2-plugin</artifactId>
163 <version>${maven.plugin.cargo.version}</version>
164 <configuration>
165 <configuration>
166 <properties>
167 <cargo.remote.username>admin</cargo.remote.username>
168 <cargo.remote.password />
169 </properties>
170 </configuration>
171 <container>
172 <containerId>tomcat${cargo.tomcat.major.version}x</containerId>
173 </container>
174 </configuration>
175 </plugin>
176 </plugins>
177 </pluginManagement>
178 </build>
179
180 <dependencyManagement>
181 <dependencies>
182
183 <dependency>
184 <groupId>org.onehippo.jcr</groupId>
185 <artifactId>hippo-jcr-repository-service</artifactId>
186 <version>${hippo-jcr-repository-service.version}</version>
187 </dependency>
188
189 <dependency>
190 <groupId>org.onehippo.jcr.console</groupId>
191 <artifactId>hippo-jcr-console-api</artifactId>
192 <version>${project.version}</version>
193 </dependency>
194
195 <dependency>
196 <groupId>org.onehippo.jcr.console</groupId>
197 <artifactId>hippo-jcr-console-engine</artifactId>
198 <version>${project.version}</version>
199 </dependency>
200
201 <dependency>
202 <groupId>org.onehippo.jcr.console</groupId>
203 <artifactId>hippo-jcr-console-plugins</artifactId>
204 <version>${project.version}</version>
205 </dependency>
206
207 <dependency>
208 <groupId>org.onehippo.jcr.console</groupId>
209 <artifactId>hippo-jcr-console-skin</artifactId>
210 <version>${project.version}</version>
211 </dependency>
212
213 <dependency>
214 <groupId>org.onehippo.jcr.console</groupId>
215 <artifactId>hippo-jcr-console-war</artifactId>
216 <version>${project.version}</version>
217 <type>war</type>
218 </dependency>
219
220 <dependency>
221 <groupId>org.onehippo.jcr.console</groupId>
222 <artifactId>hippo-jr-repository</artifactId>
223 <version>${project.version}</version>
224 <type>war</type>
225 </dependency>
226
227 <dependency>
228 <groupId>org.apache.wicket</groupId>
229 <artifactId>wicket</artifactId>
230 <version>1.4.17-WICKET-3927_2</version>
231 </dependency>
232 <dependency>
233 <groupId>org.apache.wicket</groupId>
234 <artifactId>wicket-extensions</artifactId>
235 <version>${wicket.version}</version>
236 </dependency>
237 <dependency>
238 <groupId>org.apache.wicket</groupId>
239 <artifactId>wicket-datetime</artifactId>
240 <version>${wicket.version}</version>
241 </dependency>
242 <dependency>
243 <groupId>org.onehippo.yui</groupId>
244 <artifactId>yui-2.xx-sources</artifactId>
245 <version>1.01.10</version>
246 </dependency>
247 <dependency>
248 <groupId>net.sourceforge.htmlunit</groupId>
249 <artifactId>htmlunit</artifactId>
250 <version>${htmlunit.version}</version>
251 </dependency>
252 <dependency>
253 <groupId>concurrent</groupId>
254 <artifactId>concurrent</artifactId>
255 <version>${concurrent.version}</version>
256 </dependency>
257 <dependency>
258 <groupId>commons-collections</groupId>
259 <artifactId>commons-collections</artifactId>
260 <version>${commons-collections.version}</version>
261 </dependency>
262 <dependency>
263 <groupId>commons-cli</groupId>
264 <artifactId>commons-cli</artifactId>
265 <version>${commons-cli.version}</version>
266 </dependency>
267 <dependency>
268 <groupId>commons-httpclient</groupId>
269 <artifactId>commons-httpclient</artifactId>
270 <version>${commons-httpclient.version}</version>
271 </dependency>
272 <dependency>
273 <groupId>commons-beanutils</groupId>
274 <artifactId>commons-beanutils</artifactId>
275 <version>${commons-beanutils.version}</version>
276 </dependency>
277 <dependency>
278 <groupId>commons-io</groupId>
279 <artifactId>commons-io</artifactId>
280 <version>${commons-io.version}</version>
281 </dependency>
282 <dependency>
283 <groupId>commons-configuration</groupId>
284 <artifactId>commons-configuration</artifactId>
285 <version>${commons-configuration.version}</version>
286 </dependency>
287 <dependency>
288 <groupId>org.apache.commons</groupId>
289 <artifactId>commons-proxy</artifactId>
290 <version>${commons-proxy.version}</version>
291 </dependency>
292 <dependency>
293 <groupId>xerces</groupId>
294 <artifactId>xercesImpl</artifactId>
295 <version>${xerces.version}</version>
296 </dependency>
297 <dependency>
298 <groupId>cglib</groupId>
299 <artifactId>cglib</artifactId>
300 <version>${cglib.version}</version>
301 </dependency>
302 <dependency>
303 <groupId>junit</groupId>
304 <artifactId>junit</artifactId>
305 <version>${junit.version}</version>
306 </dependency>
307 <dependency>
308 <groupId>commons-lang</groupId>
309 <artifactId>commons-lang</artifactId>
310 <version>${commons-lang.version}</version>
311 </dependency>
312 <dependency>
313 <groupId>org.easymock</groupId>
314 <artifactId>easymock</artifactId>
315 <version>${easymock.version}</version>
316 </dependency>
317
318 <dependency>
319 <groupId>org.apache.jackrabbit</groupId>
320 <artifactId>jackrabbit-api</artifactId>
321 <version>${jackrabbit.version}</version>
322 </dependency>
323 <dependency>
324 <groupId>org.apache.jackrabbit</groupId>
325 <artifactId>jackrabbit-jcr-commons</artifactId>
326 <version>${jackrabbit.version}</version>
327 </dependency>
328 <dependency>
329 <groupId>org.apache.jackrabbit</groupId>
330 <artifactId>jackrabbit-core</artifactId>
331 <version>${jackrabbit.version}</version>
332 </dependency>
333 <dependency>
334 <groupId>org.apache.jackrabbit</groupId>
335 <artifactId>jackrabbit-jcr-servlet</artifactId>
336 <version>${jackrabbit.version}</version>
337 </dependency>
338
339 <dependency>
340 <groupId>javax.servlet</groupId>
341 <artifactId>jstl</artifactId>
342 <version>${jstl.version}</version>
343 </dependency>
344
345 <dependency>
346 <groupId>taglibs</groupId>
347 <artifactId>standard</artifactId>
348 <version>${taglibs.version}</version>
349 </dependency>
350
351 <!-- Spring Framework -->
352
353 <dependency>
354 <groupId>org.springframework</groupId>
355 <artifactId>spring-core</artifactId>
356 <version>${spring.version}</version>
357 </dependency>
358
359 <dependency>
360 <groupId>org.springframework</groupId>
361 <artifactId>spring-beans</artifactId>
362 <version>${spring.version}</version>
363 </dependency>
364
365 <dependency>
366 <groupId>org.springframework</groupId>
367 <artifactId>spring-context</artifactId>
368 <version>${spring.version}</version>
369 </dependency>
370
371 <dependency>
372 <groupId>org.springframework</groupId>
373 <artifactId>spring-context-support</artifactId>
374 <version>${spring.version}</version>
375 </dependency>
376
377 <dependency>
378 <groupId>org.springframework</groupId>
379 <artifactId>spring-web</artifactId>
380 <version>${spring.version}</version>
381 </dependency>
382
383 <dependency>
384 <groupId>org.springframework</groupId>
385 <artifactId>spring-aop</artifactId>
386 <version>${spring.version}</version>
387 </dependency>
388
389 <dependency>
390 <groupId>org.springframework</groupId>
391 <artifactId>spring-webmvc</artifactId>
392 <version>${spring.version}</version>
393 </dependency>
394
395 <!-- Spring Security -->
396
397 <dependency>
398 <groupId>org.springframework.security</groupId>
399 <artifactId>spring-security-core</artifactId>
400 <version>${spring-security.version}</version>
401 </dependency>
402
403 <dependency>
404 <groupId>org.springframework.security</groupId>
405 <artifactId>spring-security-web</artifactId>
406 <version>${spring-security.version}</version>
407 </dependency>
408
409 <dependency>
410 <groupId>org.springframework.security</groupId>
411 <artifactId>spring-security-config</artifactId>
412 <version>${spring-security.version}</version>
413 </dependency>
414
415 <dependency>
416 <groupId>org.springframework.security</groupId>
417 <artifactId>spring-security-taglibs</artifactId>
418 <version>${spring-security.version}</version>
419 <exclusions>
420 <exclusion>
421 <groupId>org.springframework</groupId>
422 <artifactId>spring-jdbc</artifactId>
423 </exclusion>
424 </exclusions>
425 </dependency>
426
427 <!-- Test dependencies -->
428
429 <dependency>
430 <groupId>org.easymock</groupId>
431 <artifactId>easymockclassextension</artifactId>
432 <version>${easymock.version}</version>
433 <scope>test</scope>
434 </dependency>
435
436 <dependency>
437 <groupId>org.springframework</groupId>
438 <artifactId>spring-test</artifactId>
439 <version>${spring.version}</version>
440 <scope>test</scope>
441 </dependency>
442
443 </dependencies>
444 </dependencyManagement>
445
446 <profiles>
447
448 <profile>
449 <id>default</id>
450 <activation>
451 <activeByDefault>true</activeByDefault>
452 <property>
453 <name>jrebel</name>
454 </property>
455 </activation>
456 <modules>
457 <module>api</module>
458 <module>engine</module>
459 <module>plugins</module>
460 <module>skin</module>
461 <module>war</module>
462 <module>jr-repository</module>
463 </modules>
464 </profile>
465
466 <profile>
467 <id>cargo.run</id>
468 <properties>
469 <repository.home>${project.build.directory}/storage</repository.home>
470 <cargo.debug.address>8001</cargo.debug.address>
471 </properties>
472 <dependencies>
473 <dependency>
474 <groupId>log4j</groupId>
475 <artifactId>log4j</artifactId>
476 <scope>provided</scope>
477 </dependency>
478 <dependency>
479 <groupId>org.slf4j</groupId>
480 <artifactId>slf4j-log4j12</artifactId>
481 <scope>provided</scope>
482 </dependency>
483 <dependency>
484 <groupId>org.slf4j</groupId>
485 <artifactId>jcl-over-slf4j</artifactId>
486 <scope>provided</scope>
487 </dependency>
488 </dependencies>
489 <build>
490 <defaultGoal>validate</defaultGoal>
491 <plugins>
492 <plugin>
493 <groupId>org.codehaus.cargo</groupId>
494 <artifactId>cargo-maven2-plugin</artifactId>
495 <executions>
496 <execution>
497 <id>cargo-run</id>
498 <phase>validate</phase>
499 <goals>
500 <goal>run</goal>
501 </goals>
502 </execution>
503 </executions>
504 <configuration>
505 <wait>true</wait>
506 <configuration>
507 <home>${project.build.directory}/tomcat${cargo.tomcat.major.version}x</home>
508 <properties>
509 <cargo.jvmargs>
510 <![CDATA[-Xdebug -Xrunjdwp:transport=dt_socket,address=${cargo.debug.address},server=y,suspend=${cargo.debug.suspend} -noverify ${javaagent} ${cargo.jvm.args}]]>
511 </cargo.jvmargs>
512 <catalina.servlet.uriencoding>UTF-8</catalina.servlet.uriencoding>
513 </properties>
514 <deployables>
515 <deployable>
516 <type>war</type>
517 <properties>
518 <context>/repository</context>
519 </properties>
520 <location>${project.basedir}/jr-repository/target/hippo-jr-repository.war</location>
521 </deployable>
522 <deployable>
523 <type>war</type>
524 <properties>
525 <context>/console</context>
526 </properties>
527 <location>${project.basedir}/war/target/hippo-jcr-console.war</location>
528 </deployable>
529 </deployables>
530 </configuration>
531 <container>
532 <systemProperties>
533 <log4j.configuration>file:${project.basedir}/conf/log4j.xml</log4j.configuration>
534 <rebel.log4j-plugin>true</rebel.log4j-plugin>
535 <repository.home>${repository.home}</repository.home>
536 <repository.config>${repository.config}</repository.config>
537 <repository.context.path>${repository.context.path}</repository.context.path>
538 </systemProperties>
539 <zipUrlInstaller>
540 <downloadDir>${settings.localRepository}/org/codehaus/cargo/cargo-container-archives</downloadDir>
541 <url>${cargo.tomcat.distribution.url}</url>
542 </zipUrlInstaller>
543 <timeout>600000</timeout>
544 <dependencies>
545 <dependency>
546 <groupId>javax.jcr</groupId>
547 <artifactId>jcr</artifactId>
548 <classpath>extra</classpath>
549 </dependency>
550 <dependency>
551 <groupId>log4j</groupId>
552 <artifactId>log4j</artifactId>
553 <classpath>shared</classpath>
554 </dependency>
555 <dependency>
556 <groupId>org.slf4j</groupId>
557 <artifactId>slf4j-api</artifactId>
558 <classpath>shared</classpath>
559 </dependency>
560 <dependency>
561 <groupId>org.slf4j</groupId>
562 <artifactId>jcl-over-slf4j</artifactId>
563 <classpath>shared</classpath>
564 </dependency>
565 <dependency>
566 <groupId>org.slf4j</groupId>
567 <artifactId>slf4j-log4j12</artifactId>
568 <classpath>shared</classpath>
569 </dependency>
570 </dependencies>
571 </container>
572 </configuration>
573 </plugin>
574 </plugins>
575 </build>
576 </profile>
577
578 <profile>
579 <id>dist</id>
580 <dependencies>
581 <dependency>
582 <groupId>log4j</groupId>
583 <artifactId>log4j</artifactId>
584 <scope>provided</scope>
585 </dependency>
586 <dependency>
587 <groupId>org.slf4j</groupId>
588 <artifactId>slf4j-log4j12</artifactId>
589 <scope>provided</scope>
590 </dependency>
591 <dependency>
592 <groupId>org.slf4j</groupId>
593 <artifactId>jcl-over-slf4j</artifactId>
594 <scope>provided</scope>
595 </dependency>
596 </dependencies>
597 <build>
598 <defaultGoal>validate</defaultGoal>
599 <plugins>
600 <plugin>
601 <artifactId>maven-assembly-plugin</artifactId>
602 <executions>
603 <execution>
604 <id>distro-assembly</id>
605 <phase>validate</phase>
606 <goals>
607 <goal>single</goal>
608 </goals>
609 <configuration>
610 <descriptors>
611 <descriptor>${project.basedir}/src/main/assembly/distribution.xml</descriptor>
612 </descriptors>
613 </configuration>
614 </execution>
615 </executions>
616 </plugin>
617 </plugins>
618 </build>
619 </profile>
620
621 </profiles>
622 </project>

Properties

Name Value
svn:eol-style native
svn:keywords Id
svn:mergeinfo /hippo-cms7/cms/branches/hippo-cms-2.18.xx/pom.xml:25589-26171,26224,26239,26256,26452,26504,26526,26573,26778,26782,26913 /hippo-ecm/branches/Branch-HREPTWO-v2_03_xx/pom.xml:17183-17186,17202,17206,17211-17212 /hippo-ecm/branches/Branch-HREPTWO-v2_09_xx/pom.xml:20255-20460,21500,21505,21641,21766 /hippo-ecm/branches/Branch-HREPTWO-v2_10_xx/pom.xml:21204 /hippo-ecm/branches/Branch-HREPTWO-v2_12_xx/pom.xml:21923,22087,22093,22338,22547,22549,22639,22823,22830,22849,22851,23078-23079,23288-23289,23293,23416,23452,23462,23490,23610,23680,23849 /hippo-ecm/branches/Branch-HREPTWO-v2_16_xx/pom.xml:23651,23754,23779,23840,23842,24124,24166,24637 /hippo-ecm/branches/Branch-ONS-March2010/pom.xml:22251-22336 /hippo-ecm/branches/jr2/pom.xml:23536-23616 /hippo-ecm/branches/wicket_upgrade_to_1_4/pom.xml:20604-20690
svn:mime-type text/plain