View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-collab/trunk/portal/jetspeed-mvn-portal-pom.xml
Revision: 20399
Committed: Wed Oct 28 15:30:20 2009 UTC (10 years, 5 months ago) by adouma
Content type: text/plain
File size: 35016 byte(s)
Log Message:
COLLAB-2: adding portals-logging usage

File Contents

# Content
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE
4 file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file
5 to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
6 the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by
7 applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS,
8 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language
9 governing permissions and limitations under the License.
10 -->
11 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
12 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
13
14 <modelVersion>4.0.0</modelVersion>
15 <prerequisites>
16 <maven>2.0.9</maven>
17 </prerequisites>
18
19 <parent>
20 <groupId>org.onehippo.portal.collab</groupId>
21 <artifactId>collab</artifactId>
22 <version>1.02.00-SNAPSHOT</version>
23 </parent>
24
25 <artifactId>jetspeed-mvn-portal-pom</artifactId>
26 <name>Jetspeed-2 Maven Invoker Configuration for Hippo Solution Demo Portal</name>
27 <description>Jetspeed-2 Maven Invoker Configuration for Hippo Solution Demo Portal</description>
28
29 <packaging>pom</packaging>
30
31 <properties>
32 <portal.unpacked.dir>${project.parent.artifactId}-portal-${project.parent.version}</portal.unpacked.dir>
33 </properties>
34
35 <build>
36 <defaultGoal>process-resources</defaultGoal>
37 </build>
38
39 <profiles>
40 <profile>
41 <id>db</id>
42 <build>
43 <plugins>
44 <plugin>
45 <groupId>org.apache.portals.jetspeed-2</groupId>
46 <artifactId>jetspeed-db-maven-plugin</artifactId>
47 <version>${org.apache.portals.jetspeed.version}</version>
48 <configuration>
49 <connection>
50 <username>${org.apache.jetspeed.production.database.user}</username>
51 <password>${org.apache.jetspeed.production.database.password}</password>
52 <url>${org.apache.jetspeed.production.database.url}</url>
53 <driver>${org.apache.jetspeed.production.database.driver}</driver>
54 </connection>
55 </configuration>
56 <executions>
57 <execution>
58 <id>unpack</id>
59 <goals>
60 <goal>init</goal>
61 </goals>
62 <phase>process-resources</phase>
63 <configuration>
64 <unpack>
65 <artifact>org.apache.portals.jetspeed-2:jetspeed-portal-resources:jar</artifact>
66 <resources>
67 <resource>
68 <destination>ddl</destination>
69 <path>ddl</path>
70 <include>${org.apache.jetspeed.production.database.default.name}/</include>
71 </resource>
72 </resources>
73 </unpack>
74 </configuration>
75 </execution>
76 <execution>
77 <id>execute-sql</id>
78 <goals>
79 <goal>init</goal>
80 </goals>
81 <phase>process-resources</phase>
82 <configuration>
83 <sql>
84 <scripts>
85 <script>
86 <path>${project.build.directory}/ddl/${org.apache.jetspeed.production.database.default.name}/drop-schema.sql</path>
87 <ignoreErrors>true</ignoreErrors>
88 </script>
89 <script>
90 <path>${project.build.directory}/ddl/${org.apache.jetspeed.production.database.default.name}/create-schema.sql</path>
91 </script>
92 </scripts>
93 </sql>
94 </configuration>
95 </execution>
96 <execution>
97 <id>seed</id>
98 <goals>
99 <goal>init</goal>
100 </goals>
101 <phase>process-resources</phase>
102 <configuration>
103 <seed>
104 <categories>serializer</categories>
105 <filterPropertiesFileName>
106 ${project.build.directory}/collab-portal-${pom.version}/WEB-INF/conf/spring-filter.properties
107 </filterPropertiesFileName>
108 <applicationRootPath>${project.build.directory}/collab-portal-${pom.version}</applicationRootPath>
109 <files>
110 <file>${basedir}/src/main/sql/j2-seed.xml</file>
111 </files>
112 <initProperties>
113 <org.apache.jetspeed.database.user>${org.apache.jetspeed.production.database.user}</org.apache.jetspeed.database.user>
114 <org.apache.jetspeed.database.password>${org.apache.jetspeed.production.database.password}</org.apache.jetspeed.database.password>
115 <org.apache.jetspeed.database.url>${org.apache.jetspeed.production.database.url}</org.apache.jetspeed.database.url>
116 <org.apache.jetspeed.database.driver>${org.apache.jetspeed.production.database.driver}</org.apache.jetspeed.database.driver>
117 </initProperties>
118 </seed>
119 </configuration>
120 </execution>
121 </executions>
122 <dependencies>
123 <dependency>
124 <groupId>org.apache.portals.jetspeed-2</groupId>
125 <artifactId>jetspeed-portal-resources</artifactId>
126 <version>${org.apache.portals.jetspeed.version}</version>
127 </dependency>
128 <dependency>
129 <groupId>org.apache.portals.jetspeed-2</groupId>
130 <artifactId>jetspeed-db-tools</artifactId>
131 <version>${org.apache.portals.jetspeed.version}</version>
132 </dependency>
133 <dependency>
134 <groupId>${org.apache.jetspeed.production.jdbc.driver.groupId}</groupId>
135 <artifactId>${org.apache.jetspeed.production.jdbc.driver.artifactId}</artifactId>
136 <version>${org.apache.jetspeed.production.jdbc.driver.version}</version>
137 </dependency>
138 </dependencies>
139 </plugin>
140 </plugins>
141 </build>
142 </profile>
143
144 <profile>
145 <id>deploy-portal</id>
146 <build>
147 <plugins>
148 <plugin>
149 <groupId>org.apache.portals.jetspeed-2</groupId>
150 <artifactId>jetspeed-unpack-maven-plugin</artifactId>
151 <version>${org.apache.portals.jetspeed.version}</version>
152 <executions>
153 <execution>
154 <id>unpack-appserver</id>
155 <goals>
156 <goal>unpack</goal>
157 </goals>
158 <phase>generate-resources</phase>
159 <configuration>
160 <unpack>
161 <artifact>org.apache.portals.jetspeed-2:jetspeed-portal-resources:jar</artifact>
162 <resources>
163 <resource>
164 <path>conf</path>
165 <include>tomcat/context.xml</include>
166 </resource>
167 </resources>
168 </unpack>
169 </configuration>
170 </execution>
171 </executions>
172 <dependencies>
173 <dependency>
174 <groupId>org.apache.portals.jetspeed-2</groupId>
175 <artifactId>jetspeed-portal-resources</artifactId>
176 <version>${org.apache.portals.jetspeed.version}</version>
177 </dependency>
178 </dependencies>
179 </plugin>
180 <plugin>
181 <groupId>org.apache.maven.plugins</groupId>
182 <artifactId>maven-resources-plugin</artifactId>
183 <executions>
184 <execution>
185 <id>resources</id>
186 <goals>
187 <goal>resources</goal>
188 </goals>
189 <phase>process-resources</phase>
190 </execution>
191 </executions>
192 </plugin>
193 <plugin>
194 <groupId>org.apache.portals.jetspeed-2</groupId>
195 <artifactId>jetspeed-deploy-maven-plugin</artifactId>
196 <version>${org.apache.portals.jetspeed.version}</version>
197 <executions>
198 <execution>
199 <id>deploy</id>
200 <goals>
201 <goal>deploy</goal>
202 </goals>
203 <phase>process-resources</phase>
204 <configuration>
205 <targetBaseDir>${org.apache.jetspeed.server.home}</targetBaseDir>
206 <portalName>${org.apache.jetspeed.portal.context.name}</portalName>
207 <profile>tomcat${org.apache.jetspeed.catalina.version.major}</profile>
208 <destinations>
209 <conf>conf</conf>
210 <context>conf/Catalina/localhost</context>
211 </destinations>
212 <deployments>
213 <!-- collab portal expanded -->
214 <deployment>
215 <artifact>${pom.groupId}:collab-portal:war</artifact>
216 <expand>true</expand>
217 <targetName>${org.apache.jetspeed.portal.context.name}</targetName>
218 <delete>./${org.apache.jetspeed.portal.context.name}.war</delete>
219 </deployment>
220 <!-- collab portal tomcat context -->
221 <deployment>
222 <file>${project.build.directory}/resources/context.xml</file>
223 <targetName>${org.apache.jetspeed.portal.context.name}.xml</targetName>
224 <destination>context</destination>
225 </deployment>
226 <!-- admin pa -->
227 <deployment>
228 <artifact>org.apache.portals.jetspeed-2:j2-admin:war</artifact>
229 <targetName>j2-admin</targetName>
230 <infuse>true</infuse>
231 <expand>true</expand>
232 <delete>./j2-admin</delete>
233 </deployment>
234 <!-- portals apps -->
235 <deployment>
236 <artifact>org.apache.portals.applications:apa-demo:war</artifact>
237 <targetName>demo</targetName>
238 <infuse>true</infuse>
239 <expand>true</expand>
240 <delete>./demo</delete>
241 </deployment>
242 <deployment>
243 <artifact>org.apache.portals.applications:apa-rss-war:war</artifact>
244 <targetName>rss</targetName>
245 <infuse>true</infuse>
246 <expand>true</expand>
247 <delete>./rss</delete>
248 </deployment>
249 <deployment>
250 <artifact>org.apache.portals.applications:apa-webcontent-war:war</artifact>
251 <targetName>webcontent</targetName>
252 <infuse>true</infuse>
253 <expand>true</expand>
254 <delete>./webcontent</delete>
255 </deployment>
256 <!-- logging -->
257 <deployment>
258 <artifact>org.apache.portals.applications:apa-logging:jar</artifact>
259 <destination>server-lib</destination>
260 </deployment>
261 </deployments>
262 <edits>
263 <!-- logging -->
264 <edit>
265 <targetName>server.xml</targetName>
266 <destination>server-conf</destination>
267 <editorClassName>org.apache.portals.applications.logging.tomcat.ServerXMLConfigurer</editorClassName>
268 </edit>
269 </edits>
270 </configuration>
271 </execution>
272 </executions>
273
274 <dependencies>
275 <!-- collab apps -->
276 <dependency>
277 <groupId>${pom.groupId}</groupId>
278 <artifactId>collab-portal</artifactId>
279 <version>${pom.version}</version>
280 <type>war</type>
281 </dependency>
282 <!-- j2-admin -->
283 <dependency>
284 <groupId>org.apache.portals.jetspeed-2</groupId>
285 <artifactId>j2-admin</artifactId>
286 <version>${org.apache.portals.jetspeed.version}</version>
287 <type>war</type>
288 </dependency>
289 <!-- Portals apps -->
290 <dependency>
291 <groupId>org.apache.portals.applications</groupId>
292 <artifactId>apa-demo</artifactId>
293 <version>${org.apache.portals.applications.apa-demo.version}</version>
294 <type>war</type>
295 </dependency>
296 <dependency>
297 <groupId>org.apache.portals.applications</groupId>
298 <artifactId>apa-rss-war</artifactId>
299 <version>${org.apache.portals.applications.apa-rss.version}</version>
300 <type>war</type>
301 </dependency>
302 <dependency>
303 <groupId>org.apache.portals.applications</groupId>
304 <artifactId>apa-webcontent-war</artifactId>
305 <version>${org.apache.portals.applications.apa-webcontent.version}</version>
306 <type>war</type>
307 </dependency>
308
309 <!-- logging -->
310 <dependency>
311 <groupId>org.apache.portals.applications</groupId>
312 <artifactId>apa-logging</artifactId>
313 <version>${org.apache.portals.applications.apa-logging.version}</version>
314 </dependency>
315
316 <!-- plugin own dependencies -->
317 <dependency>
318 <groupId>org.apache.portals.jetspeed-2</groupId>
319 <artifactId>jetspeed-deploy-tools</artifactId>
320 <version>${org.apache.portals.jetspeed.version}</version>
321 </dependency>
322 </dependencies>
323 </plugin>
324 </plugins>
325 <resources>
326 <resource>
327 <directory>${basedir}/src/conf</directory>
328 <targetPath>../resources</targetPath>
329 <filtering>true</filtering>
330 </resource>
331 <resource>
332 <directory>${project.build.directory}/tomcat</directory>
333 <targetPath>../resources</targetPath>
334 <filtering>true</filtering>
335 </resource>
336 </resources>
337 </build>
338 </profile>
339
340 <profile>
341 <id>deploy-common</id>
342 <build>
343 <plugins>
344 <plugin>
345 <groupId>org.apache.portals.jetspeed-2</groupId>
346 <artifactId>jetspeed-deploy-maven-plugin</artifactId>
347 <version>${org.apache.portals.jetspeed.version}</version>
348 <executions>
349 <execution>
350 <id>deploy</id>
351 <goals>
352 <goal>deploy</goal>
353 </goals>
354 <phase>process-resources</phase>
355 <configuration>
356 <targetBaseDir>${org.apache.jetspeed.server.home}</targetBaseDir>
357 <portalName>${org.apache.jetspeed.portal.context.name}</portalName>
358 <profile>tomcat${org.apache.jetspeed.catalina.version.major}</profile>
359 <deployments>
360 <!-- shared/lib -->
361 <deployment>
362 <artifact>org.apache.portals:portlet-api_2.0_spec:jar</artifact>
363 </deployment>
364 <deployment>
365 <artifact>javax.ccpp:ccpp:jar</artifact>
366 </deployment>
367 <deployment>
368 <artifact>org.apache.portals.jetspeed-2:jetspeed-api:jar</artifact>
369 </deployment>
370 <deployment>
371 <artifact>org.apache.portals.jetspeed-2:jetspeed-commons:jar</artifact>
372 </deployment>
373 <deployment>
374 <artifact>org.apache.portals.pluto:pluto-container-api:jar</artifact>
375 </deployment>
376 <deployment>
377 <artifact>org.apache.portals.pluto:pluto-taglib:jar</artifact>
378 </deployment>
379 <deployment>
380 <artifact>org.apache.portals.bridges:portals-bridges-common:jar</artifact>
381 </deployment>
382 <deployment>
383 <artifact>${org.apache.jetspeed.production.jdbc.driver.groupId}:${org.apache.jetspeed.production.jdbc.driver.artifactId}:jar</artifact>
384 <destination>system</destination>
385 </deployment>
386
387 <!-- atomikos -->
388 <deployment>
389 <artifact>org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar</artifact>
390 <destination>system</destination>
391 </deployment>
392 <deployment>
393 <artifact>com.atomikos:transactions-api:jar</artifact>
394 <destination>system</destination>
395 </deployment>
396 <deployment>
397 <artifact>com.atomikos:transactions-jta:jar</artifact>
398 <destination>system</destination>
399 </deployment>
400 <deployment>
401 <artifact>com.atomikos:transactions:jar</artifact>
402 <destination>system</destination>
403 </deployment>
404 <deployment>
405 <artifact>com.atomikos:atomikos-util:jar</artifact>
406 <destination>system</destination>
407 </deployment>
408
409 <deployment>
410 <file>${basedir}/../etc/patches/hippo-ecm-api-${hippoecm.version}-patched.jar</file>
411 </deployment>
412 <deployment>
413 <artifact>org.hippoecm:hippo-ecm-addon-builtin-common:jar</artifact>
414 </deployment>
415 <deployment>
416 <artifact>org.hippoecm:hippo-ecm-addon-reviewed-action-common:jar</artifact>
417 </deployment>
418
419 <!-- hst -->
420 <deployment>
421 <artifact>javax.jcr:jcr:jar</artifact>
422 </deployment>
423 <deployment>
424 <artifact>org.onehippo.ecm.hst:hst-api:jar</artifact>
425 </deployment>
426 <deployment>
427 <artifact>org.onehippo.ecm.hst:hst-commons:jar</artifact>
428 </deployment>
429 <deployment>
430 <artifact>dom4j:dom4j:jar</artifact>
431 </deployment>
432 <!--
433 <deployment> <artifact>org.onehippo.ecm:hippo-ecm-api:jar</artifact> </deployment> <deployment>
434 <artifact>org.onehippo:hippo-ecm-addon-builtin-common:jar</artifact> </deployment> <deployment>
435 <artifact>org.onehippo:hippo-ecm-addon-reviewed-action-common:jar</artifact> </deployment>
436 -->
437 <deployment>
438 <artifact>javax.jdo:jdo2-api:jar</artifact>
439 </deployment>
440
441 <!-- logging -->
442 <deployment>
443 <artifact>org.apache.portals.applications:apa-logging:jar</artifact>
444 <destination>system</destination>
445 </deployment>
446 </deployments>
447 </configuration>
448 </execution>
449 </executions>
450
451 <dependencies>
452
453 <!-- jetspeed -->
454 <dependency>
455 <groupId>org.apache.portals</groupId>
456 <artifactId>portlet-api_2.0_spec</artifactId>
457 <version>${portals.portlet2-api-spec.version}</version>
458 </dependency>
459 <dependency>
460 <groupId>javax.ccpp</groupId>
461 <artifactId>ccpp</artifactId>
462 <version>${ccpp.version}</version>
463 </dependency>
464 <dependency>
465 <groupId>org.apache.portals.jetspeed-2</groupId>
466 <artifactId>jetspeed-api</artifactId>
467 <version>${org.apache.portals.jetspeed.version}</version>
468 </dependency>
469 <dependency>
470 <groupId>org.apache.portals.jetspeed-2</groupId>
471 <artifactId>jetspeed-commons</artifactId>
472 <version>${org.apache.portals.jetspeed.version}</version>
473 </dependency>
474 <dependency>
475 <groupId>org.apache.portals.pluto</groupId>
476 <artifactId>pluto-container-api</artifactId>
477 <version>${org.apache.pluto.version}</version>
478 </dependency>
479 <dependency>
480 <groupId>org.apache.portals.pluto</groupId>
481 <artifactId>pluto-taglib</artifactId>
482 <version>${org.apache.pluto.version}</version>
483 </dependency>
484 <dependency>
485 <groupId>org.apache.portals.bridges</groupId>
486 <artifactId>portals-bridges-common</artifactId>
487 <version>${org.apache.portals.bridges.common.version}</version>
488 </dependency>
489 <dependency>
490 <groupId>${org.apache.jetspeed.production.jdbc.driver.groupId}</groupId>
491 <artifactId>${org.apache.jetspeed.production.jdbc.driver.artifactId}</artifactId>
492 <version>${org.apache.jetspeed.production.jdbc.driver.version}</version>
493 </dependency>
494 <!--
495 <dependency> <groupId>xalan</groupId> <artifactId>xalan</artifactId> <version>2.4.1</version>
496 </dependency> <dependency> <groupId>xerces</groupId> <artifactId>xercesImpl</artifactId>
497 <version>2.3.0</version> </dependency> <dependency> <groupId>xml-apis</groupId>
498 <artifactId>xml-apis</artifactId> <version>2.0.2</version> </dependency>
499 -->
500
501 <!-- logging -->
502 <dependency>
503 <groupId>org.apache.portals.applications</groupId>
504 <artifactId>apa-logging</artifactId>
505 <version>${org.apache.portals.applications.apa-logging.version}</version>
506 </dependency>
507
508 <!-- atomikos -->
509
510 <dependency>
511 <groupId>org.apache.geronimo.specs</groupId>
512 <artifactId>geronimo-jta_1.1_spec</artifactId>
513 <version>${jta.version}</version>
514 </dependency>
515 <dependency>
516 <groupId>com.atomikos</groupId>
517 <artifactId>transactions-api</artifactId>
518 <version>${atomikos.version}</version>
519 </dependency>
520 <dependency>
521 <groupId>com.atomikos</groupId>
522 <artifactId>transactions-jta</artifactId>
523 <version>${atomikos.version}</version>
524 </dependency>
525 <dependency>
526 <groupId>com.atomikos</groupId>
527 <artifactId>transactions</artifactId>
528 <version>${atomikos.version}</version>
529 </dependency>
530 <dependency>
531 <groupId>com.atomikos</groupId>
532 <artifactId>atomikos-util</artifactId>
533 <version>${atomikos.version}</version>
534 </dependency>
535
536 <dependency>
537 <groupId>org.hippoecm</groupId>
538 <artifactId>hippo-ecm-addon-builtin-common</artifactId>
539 <version>${hippoecm.version}</version>
540 </dependency>
541 <dependency>
542 <groupId>org.hippoecm</groupId>
543 <artifactId>hippo-ecm-addon-reviewed-action-common</artifactId>
544 <version>${hippoecm.version}</version>
545 </dependency>
546
547 <!-- hst -->
548 <dependency>
549 <groupId>javax.jcr</groupId>
550 <artifactId>jcr</artifactId>
551 <version>${javax.jcr.version}</version>
552 </dependency>
553 <dependency>
554 <groupId>org.onehippo.ecm.hst</groupId>
555 <artifactId>hst-api</artifactId>
556 <version>${hst.version}</version>
557 </dependency>
558 <dependency>
559 <groupId>org.onehippo.ecm.hst</groupId>
560 <artifactId>hst-commons</artifactId>
561 <version>${hst.version}</version>
562 </dependency>
563 <!--
564 <dependency> <groupId>org.hippoecm.ecm</groupId> <artifactId>hippo-ecm-api</artifactId>
565 <version>${hippoecm.version}</version> </dependency> <dependency> <groupId>org.onehippo</groupId>
566 <artifactId>hippo-ecm-addon-builtin-common</artifactId> <version>${hippoecm.version}</version>
567 </dependency> <dependency> <groupId>org.onehippo</groupId>
568 <artifactId>hippo-ecm-addon-reviewed-action-common</artifactId> <version>${hippoecm.version}</version>
569 </dependency>
570 -->
571 <!-- hst required shared dom4j: should preferably *not* be shared: needs resolving -->
572 <dependency>
573 <groupId>dom4j</groupId>
574 <artifactId>dom4j</artifactId>
575 <version>${dom4j.version}</version>
576 </dependency>
577 <dependency>
578 <groupId>javax.jdo</groupId>
579 <artifactId>jdo2-api</artifactId>
580 <version>${jdo.version}</version>
581 </dependency>
582
583 <!-- plugin own dependencies -->
584 <dependency>
585 <groupId>org.apache.portals.jetspeed-2</groupId>
586 <artifactId>jetspeed-deploy-tools</artifactId>
587 <version>${org.apache.portals.jetspeed.version}</version>
588 </dependency>
589 </dependencies>
590 </plugin>
591 </plugins>
592 </build>
593 </profile>
594
595 <profile>
596 <id>seed</id>
597 <build>
598 <plugins>
599
600 <plugin>
601 <groupId>org.apache.portals.jetspeed-2</groupId>
602 <artifactId>jetspeed-db-maven-plugin</artifactId>
603 <version>${org.apache.portals.jetspeed.version}</version>
604 <executions>
605 <execution>
606 <id>seed</id>
607 <goals>
608 <goal>init</goal>
609 </goals>
610 <phase>process-resources</phase>
611 <configuration>
612 <connection>
613 <username>${org.apache.jetspeed.production.database.user}</username>
614 <password>${org.apache.jetspeed.production.database.password}</password>
615 <url>${org.apache.jetspeed.production.database.url}</url>
616 <driver>${org.apache.jetspeed.production.database.driver}</driver>
617 </connection>
618 <unpack>
619 <artifact>org.apache.portals.jetspeed-2:jetspeed-portal-resources:jar</artifact>
620 <resources>
621 <resource>
622 <path>seed</path>
623 <destination>db/seed</destination>
624 </resource>
625 </resources>
626 </unpack>
627 <seed>
628 <categories>serializer</categories>
629 <filterPropertiesFileName>
630 ${project.build.directory}/${portal.unpacked.dir}/WEB-INF/conf/spring-filter.properties
631 </filterPropertiesFileName>
632 <applicationRootPath>
633 ${project.build.directory}/${portal.unpacked.dir}
634 </applicationRootPath>
635 <files>
636 <file>${project.build.directory}/db/seed/${seed.file}</file>
637 </files>
638 <initProperties>
639 <org.apache.jetspeed.database.user>${org.apache.jetspeed.production.database.user}</org.apache.jetspeed.database.user>
640 <org.apache.jetspeed.database.password>${org.apache.jetspeed.production.database.password}</org.apache.jetspeed.database.password>
641 <org.apache.jetspeed.database.url>${org.apache.jetspeed.production.database.url}</org.apache.jetspeed.database.url>
642 <org.apache.jetspeed.database.driver>${org.apache.jetspeed.production.database.driver}</org.apache.jetspeed.database.driver>
643 </initProperties>
644 </seed>
645 </configuration>
646 </execution>
647 </executions>
648 <dependencies>
649 <dependency>
650 <groupId>org.apache.portals.jetspeed-2</groupId>
651 <artifactId>jetspeed-portal-resources</artifactId>
652 <version>${org.apache.portals.jetspeed.version}</version>
653 </dependency>
654 <dependency>
655 <groupId>org.apache.portals.jetspeed-2</groupId>
656 <artifactId>jetspeed-db-tools</artifactId>
657 <version>${org.apache.portals.jetspeed.version}</version>
658 </dependency>
659 <dependency>
660 <groupId>${org.apache.jetspeed.production.jdbc.driver.groupId}</groupId>
661 <artifactId>${org.apache.jetspeed.production.jdbc.driver.artifactId}</artifactId>
662 <version>${org.apache.jetspeed.production.jdbc.driver.version}</version>
663 </dependency>
664 </dependencies>
665 </plugin>
666
667 </plugins>
668 </build>
669 </profile>
670
671 <profile>
672 <id>seed-dbpsml</id>
673 <build>
674 <plugins>
675 <plugin>
676 <groupId>org.apache.portals.jetspeed-2</groupId>
677 <artifactId>jetspeed-db-maven-plugin</artifactId>
678 <version>${org.apache.portals.jetspeed.version}</version>
679 <executions>
680 <execution>
681 <id>seed-dbpsml</id>
682 <goals>
683 <goal>init</goal>
684 </goals>
685 <phase>process-resources</phase>
686 <configuration>
687 <psml>
688 <categories>pageSerializer</categories>
689 <filterPropertiesFileName>
690 ${project.build.directory}/${portal.unpacked.dir}/WEB-INF/conf/spring-filter.properties
691 </filterPropertiesFileName>
692 <applicationRootPath>
693 ${project.build.directory}/${portal.unpacked.dir}
694 </applicationRootPath>
695 <initProperties>
696 <org.apache.jetspeed.database.user>${org.apache.jetspeed.production.database.user}</org.apache.jetspeed.database.user>
697 <org.apache.jetspeed.database.password>${org.apache.jetspeed.production.database.password}</org.apache.jetspeed.database.password>
698 <org.apache.jetspeed.database.url>${org.apache.jetspeed.production.database.url}</org.apache.jetspeed.database.url>
699 <org.apache.jetspeed.database.driver>${org.apache.jetspeed.production.database.driver}</org.apache.jetspeed.database.driver>
700 </initProperties>
701 </psml>
702 </configuration>
703 </execution>
704 </executions>
705 <dependencies>
706 <dependency>
707 <groupId>org.apache.portals.jetspeed-2</groupId>
708 <artifactId>jetspeed-portal-resources</artifactId>
709 <version>${org.apache.portals.jetspeed.version}</version>
710 </dependency>
711 <dependency>
712 <groupId>org.apache.portals.jetspeed-2</groupId>
713 <artifactId>jetspeed-db-tools</artifactId>
714 <version>${org.apache.portals.jetspeed.version}</version>
715 </dependency>
716 <dependency>
717 <groupId>${org.apache.jetspeed.production.jdbc.driver.groupId}</groupId>
718 <artifactId>${org.apache.jetspeed.production.jdbc.driver.artifactId}</artifactId>
719 <version>${org.apache.jetspeed.production.jdbc.driver.version}</version>
720 </dependency>
721 </dependencies>
722 </plugin>
723 </plugins>
724 </build>
725 </profile>
726
727 <profile>
728 <id>deploy-dbpsml</id>
729 <build>
730 <plugins>
731 <plugin>
732 <groupId>org.apache.portals.jetspeed-2</groupId>
733 <artifactId>jetspeed-deploy-maven-plugin</artifactId>
734 <version>${org.apache.portals.jetspeed.version}</version>
735 <executions>
736 <execution>
737 <id>deploy</id>
738 <goals>
739 <goal>deploy</goal>
740 </goals>
741 <phase>process-resources</phase>
742 <configuration>
743 <targetBaseDir>${org.apache.jetspeed.server.home}</targetBaseDir>
744 <portalName>${org.apache.jetspeed.portal.context.name}</portalName>
745 <profile>tomcat${org.apache.jetspeed.catalina.version.major}</profile>
746 <destinations>
747 <conf>webapps/${org.apache.jetspeed.portal.context.name}/WEB-INF/conf</conf>
748 </destinations>
749 <deployments>
750 <deployment>
751 <file>${basedir}/src/etc/dbpsml/spring-filter-key.properties</file>
752 <destination>conf</destination>
753 </deployment>
754 </deployments>
755 </configuration>
756 </execution>
757 </executions>
758 <dependencies>
759 <!-- plugin own dependencies -->
760 <dependency>
761 <groupId>org.apache.portals.jetspeed-2</groupId>
762 <artifactId>jetspeed-deploy-tools</artifactId>
763 <version>${org.apache.portals.jetspeed.version}</version>
764 </dependency>
765 </dependencies>
766 </plugin>
767 </plugins>
768 </build>
769 </profile>
770
771 </profiles>
772
773 </project>

Properties

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