View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-documentation/hst_docs/trunk/site/pom.xml
(Generate patch)

Comparing hippo-documentation/hst_docs/trunk/site/pom.xml (file contents):
Revision 17401 by rbijlsma, Tue Apr 21 14:48:05 2009 UTC vs.
Revision 17402 by rbijlsma, Wed Apr 22 07:16:51 2009 UTC

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"> 1<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 <modelVersion>4.0.0</modelVersion> 2 <modelVersion>4.0.0</modelVersion>
18 3
19 <parent> 4 <parent>
20 <groupId>org.onehippo.ecm</groupId> 5 <groupId>org.onehippo.ecm</groupId>
21 <artifactId>hst_docs</artifactId> 6 <artifactId>hst_docs</artifactId>
22 <version>0.02.00-SNAPSHOT</version> 7 <version>0.02.00</version>
23 <relativePath>../pom.xml</relativePath> 8 <relativePath>../pom.xml</relativePath>
24 </parent> 9 </parent>
25 10
26 <name>My Hippo Site Toolkit Project website</name> 11 <name>My Hippo Site Toolkit Project website</name>
27 <description>My Hippo Site Toolkit Project website</description> 12 <description>My Hippo Site Toolkit Project website</description>
28 <artifactId>hst_docs-site</artifactId> 13 <artifactId>hst_docs-site</artifactId>
29 <groupId>org.onehippo.ecm</groupId> 14 <groupId>org.onehippo.ecm</groupId>
30 <packaging>war</packaging> 15 <packaging>war</packaging>
31 16
32 17
33 <!-- 18 <!--
34 TODO Waarom geen dependency on content project, die gebruikt hij! 19 TODO Waarom geen dependency on content project, die gebruikt hij!
35 --> 20 -->
36 21
37 <dependencies> 22 <dependencies>
38 <!-- Dependencies needed to be able to send mail --> 23 <!-- Dependencies needed to be able to send mail -->
39 <dependency> 24 <dependency>
40 <groupId>javax.mail</groupId> 25 <groupId>javax.mail</groupId>
41 <artifactId>mail</artifactId> 26 <artifactId>mail</artifactId>
42 <version>1.4</version> 27 <version>1.4</version>
43 <scope>provided</scope> 28 <scope>provided</scope>
44 </dependency> 29 </dependency>
45 <dependency> 30 <dependency>
46 <groupId>javax.activation</groupId> 31 <groupId>javax.activation</groupId>
47 <artifactId>activation</artifactId> 32 <artifactId>activation</artifactId>
48 <version>1.1</version> 33 <version>1.1</version>
49 <scope>provided</scope> 34 <scope>provided</scope>
50 </dependency> 35 </dependency>
51 <dependency> 36 <dependency>
52 <groupId>javax.servlet</groupId> 37 <groupId>javax.servlet</groupId>
53 <artifactId>servlet-api</artifactId> 38 <artifactId>servlet-api</artifactId>
54 <scope>provided</scope> 39 <scope>provided</scope>
55 <version>${servlet-api.version}</version> 40 <version>${servlet-api.version}</version>
56 </dependency> 41 </dependency>
57 <dependency> 42 <dependency>
58 <groupId>javax.servlet</groupId> 43 <groupId>javax.servlet</groupId>
59 <artifactId>jstl</artifactId> 44 <artifactId>jstl</artifactId>
60 <scope>runtime</scope> 45 <scope>runtime</scope>
61 <version>${jstl.version}</version> 46 <version>${jstl.version}</version>
62 </dependency> 47 </dependency>
63 <dependency> 48 <dependency>
64 <groupId>taglibs</groupId> 49 <groupId>taglibs</groupId>
65 <artifactId>standard</artifactId> 50 <artifactId>standard</artifactId>
66 <scope>runtime</scope> 51 <scope>runtime</scope>
67 <version>${taglibs.version}</version> 52 <version>${taglibs.version}</version>
68 </dependency> 53 </dependency>
69<!-- 54<!--
70 <dependency> 55 <dependency>
71 <groupId>org.onehippo.forge.simpleEmail</groupId> 56 <groupId>org.onehippo.forge.simpleEmail</groupId>
72 <artifactId>SimpleEmail</artifactId> 57 <artifactId>SimpleEmail</artifactId>
73 <version>0.0.1-SNAPSHOT</version> 58 <version>0.0.1-SNAPSHOT</version>
74 </dependency> 59 </dependency>
75--> 60-->
76 <dependency> 61 <dependency>
77 <groupId>xml-apis</groupId> 62 <groupId>xml-apis</groupId>
78 <artifactId>xml-apis</artifactId> 63 <artifactId>xml-apis</artifactId>
79 <version>${xml-apis.version}</version> 64 <version>${xml-apis.version}</version>
80 </dependency> 65 </dependency>
81 <dependency> 66 <dependency>
82 <groupId>xerces</groupId> 67 <groupId>xerces</groupId>
83 <artifactId>xercesImpl</artifactId> 68 <artifactId>xercesImpl</artifactId>
84 <version>${xerces.version}</version> 69 <version>${xerces.version}</version>
85 </dependency> 70 </dependency>
86 <dependency> 71 <dependency>
87 <groupId>xerces</groupId> 72 <groupId>xerces</groupId>
88 <artifactId>xerces</artifactId> 73 <artifactId>xerces</artifactId>
89 <version>${xerces.version}</version> 74 <version>${xerces.version}</version>
90 </dependency> 75 </dependency>
91 <dependency> 76 <dependency>
92 <groupId>xalan</groupId> 77 <groupId>xalan</groupId>
93 <artifactId>xalan</artifactId> 78 <artifactId>xalan</artifactId>
94 <version>${xalan.version}</version> 79 <version>${xalan.version}</version>
95 </dependency> 80 </dependency>
96 <dependency> 81 <dependency>
97 <groupId>org.slf4j</groupId> 82 <groupId>org.slf4j</groupId>
98 <artifactId>slf4j-api</artifactId> 83 <artifactId>slf4j-api</artifactId>
99 <version>1.4.3</version> 84 <version>1.4.3</version>
100 </dependency> 85 </dependency>
101 <dependency> 86 <dependency>
102 <groupId>org.slf4j</groupId> 87 <groupId>org.slf4j</groupId>
103 <artifactId>slf4j-log4j12</artifactId> 88 <artifactId>slf4j-log4j12</artifactId>
104 <version>1.4.3</version> 89 <version>1.4.3</version>
105 <scope>runtime</scope> 90 <scope>runtime</scope>
106 </dependency> 91 </dependency>
107 <dependency> 92 <dependency>
108 <groupId>log4j</groupId> 93 <groupId>log4j</groupId>
109 <artifactId>log4j</artifactId> 94 <artifactId>log4j</artifactId>
110 <version>1.2.13</version> 95 <version>1.2.13</version>
111 <scope>runtime</scope> 96 <scope>runtime</scope>
112 </dependency> 97 </dependency>
113 <dependency> 98 <dependency>
114 <groupId>org.springframework</groupId> 99 <groupId>org.springframework</groupId>
115 <artifactId>spring-core</artifactId> 100 <artifactId>spring-core</artifactId>
116 <version>${spring.version}</version> 101 <version>${spring.version}</version>
117 </dependency> 102 </dependency>
118 <dependency> 103 <dependency>
119 <groupId>org.springframework</groupId> 104 <groupId>org.springframework</groupId>
120 <artifactId>spring-web</artifactId> 105 <artifactId>spring-web</artifactId>
121 <version>${spring.version}</version> 106 <version>${spring.version}</version>
122 </dependency> 107 </dependency>
123 <dependency> 108 <dependency>
124 <groupId>org.onehippo.ecm.hst</groupId> 109 <groupId>org.onehippo.ecm.hst</groupId>
125 <artifactId>hst-api</artifactId> 110 <artifactId>hst-api</artifactId>
126 <version>${hst.version}</version> 111 <version>${hst.version}</version>
127 <!-- 112 <!--
128 <scope>provided</scope> 113 <scope>provided</scope>
129 --> 114 -->
130 </dependency> 115 </dependency>
131 <dependency> 116 <dependency>
132 <groupId>org.onehippo.ecm.hst</groupId> 117 <groupId>org.onehippo.ecm.hst</groupId>
133 <artifactId>hst-commons</artifactId> 118 <artifactId>hst-commons</artifactId>
134 <version>${hst.version}</version> 119 <version>${hst.version}</version>
135 <!-- 120 <!--
136 <scope>provided</scope> 121 <scope>provided</scope>
137 --> 122 -->
138 </dependency> 123 </dependency>
139 <dependency> 124 <dependency>
140 <groupId>org.onehippo.ecm.hst.components</groupId> 125 <groupId>org.onehippo.ecm.hst.components</groupId>
141 <artifactId>hst-core</artifactId> 126 <artifactId>hst-core</artifactId>
142 <version>${hst.version}</version> 127 <version>${hst.version}</version>
143 </dependency> 128 </dependency>
144 <dependency> 129 <dependency>
145 <groupId>org.onehippo.ecm.hst</groupId> 130 <groupId>org.onehippo.ecm.hst</groupId>
146 <artifactId>hst-client</artifactId> 131 <artifactId>hst-client</artifactId>
147 <version>${hst.version}</version> 132 <version>${hst.version}</version>
148 </dependency> 133 </dependency>
149 134
150 <dependency> 135 <dependency>
151 <groupId>org.onehippo.ecm.hst</groupId> 136 <groupId>org.onehippo.ecm.hst</groupId>
152 <artifactId>hst-ocm</artifactId> 137 <artifactId>hst-ocm</artifactId>
153 <version>${hst.version}</version> 138 <version>${hst.version}</version>
154 </dependency> 139 </dependency>
155 140
156 <dependency> 141 <dependency>
157 <groupId>org.apache.geronimo.specs</groupId> 142 <groupId>org.apache.geronimo.specs</groupId>
158 <artifactId>geronimo-jta_1.1_spec</artifactId> 143 <artifactId>geronimo-jta_1.1_spec</artifactId>
159 <scope>provided</scope> 144 <scope>provided</scope>
160 <version>1.1</version> 145 <version>1.1</version>
161 </dependency> 146 </dependency>
162 147
163 </dependencies> 148 </dependencies>
164 149
165 150
166 151
167 <build> 152 <build>
168 <defaultGoal>package</defaultGoal> 153 <defaultGoal>package</defaultGoal>
169 <plugins> 154 <plugins>
170 <plugin> 155 <plugin>
171 <groupId>org.mortbay.jetty</groupId> 156 <groupId>org.mortbay.jetty</groupId>
172 <artifactId>maven-jetty-plugin</artifactId> 157 <artifactId>maven-jetty-plugin</artifactId>
173 <version>6.1.10</version> 158 <version>6.1.10</version>
174 <configuration> 159 <configuration>
175 <scanIntervalSeconds>5</scanIntervalSeconds> 160 <scanIntervalSeconds>5</scanIntervalSeconds>
176 <webAppConfig> 161 <webAppConfig>
177 <contextPath>/site</contextPath> 162 <contextPath>/site</contextPath>
178 <tempDirectory>${project.build.directory}/work</tempDirectory> 163 <tempDirectory>${project.build.directory}/work</tempDirectory>
179 </webAppConfig> 164 </webAppConfig>
180 <connectors> 165 <connectors>
181 <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector"> 166 <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
182 <port>8085</port> 167 <port>8085</port>
183 </connector> 168 </connector>
184 </connectors> 169 </connectors>
185 </configuration> 170 </configuration>
186 <dependencies> 171 <dependencies>
187 <!-- atomikos dependecies for running jetty:run[-war|-exploded] --> 172 <!-- atomikos dependecies for running jetty:run[-war|-exploded] -->
188 <dependency> 173 <dependency>
189 <groupId>com.atomikos</groupId> 174 <groupId>com.atomikos</groupId>
190 <artifactId>transactions-api</artifactId> 175 <artifactId>transactions-api</artifactId>
191 <version>3.1.4</version> 176 <version>3.1.4</version>
192 <scope>runtime</scope> 177 <scope>runtime</scope>
193 </dependency> 178 </dependency>
194 <dependency> 179 <dependency>
195 <groupId>com.atomikos</groupId> 180 <groupId>com.atomikos</groupId>
196 <artifactId>transactions-jta</artifactId> 181 <artifactId>transactions-jta</artifactId>
197 <version>3.1.4</version> 182 <version>3.1.4</version>
198 <scope>runtime</scope> 183 <scope>runtime</scope>
199 </dependency> 184 </dependency>
200 <dependency> 185 <dependency>
201 <groupId>com.atomikos</groupId> 186 <groupId>com.atomikos</groupId>
202 <artifactId>transactions</artifactId> 187 <artifactId>transactions</artifactId>
203 <version>3.1.4</version> 188 <version>3.1.4</version>
204 <scope>runtime</scope> 189 <scope>runtime</scope>
205 </dependency> 190 </dependency>
206 <dependency> 191 <dependency>
207 <groupId>com.atomikos</groupId> 192 <groupId>com.atomikos</groupId>
208 <artifactId>atomikos-util</artifactId> 193 <artifactId>atomikos-util</artifactId>
209 <version>3.1.4</version> 194 <version>3.1.4</version>
210 <scope>runtime</scope> 195 <scope>runtime</scope>
211 </dependency> 196 </dependency>
212 </dependencies> 197 </dependencies>
213 </plugin> 198 </plugin>
214 <plugin> 199 <plugin>
215 <inherited>true</inherited> 200 <inherited>true</inherited>
216 <artifactId>maven-compiler-plugin</artifactId> 201 <artifactId>maven-compiler-plugin</artifactId>
217 <configuration> 202 <configuration>
218 <target>1.5</target> 203 <target>1.5</target>
219 <source>1.5</source> 204 <source>1.5</source>
220 </configuration> 205 </configuration>
221 </plugin> 206 </plugin>
222 <plugin> 207 <plugin>
223 <artifactId>maven-eclipse-plugin</artifactId> 208 <artifactId>maven-eclipse-plugin</artifactId>
224 <configuration> 209 <configuration>
225 <downloadSources>true</downloadSources> 210 <downloadSources>true</downloadSources>
226 <wtpversion>1.5</wtpversion> 211 <wtpversion>1.5</wtpversion>
227 </configuration> 212 </configuration>
228 </plugin> 213 </plugin>
229 </plugins> 214 </plugins>
230 </build> 215 </build>
231 216
232 <profiles> 217 <profiles>
233 218
234 <profile> 219 <profile>
235 <id>tomcat</id> 220 <id>tomcat</id>
236 <build> 221 <build>
237 <plugins> 222 <plugins>
238 <plugin> 223 <plugin>
239 <groupId>org.codehaus.mojo</groupId> 224 <groupId>org.codehaus.mojo</groupId>
240 <artifactId>properties-maven-plugin</artifactId> 225 <artifactId>properties-maven-plugin</artifactId>
241 <version>1.0-alpha-1</version> 226 <version>1.0-alpha-1</version>
242 <executions> 227 <executions>
243 <execution> 228 <execution>
244 <phase>initialize</phase> 229 <phase>initialize</phase>
245 <goals> 230 <goals>
246 <goal>read-project-properties</goal> 231 <goal>read-project-properties</goal>
247 </goals> 232 </goals>
248 <configuration> 233 <configuration>
249 <quiet>true</quiet> 234 <quiet>true</quiet>
250 <files> 235 <files>
251 <file>build.properties</file> 236 <file>build.properties</file>
252 </files> 237 </files>
253 </configuration> 238 </configuration>
254 </execution> 239 </execution>
255 </executions> 240 </executions>
256 </plugin> 241 </plugin>
257 <plugin> 242 <plugin>
258 <groupId>org.apache.maven.plugins</groupId> 243 <groupId>org.apache.maven.plugins</groupId>
259 <artifactId>maven-antrun-plugin</artifactId> 244 <artifactId>maven-antrun-plugin</artifactId>
260 <version>1.2</version> 245 <version>1.2</version>
261 <executions> 246 <executions>
262 <execution> 247 <execution>
263 <id>deploy-to-tomcat</id> 248 <id>deploy-to-tomcat</id>
264 <phase>install</phase> 249 <phase>install</phase>
265 <configuration> 250 <configuration>
266 <tasks> 251 <tasks>
267 252
268 <echo>Replacing HST Shared Libraries.</echo> 253 <echo>Replacing HST Shared Libraries.</echo>
269 <copy file="${settings.localRepository}/javax/jcr/jcr/1.0/jcr-1.0.jar" tofile="${tomcat.hst.shared.lib}/jcr-1.0.jar" /> 254 <copy file="${settings.localRepository}/javax/jcr/jcr/1.0/jcr-1.0.jar" tofile="${tomcat.hst.shared.lib}/jcr-1.0.jar" />
270 <copy file="${settings.localRepository}/org/apache/geronimo/specs/geronimo-jta_1.1_spec/1.1/geronimo-jta_1.1_spec-1.1.jar" tofile="${tomcat.hst.shared.lib}/geronimo-jta_1.1_spec-1.1.jar" /> 255 <copy file="${settings.localRepository}/org/apache/geronimo/specs/geronimo-jta_1.1_spec/1.1/geronimo-jta_1.1_spec-1.1.jar" tofile="${tomcat.hst.shared.lib}/geronimo-jta_1.1_spec-1.1.jar" />
271 <copy file="../../api/target/hst-api-${project.version}.jar" tofile="${tomcat.hst.shared.lib}/hst-api-${project.version}.jar" /> 256 <copy file="../../api/target/hst-api-${project.version}.jar" tofile="${tomcat.hst.shared.lib}/hst-api-${project.version}.jar" />
272 <copy file="../../commons/target/hst-commons-${project.version}.jar" tofile="${tomcat.hst.shared.lib}/hst-commons-${project.version}.jar" /> 257 <copy file="../../commons/target/hst-commons-${project.version}.jar" tofile="${tomcat.hst.shared.lib}/hst-commons-${project.version}.jar" />
273 258
274 <echo>Replacing cms web application into tomcat.</echo> 259 <echo>Replacing cms web application into tomcat.</echo>
275 <delete dir="${tomcat.hst.cms.webapp}" /> 260 <delete dir="${tomcat.hst.cms.webapp}" />
276 <mkdir dir="${tomcat.hst.cms.webapp}" /> 261 <mkdir dir="${tomcat.hst.cms.webapp}" />
277 <unwar src="../../maven/archetype/target/gettingstarted/cms/target/gettingstarted-cms-1.00.01.war" dest="${tomcat.hst.cms.webapp}" /> 262 <unwar src="../../maven/archetype/target/gettingstarted/cms/target/gettingstarted-cms-1.00.01.war" dest="${tomcat.hst.cms.webapp}" />
278 263
279 <echo>Replacing site web application into tomcat.</echo> 264 <echo>Replacing site web application into tomcat.</echo>
280 <delete dir="${tomcat.server.home}/webapps/${project.artifactId}" /> 265 <delete dir="${tomcat.server.home}/webapps/${project.artifactId}" />
281 <mkdir dir="${tomcat.server.home}/webapps/${project.artifactId}" /> 266 <mkdir dir="${tomcat.server.home}/webapps/${project.artifactId}" />
282 <unwar src="${project.build.directory}/${project.artifactId}-${project.version}.war" dest="${tomcat.server.home}/webapps/${project.artifactId}" /> 267 <unwar src="${project.build.directory}/${project.artifactId}-${project.version}.war" dest="${tomcat.server.home}/webapps/${project.artifactId}" />
283 <delete> 268 <delete>
284 <fileset dir="${tomcat.server.home}/webapps/${project.artifactId}/WEB-INF/lib"> 269 <fileset dir="${tomcat.server.home}/webapps/${project.artifactId}/WEB-INF/lib">
285 <include name="jcr-*.jar" /> 270 <include name="jcr-*.jar" />
286 <include name="hst-api-*.jar" /> 271 <include name="hst-api-*.jar" />
287 <include name="hst-commons-*.jar" /> 272 <include name="hst-commons-*.jar" />
288 </fileset> 273 </fileset>
289 </delete> 274 </delete>
290 275
291 </tasks> 276 </tasks>
292 </configuration> 277 </configuration>
293 <goals> 278 <goals>
294 <goal>run</goal> 279 <goal>run</goal>
295 </goals> 280 </goals>
296 </execution> 281 </execution>
297 </executions> 282 </executions>
298 <dependencies> 283 <dependencies>
299 <dependency> 284 <dependency>
300 <groupId>javax.jcr</groupId> 285 <groupId>javax.jcr</groupId>
301 <artifactId>jcr</artifactId> 286 <artifactId>jcr</artifactId>
302 <version>1.0</version> 287 <version>1.0</version>
303 </dependency> 288 </dependency>
304 <dependency> 289 <dependency>
305 <groupId>org.apache.geronimo.specs</groupId> 290 <groupId>org.apache.geronimo.specs</groupId>
306 <artifactId>geronimo-jta_1.1_spec</artifactId> 291 <artifactId>geronimo-jta_1.1_spec</artifactId>
307 <version>1.1</version> 292 <version>1.1</version>
308 </dependency> 293 </dependency>
309 </dependencies> 294 </dependencies>
310 </plugin> 295 </plugin>
311 </plugins> 296 </plugins>
312 </build> 297 </build>
313 </profile> 298 </profile>
314 </profiles> 299 </profiles>
315</project> 300</project>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines