1 |
<?xml version="1.0" encoding="UTF-8"?> |
2 |
<!-- |
3 |
Copyright 2010 Hippo Licensed under the Apache License, Version 2.0 |
4 |
(the "License"); you may not use this file except in compliance with |
5 |
the License. You may obtain a copy of the License at |
6 |
|
7 |
http://www.apache.org/licenses/LICENSE-2.0 Unless required by |
8 |
applicable law or agreed to in writing, software distributed under |
9 |
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES |
10 |
OR CONDITIONS OF ANY KIND, either express or implied. See the |
11 |
License for the specific language governing permissions and |
12 |
limitations under the License. |
13 |
--> |
14 |
<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"> |
15 |
|
16 |
<modelVersion>4.0.0</modelVersion> |
17 |
|
18 |
<parent> |
19 |
<groupId>com.onehippo.gogreen</groupId> |
20 |
<artifactId>hippogogreen</artifactId> |
21 |
<version>1.01.10-SNAPSHOT</version> |
22 |
</parent> |
23 |
|
24 |
<name>Hippo Go Green CMS</name> |
25 |
<artifactId>hippogogreen-cms</artifactId> |
26 |
<packaging>war</packaging> |
27 |
|
28 |
|
29 |
<dependencies> |
30 |
<dependency> |
31 |
<groupId>org.slf4j</groupId> |
32 |
<artifactId>slf4j-api</artifactId> |
33 |
</dependency> |
34 |
|
35 |
<dependency> |
36 |
<groupId>org.slf4j</groupId> |
37 |
<artifactId>jcl-over-slf4j</artifactId> |
38 |
</dependency> |
39 |
|
40 |
<dependency> |
41 |
<groupId>org.slf4j</groupId> |
42 |
<artifactId>slf4j-log4j12</artifactId> |
43 |
<scope>runtime</scope> |
44 |
</dependency> |
45 |
|
46 |
<dependency> |
47 |
<groupId>log4j</groupId> |
48 |
<artifactId>log4j</artifactId> |
49 |
<scope>runtime</scope> |
50 |
</dependency> |
51 |
|
52 |
<dependency> |
53 |
<groupId>org.hippoecm</groupId> |
54 |
<artifactId>hippo-ecm-package-war</artifactId> |
55 |
<type>war</type> |
56 |
</dependency> |
57 |
|
58 |
<dependency> |
59 |
<groupId>org.onehippo.ecm.hst.toolkit-resources.addon.toolkit-cnd</groupId> |
60 |
<artifactId>hst-addon-cnd</artifactId> |
61 |
<type>jar</type> |
62 |
</dependency> |
63 |
|
64 |
<dependency> |
65 |
<groupId>org.onehippo.ecm.hst.toolkit-resources.addon</groupId> |
66 |
<artifactId>hst-addon-repository</artifactId> |
67 |
<type>jar</type> |
68 |
</dependency> |
69 |
|
70 |
<dependency> |
71 |
<groupId>org.onehippo.ecm</groupId> |
72 |
<artifactId>hst-addon-configuration-editor-frontend</artifactId> |
73 |
<version>${hst-configuration-editor.version}</version> |
74 |
<type>jar</type> |
75 |
<exclusions> |
76 |
<exclusion> |
77 |
<groupId>org.hippoecm</groupId> |
78 |
<artifactId>hippo-ecm-api</artifactId> |
79 |
</exclusion> |
80 |
</exclusions> |
81 |
</dependency> |
82 |
|
83 |
<dependency> |
84 |
<groupId>org.onehippo.ecm</groupId> |
85 |
<artifactId>hst-addon-configuration-editor-repository</artifactId> |
86 |
<version>${hst-configuration-editor.version}</version> |
87 |
<type>jar</type> |
88 |
</dependency> |
89 |
|
90 |
<!-- For multiple image thumbnail --> |
91 |
<dependency> |
92 |
<groupId>org.hippoecm</groupId> |
93 |
<artifactId>hippo-ecm-addon-gallery-frontend</artifactId> |
94 |
<version>${hippoecm.version}</version> |
95 |
<exclusions> |
96 |
<exclusion> |
97 |
<groupId>xerces</groupId> |
98 |
<artifactId>xercesImpl</artifactId> |
99 |
</exclusion> |
100 |
<exclusion> |
101 |
<groupId>commons-collections</groupId> |
102 |
<artifactId>commons-collections</artifactId> |
103 |
</exclusion> |
104 |
</exclusions> |
105 |
</dependency> |
106 |
|
107 |
<dependency> |
108 |
<groupId>org.hippoecm</groupId> |
109 |
<artifactId>hippo-ecm-frontend-engine</artifactId> |
110 |
<version>${hippoecm.version}</version> |
111 |
<exclusions> |
112 |
<exclusion> |
113 |
<groupId>commons-logging</groupId> |
114 |
<artifactId>commons-logging</artifactId> |
115 |
</exclusion> |
116 |
</exclusions> |
117 |
</dependency> |
118 |
|
119 |
<dependency> |
120 |
<groupId>com.onehippo.gogreen</groupId> |
121 |
<artifactId>hippogogreen-content</artifactId> |
122 |
<version>${project.version}</version> |
123 |
<type>jar</type> |
124 |
</dependency> |
125 |
|
126 |
<!-- PLUGINS --> |
127 |
<dependency> |
128 |
<groupId>org.onehippo.addon.frontend.gallerypicker</groupId> |
129 |
<artifactId>gallerypicker</artifactId> |
130 |
<version>${gallerypicker.version}</version> |
131 |
</dependency> |
132 |
|
133 |
<dependency> |
134 |
<groupId>org.onehippo.forge.selectionplugins</groupId> |
135 |
<artifactId>selectionplugins-addon-repository</artifactId> |
136 |
<version>${selection.version}</version> |
137 |
</dependency> |
138 |
|
139 |
<dependency> |
140 |
<groupId>org.onehippo.forge.selectionplugins</groupId> |
141 |
<artifactId>selectionplugins-addon-cms</artifactId> |
142 |
<version>${selection.version}</version> |
143 |
</dependency> |
144 |
|
145 |
<dependency> |
146 |
<groupId>org.hippoecm.hst.components</groupId> |
147 |
<artifactId>sitemap-feed-content</artifactId> |
148 |
<version>${sitemap.feed.content.version}</version> |
149 |
<type>jar</type> |
150 |
</dependency> |
151 |
|
152 |
<dependency> |
153 |
<groupId>org.onehippo.forge</groupId> |
154 |
<artifactId>easy-forms-plugin</artifactId> |
155 |
<version>${easy-forms.plugin.version}</version> |
156 |
<type>jar</type> |
157 |
</dependency> |
158 |
|
159 |
<dependency> |
160 |
<groupId>org.onehippo.forge</groupId> |
161 |
<artifactId>relateddocs</artifactId> |
162 |
<version>${relateddocs.version}</version> |
163 |
<type>jar</type> |
164 |
</dependency> |
165 |
|
166 |
<dependency> |
167 |
<groupId>org.onehippo.forge</groupId> |
168 |
<artifactId>tcmp-addon-frontend</artifactId> |
169 |
<version>${tcmp.version}</version> |
170 |
<type>jar</type> |
171 |
</dependency> |
172 |
|
173 |
<dependency> |
174 |
<groupId>org.onehippo.forge</groupId> |
175 |
<artifactId>tcmp-addon-repository</artifactId> |
176 |
<version>${tcmp.version}</version> |
177 |
<type>jar</type> |
178 |
</dependency> |
179 |
|
180 |
<dependency> |
181 |
<groupId>org.onehippo.forge.poll</groupId> |
182 |
<artifactId>poll-addon-repository</artifactId> |
183 |
<version>${poll.version}</version> |
184 |
</dependency> |
185 |
|
186 |
<dependency> |
187 |
<groupId>com.onehippo.gogreen</groupId> |
188 |
<artifactId>rating-plugin</artifactId> |
189 |
<type>jar</type> |
190 |
<version>${project.version}</version> |
191 |
</dependency> |
192 |
|
193 |
|
194 |
<dependency> |
195 |
<groupId>org.onehippo</groupId> |
196 |
<artifactId>taxonomy-api</artifactId> |
197 |
<version>${taxonomy.version}</version> |
198 |
<type>jar</type> |
199 |
</dependency> |
200 |
|
201 |
<dependency> |
202 |
<groupId>org.onehippo</groupId> |
203 |
<artifactId>taxonomy-addon-frontend</artifactId> |
204 |
<version>${taxonomy.version}</version> |
205 |
<type>jar</type> |
206 |
</dependency> |
207 |
|
208 |
<dependency> |
209 |
<groupId>org.onehippo</groupId> |
210 |
<artifactId>taxonomy-addon-repository</artifactId> |
211 |
<version>${taxonomy.version}</version> |
212 |
<type>jar</type> |
213 |
</dependency> |
214 |
|
215 |
<dependency> |
216 |
<groupId>org.onehippo.forge</groupId> |
217 |
<artifactId>goto-addon-frontend</artifactId> |
218 |
<version>${hst.goto.addon.version}</version> |
219 |
</dependency> |
220 |
|
221 |
<dependency> |
222 |
<groupId>org.onehippo.forge</groupId> |
223 |
<artifactId>goto-addon-repository</artifactId> |
224 |
<version>${hst.goto.addon.version}</version> |
225 |
</dependency> |
226 |
|
227 |
<dependency> |
228 |
<groupId>org.onehippo.forge.properties</groupId> |
229 |
<artifactId>properties-addon-repository</artifactId> |
230 |
<version>${properties.plugin.version}</version> |
231 |
</dependency> |
232 |
|
233 |
<dependency> |
234 |
<groupId>org.hippoecm</groupId> |
235 |
<artifactId>hippo-ecm-addon-cms-admin</artifactId> |
236 |
<version>${hippoecm.version}</version> |
237 |
</dependency> |
238 |
|
239 |
<!-- workaround for HSTTWO-554 --> |
240 |
<dependency> |
241 |
<groupId>org.hippoecm</groupId> |
242 |
<artifactId>hippo-ecm-addon-gotolink</artifactId> |
243 |
<type>jar</type> |
244 |
<version>${hippoecm.version}</version> |
245 |
</dependency> |
246 |
</dependencies> |
247 |
|
248 |
<build> |
249 |
<resources> |
250 |
<resource> |
251 |
<filtering>false</filtering> |
252 |
<directory>src/main/resources</directory> |
253 |
</resource> |
254 |
<resource> |
255 |
<filtering>false</filtering> |
256 |
<directory>src/main/java</directory> |
257 |
<includes> |
258 |
<include>**</include> |
259 |
</includes> |
260 |
<excludes> |
261 |
<exclude>**/*.java</exclude> |
262 |
</excludes> |
263 |
</resource> |
264 |
</resources> |
265 |
<defaultGoal>package</defaultGoal> |
266 |
<finalName>cms</finalName> |
267 |
<plugins> |
268 |
<plugin> |
269 |
<groupId>org.apache.maven.plugins</groupId> |
270 |
<artifactId>maven-war-plugin</artifactId> |
271 |
<version>2.1-alpha-2</version> |
272 |
<configuration> |
273 |
<manifest> |
274 |
<addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
275 |
</manifest> |
276 |
<archive> |
277 |
<manifestEntries> |
278 |
<Implementation-Build>${buildNumber}</Implementation-Build> |
279 |
</manifestEntries> |
280 |
</archive> |
281 |
<overlays> |
282 |
<overlay> |
283 |
<groupId>org.hippoecm</groupId> |
284 |
<artifactId>hippo-ecm-package-war</artifactId> |
285 |
<excludes> |
286 |
<exclude>WEB-INF/lib/*slf4j*.jar</exclude> |
287 |
<exclude>WEB-INF/lib/log4j*.jar</exclude> |
288 |
<exclude>WEB-INF/lib/commons-logging-*.jar</exclude> |
289 |
</excludes> |
290 |
</overlay> |
291 |
</overlays> |
292 |
</configuration> |
293 |
</plugin> |
294 |
<plugin> |
295 |
<groupId>org.mortbay.jetty</groupId> |
296 |
<artifactId>maven-jetty-plugin</artifactId> |
297 |
<version>6.1.18</version> |
298 |
<configuration> |
299 |
<stopPort>9966</stopPort> |
300 |
<stopKey>stopCmsJetty</stopKey> |
301 |
<scanIntervalSeconds>5</scanIntervalSeconds> |
302 |
<connectors> |
303 |
<connector implementation="org.mortbay.jetty.nio.SelectChannelConnector"> |
304 |
<port>8080</port> |
305 |
</connector> |
306 |
</connectors> |
307 |
<contextPath>/cms</contextPath> |
308 |
</configuration> |
309 |
<dependencies> |
310 |
<dependency> |
311 |
<groupId>javax.jcr</groupId> |
312 |
<artifactId>jcr</artifactId> |
313 |
<scope>runtime</scope> |
314 |
<version>1.0</version> |
315 |
</dependency> |
316 |
<!-- atomikos dependecies for running jetty:run[-war|-exploded] --> |
317 |
<dependency> |
318 |
<groupId>com.atomikos</groupId> |
319 |
<artifactId>transactions-api</artifactId> |
320 |
<version>3.1.4</version> |
321 |
<scope>runtime</scope> |
322 |
</dependency> |
323 |
<dependency> |
324 |
<groupId>com.atomikos</groupId> |
325 |
<artifactId>transactions-jta</artifactId> |
326 |
<version>3.1.4</version> |
327 |
<scope>runtime</scope> |
328 |
</dependency> |
329 |
<dependency> |
330 |
<groupId>com.atomikos</groupId> |
331 |
<artifactId>transactions</artifactId> |
332 |
<version>3.1.4</version> |
333 |
<scope>runtime</scope> |
334 |
</dependency> |
335 |
<dependency> |
336 |
<groupId>com.atomikos</groupId> |
337 |
<artifactId>atomikos-util</artifactId> |
338 |
<version>3.1.4</version> |
339 |
<scope>runtime</scope> |
340 |
</dependency> |
341 |
</dependencies> |
342 |
</plugin> |
343 |
</plugins> |
344 |
</build> |
345 |
|
346 |
</project> |