View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-documentation/hst_docs/trunk/site/pom.xml
Revision: 17404
Committed: Wed Apr 22 07:21:05 2009 UTC (11 years, 2 months ago) by rbijlsma
Content type: text/xml
File size: 10266 byte(s)
Log Message:
HSTTWODOCS-7:prepare for next development iteration

File Contents

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