View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-documentation/hst_docs/trunk/site/pom.xml
Revision: 17351
Committed: Mon Apr 20 16:27:43 2009 UTC (11 years, 2 months ago) by rbijlsma
Content type: text/xml
File size: 11158 byte(s)
Log Message:
HSTTWODOCS-10

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