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