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>1.01.09-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 |
<properties> |
33 |
<site.log.dir.name>${site.webapp.root}/WEB-INF/logs</site.log.dir.name> |
34 |
</properties> |
35 |
|
36 |
<dependencies> |
37 |
<dependency> |
38 |
<groupId>javax.servlet</groupId> |
39 |
<artifactId>servlet-api</artifactId> |
40 |
<scope>provided</scope> |
41 |
</dependency> |
42 |
<dependency> |
43 |
<groupId>javax.servlet</groupId> |
44 |
<artifactId>jstl</artifactId> |
45 |
<scope>runtime</scope> |
46 |
</dependency> |
47 |
<dependency> |
48 |
<groupId>taglibs</groupId> |
49 |
<artifactId>standard</artifactId> |
50 |
<scope>runtime</scope> |
51 |
</dependency> |
52 |
<dependency> |
53 |
<groupId>org.slf4j</groupId> |
54 |
<artifactId>slf4j-api</artifactId> |
55 |
</dependency> |
56 |
<dependency> |
57 |
<groupId>org.slf4j</groupId> |
58 |
<artifactId>jcl-over-slf4j</artifactId> |
59 |
</dependency> |
60 |
<dependency> |
61 |
<groupId>org.slf4j</groupId> |
62 |
<artifactId>slf4j-log4j12</artifactId> |
63 |
<scope>runtime</scope> |
64 |
</dependency> |
65 |
<dependency> |
66 |
<groupId>log4j</groupId> |
67 |
<artifactId>log4j</artifactId> |
68 |
<scope>runtime</scope> |
69 |
</dependency> |
70 |
<!-- Dependencies needed to be able to send mail --> |
71 |
<dependency> |
72 |
<groupId>javax.mail</groupId> |
73 |
<artifactId>mail</artifactId> |
74 |
<version>1.4</version> |
75 |
<scope>provided</scope> |
76 |
</dependency> |
77 |
<dependency> |
78 |
<groupId>javax.activation</groupId> |
79 |
<artifactId>activation</artifactId> |
80 |
<version>1.1</version> |
81 |
<scope>provided</scope> |
82 |
</dependency> |
83 |
<dependency> |
84 |
<groupId>org.springframework</groupId> |
85 |
<artifactId>spring-core</artifactId> |
86 |
</dependency> |
87 |
<dependency> |
88 |
<groupId>org.springframework</groupId> |
89 |
<artifactId>spring-web</artifactId> |
90 |
</dependency> |
91 |
<dependency> |
92 |
<groupId>org.springframework</groupId> |
93 |
<artifactId>spring-webmvc</artifactId> |
94 |
</dependency> |
95 |
<dependency> |
96 |
<groupId>org.springframework</groupId> |
97 |
<artifactId>spring-aop</artifactId> |
98 |
</dependency> |
99 |
<dependency> |
100 |
<groupId>commons-lang</groupId> |
101 |
<artifactId>commons-lang</artifactId> |
102 |
<version>2.4</version> |
103 |
</dependency> |
104 |
</dependencies> |
105 |
|
106 |
<build> |
107 |
<defaultGoal>package</defaultGoal> |
108 |
<finalName>site</finalName> |
109 |
<plugins> |
110 |
<plugin> |
111 |
<groupId>org.mortbay.jetty</groupId> |
112 |
<artifactId>maven-jetty-plugin</artifactId> |
113 |
<version>6.1.18</version> |
114 |
<configuration> |
115 |
<stopPort>9967</stopPort> |
116 |
<stopKey>stopSiteJetty</stopKey> |
117 |
<scanIntervalSeconds>5</scanIntervalSeconds> |
118 |
<webAppConfig> |
119 |
<contextPath>/site</contextPath> |
120 |
<baseResource implementation="org.mortbay.resource.ResourceCollection"> |
121 |
<resourcesAsCSV>src/main/webapp, ${project.build.directory}/${project.build.finalName}</resourcesAsCSV> |
122 |
</baseResource> |
123 |
<tempDirectory>${project.build.directory}/work</tempDirectory> |
124 |
</webAppConfig> |
125 |
<connectors> |
126 |
<connector implementation="org.mortbay.jetty.nio.SelectChannelConnector"> |
127 |
<port>8085</port> |
128 |
</connector> |
129 |
</connectors> |
130 |
</configuration> |
131 |
<dependencies> |
132 |
<!-- atomikos dependecies for running jetty:run[-war|-exploded] --> |
133 |
<dependency> |
134 |
<groupId>com.atomikos</groupId> |
135 |
<artifactId>transactions-api</artifactId> |
136 |
<version>3.1.4</version> |
137 |
<scope>runtime</scope> |
138 |
</dependency> |
139 |
<dependency> |
140 |
<groupId>com.atomikos</groupId> |
141 |
<artifactId>transactions-jta</artifactId> |
142 |
<version>3.1.4</version> |
143 |
<scope>runtime</scope> |
144 |
</dependency> |
145 |
<dependency> |
146 |
<groupId>com.atomikos</groupId> |
147 |
<artifactId>transactions</artifactId> |
148 |
<version>3.1.4</version> |
149 |
<scope>runtime</scope> |
150 |
</dependency> |
151 |
<dependency> |
152 |
<groupId>com.atomikos</groupId> |
153 |
<artifactId>atomikos-util</artifactId> |
154 |
<version>3.1.4</version> |
155 |
<scope>runtime</scope> |
156 |
</dependency> |
157 |
</dependencies> |
158 |
</plugin> |
159 |
<plugin> |
160 |
<inherited>true</inherited> |
161 |
<artifactId>maven-compiler-plugin</artifactId> |
162 |
<configuration> |
163 |
<target>1.5</target> |
164 |
<source>1.5</source> |
165 |
</configuration> |
166 |
</plugin> |
167 |
<plugin> |
168 |
<artifactId>maven-eclipse-plugin</artifactId> |
169 |
<configuration> |
170 |
<downloadSources>true</downloadSources> |
171 |
<wtpversion>1.5</wtpversion> |
172 |
</configuration> |
173 |
</plugin> |
174 |
<!-- Include DOJO Library --> |
175 |
<plugin> |
176 |
<groupId>org.apache.maven.plugins</groupId> |
177 |
<artifactId>maven-dependency-plugin</artifactId> |
178 |
<executions> |
179 |
<execution> |
180 |
<id>unpack</id> |
181 |
<phase>process-resources</phase> |
182 |
<goals> |
183 |
<goal>unpack</goal> |
184 |
</goals> |
185 |
<configuration> |
186 |
<artifactItems> |
187 |
<artifactItem> |
188 |
<groupId>org.dojotoolkit</groupId> |
189 |
<artifactId>dojo</artifactId> |
190 |
<version>1.3.0</version> |
191 |
<type>zip</type> |
192 |
<overWrite>false</overWrite> |
193 |
<outputDirectory>${project.build.directory}/${project.build.finalName}/javascript</outputDirectory> |
194 |
<includes>**/*</includes> |
195 |
</artifactItem> |
196 |
</artifactItems> |
197 |
</configuration> |
198 |
</execution> |
199 |
</executions> |
200 |
</plugin> |
201 |
</plugins> |
202 |
|
203 |
<resources> |
204 |
<resource> |
205 |
<directory>src/main/resources</directory> |
206 |
<filtering>true</filtering> |
207 |
</resource> |
208 |
</resources> |
209 |
</build> |
210 |
|
211 |
<profiles> |
212 |
<profile> |
213 |
<id>default</id> |
214 |
<activation> |
215 |
<activeByDefault>true</activeByDefault> |
216 |
</activation> |
217 |
<dependencies> |
218 |
<dependency> |
219 |
<groupId>javax.jcr</groupId> |
220 |
<artifactId>jcr</artifactId> |
221 |
<scope>compile</scope> |
222 |
</dependency> |
223 |
<dependency> |
224 |
<groupId>org.onehippo.ecm.hst.dependencies</groupId> |
225 |
<artifactId>hst-shared-dependencies</artifactId> |
226 |
<version>${hst.version}</version> |
227 |
<type>pom</type> |
228 |
</dependency> |
229 |
<dependency> |
230 |
<groupId>org.onehippo.ecm.hst.dependencies</groupId> |
231 |
<artifactId>hst-server-dependencies</artifactId> |
232 |
<version>${hst.version}</version> |
233 |
<type>pom</type> |
234 |
<exclusions> |
235 |
<exclusion> |
236 |
<groupId>javax.jdo</groupId> |
237 |
<artifactId>jdo2-api</artifactId> |
238 |
</exclusion> |
239 |
<exclusion> |
240 |
<groupId>jpox</groupId> |
241 |
<artifactId>jpox-core</artifactId> |
242 |
</exclusion> |
243 |
<exclusion> |
244 |
<groupId>org.hippoecm</groupId> |
245 |
<artifactId>hippo-ecm-addon-builtin-common</artifactId> |
246 |
</exclusion> |
247 |
<exclusion> |
248 |
<groupId>org.hippoecm</groupId> |
249 |
<artifactId>hippo-ecm-addon-reviewed-action-common</artifactId> |
250 |
</exclusion> |
251 |
</exclusions> |
252 |
</dependency> |
253 |
<dependency> |
254 |
<groupId>org.onehippo.ecm.hst.dependencies</groupId> |
255 |
<artifactId>hst-client-dependencies</artifactId> |
256 |
<version>${hst.version}</version> |
257 |
<type>pom</type> |
258 |
</dependency> |
259 |
</dependencies> |
260 |
</profile> |
261 |
</profiles> |
262 |
</project> |