View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-collab/trunk/cms/jetspeed-mvn-cms-pom.xml
Revision: 21792
Committed: Tue Feb 23 02:25:10 2010 UTC (11 years, 11 months ago) by rwatler
Content type: text/plain
File size: 7754 byte(s)
Log Message:
COLLAB-69: upgrade xerces for Jetspeed OpenID support

File Contents

# Content
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Licensed to the Apache Software Foundation (ASF) under one
4 or more contributor license agreements. See the NOTICE file
5 distributed with this work for additional information
6 regarding copyright ownership. The ASF licenses this file
7 to you under the Apache License, Version 2.0 (the
8 "License"); you may not use this file except in compliance
9 with the License. You may obtain a copy of the License at
10
11 http://www.apache.org/licenses/LICENSE-2.0
12
13 Unless required by applicable law or agreed to in writing,
14 software distributed under the License is distributed on an
15 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 KIND, either express or implied. See the License for the
17 specific language governing permissions and limitations
18 under the License.
19 -->
20 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
22
23 <modelVersion>4.0.0</modelVersion>
24 <prerequisites>
25 <maven>2.0.9</maven>
26 </prerequisites>
27
28 <parent>
29 <groupId>org.onehippo.portal.collab</groupId>
30 <artifactId>collab</artifactId>
31 <version>1.02.00-SNAPSHOT</version>
32 </parent>
33
34 <artifactId>jetspeed-mvn-cms-pom</artifactId>
35 <name>Jetspeed-2 Maven Invoker Configuration for Hippo Collab CMS Application</name>
36
37 <packaging>pom</packaging>
38
39 <build>
40 <defaultGoal>process-resources</defaultGoal>
41 </build>
42
43 <profiles>
44
45 <profile>
46 <id>deploy</id>
47 <build>
48 <plugins>
49 <plugin>
50 <groupId>org.apache.portals.jetspeed-2</groupId>
51 <artifactId>jetspeed-deploy-maven-plugin</artifactId>
52 <version>${org.apache.portals.jetspeed.version}</version>
53 <executions>
54 <execution>
55 <id>deploy</id>
56 <goals>
57 <goal>deploy</goal>
58 </goals>
59 <phase>process-resources</phase>
60 <configuration>
61 <targetBaseDir>${org.apache.jetspeed.server.home}</targetBaseDir>
62 <portalName>${org.apache.jetspeed.portal.context.name}</portalName>
63 <profile>tomcat${org.apache.jetspeed.catalina.version.major}</profile>
64 <deployments>
65 <!-- portlet app -->
66 <deployment>
67 <artifact>${pom.groupId}:collab-cms:war</artifact>
68 <targetName>cms</targetName>
69 <infuse>true</infuse>
70 <expand>true</expand>
71 <delete>./cms</delete>
72 </deployment>
73 </deployments>
74 </configuration>
75 </execution>
76 </executions>
77
78 <dependencies>
79 <dependency>
80 <groupId>org.onehippo.portal.collab</groupId>
81 <artifactId>collab-cms</artifactId>
82 <version>${pom.version}</version>
83 <type>war</type>
84 </dependency>
85
86 <!-- The cms war contains a WEB-INF/classes/jaxp.properties file (pulled in from hippo-ecm-package-war)
87 which maven/Java seems to read during plugin execution and then cause JetspeedDeploy to fail
88 during infusion when trying to parse the war/portlet descriptors.
89 Only "quick fix" is adding the jaxp.properties enforced xerces and xalan dependencies as plugin dependency as well ...
90 -->
91 <dependency>
92 <groupId>xerces</groupId>
93 <artifactId>xercesImpl</artifactId>
94 <version>${xerces.version}</version>
95 </dependency>
96 <dependency>
97 <groupId>xalan</groupId>
98 <artifactId>xalan</artifactId>
99 <version>${xalan.version}</version>
100 </dependency>
101
102 <!-- plugin own dependencies -->
103 <dependency>
104 <groupId>org.apache.portals.jetspeed-2</groupId>
105 <artifactId>jetspeed-deploy-tools</artifactId>
106 <version>${org.apache.portals.jetspeed.version}</version>
107 </dependency>
108 </dependencies>
109 </plugin>
110 </plugins>
111 </build>
112 </profile>
113
114 <profile>
115 <id>deploy-mysql</id>
116 <build>
117 <plugins>
118 <plugin>
119 <groupId>org.apache.maven.plugins</groupId>
120 <artifactId>maven-resources-plugin</artifactId>
121 <executions>
122 <execution>
123 <id>resources</id>
124 <goals>
125 <goal>resources</goal>
126 </goals>
127 <phase>process-resources</phase>
128 </execution>
129 </executions>
130 </plugin>
131 <plugin>
132 <groupId>org.apache.portals.jetspeed-2</groupId>
133 <artifactId>jetspeed-deploy-maven-plugin</artifactId>
134 <version>${org.apache.portals.jetspeed.version}</version>
135 <executions>
136 <execution>
137 <id>deploy</id>
138 <goals>
139 <goal>deploy</goal>
140 </goals>
141 <phase>process-resources</phase>
142 <configuration>
143 <targetBaseDir>${org.apache.jetspeed.server.home}</targetBaseDir>
144 <destinations>
145 <context>conf/Catalina/localhost</context>
146 <cms-repository>webapps/cms/WEB-INF/classes/org/hippoecm/repository</cms-repository>
147 </destinations>
148 <deployments>
149 <deployment>
150 <file>${project.build.directory}/resources/mysql-repository.xml</file>
151 <targetName>repository.xml</targetName>
152 <destination>cms-repository</destination>
153 </deployment>
154 <deployment>
155 <file>${project.build.directory}/resources/context.xml</file>
156 <targetName>cms.xml</targetName>
157 <destination>context</destination>
158 </deployment>
159 <deployment>
160 <artifact>${org.onehippo.portal.collab.repository.jdbc.driver.groupId}:${org.onehippo.portal.collab.repository.jdbc.driver.artifactId}:jar</artifact>
161 <destination>system</destination>
162 </deployment>
163 </deployments>
164 </configuration>
165 </execution>
166 </executions>
167
168 <dependencies>
169 <dependency>
170 <groupId>${org.onehippo.portal.collab.repository.jdbc.driver.groupId}</groupId>
171 <artifactId>${org.onehippo.portal.collab.repository.jdbc.driver.artifactId}</artifactId>
172 <version>${org.onehippo.portal.collab.repository.jdbc.driver.version}</version>
173 </dependency>
174 <!-- plugin own dependencies -->
175 <dependency>
176 <groupId>org.apache.portals.jetspeed-2</groupId>
177 <artifactId>jetspeed-deploy-tools</artifactId>
178 <version>${org.apache.portals.jetspeed.version}</version>
179 </dependency>
180 </dependencies>
181 </plugin>
182 </plugins>
183 <resources>
184 <resource>
185 <directory>${basedir}/src/conf</directory>
186 <targetPath>../resources</targetPath>
187 <filtering>true</filtering>
188 </resource>
189 </resources>
190 </build>
191 </profile>
192
193 </profiles>
194
195 </project>

Properties

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