]> git.argeo.org Git - gpl/argeo-slc.git/blob - server/org.argeo.slc.siteserver/pom.xml
Ass maven support
[gpl/argeo-slc.git] / server / org.argeo.slc.siteserver / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3 <modelVersion>4.0.0</modelVersion>
4 <parent>
5 <groupId>org.argeo.slc</groupId>
6 <artifactId>argeo-slc</artifactId>
7 <version>0.11.3-SNAPSHOT</version>
8 <relativePath>../../org.argeo.slc</relativePath>
9 </parent>
10 <artifactId>org.argeo.slc.siteserver</artifactId>
11 <packaging>pom</packaging>
12 <name>Argeo SLC Site server</name>
13 <properties>
14 <spring-osgi.version>1.1.2</spring-osgi.version>
15 <spring.version>2.5.5</spring.version>
16 </properties>
17 <build>
18 <plugins>
19 <plugin>
20 <groupId>org.apache.maven.plugins</groupId>
21 <artifactId>maven-dependency-plugin</artifactId>
22 <configuration>
23 <includeTypes>war</includeTypes>
24 <stripVersion>true</stripVersion>
25 <overWriteReleases>true</overWriteReleases>
26 <overWriteSnapshots>true</overWriteSnapshots>
27 </configuration>
28 </plugin>
29 <plugin>
30 <groupId>org.mortbay.jetty</groupId>
31 <artifactId>maven-jetty-plugin</artifactId>
32 <configuration>
33 <webApp>${project.build.directory}/dependency/org.argeo.slc.webapp.war</webApp>
34 <scanIntervalSeconds>0</scanIntervalSeconds>
35 <webDefaultXml>../../org.argeo.slc.webapp/src/main/config/jetty/webdefault.xml</webDefaultXml>
36 <jettyConfig>src/test/config/jetty/jetty.xml</jettyConfig>
37 <systemProperties>
38 <systemProperty>
39 <!-- Archiva home -->
40 <name>appserver.base</name>
41 <value>target</value>
42 </systemProperty>
43 <systemProperty>
44 <!-- Archiva home -->
45 <name>appserver.home</name>
46 <value>target</value>
47 </systemProperty>
48 </systemProperties>
49
50 </configuration>
51 </plugin>
52
53 <plugin>
54 <artifactId>maven-dependency-plugin</artifactId>
55 <executions>
56 <execution>
57 <id>copy</id>
58 <phase>initialize</phase>
59 <goals>
60 <goal>copy</goal>
61 </goals>
62 <configuration>
63 <outputDirectory>${project.build.directory}/equinox</outputDirectory>
64 <stripVersion>true</stripVersion>
65 <artifactItems>
66 <artifactItem>
67 <groupId>org.eclipse.osgi</groupId>
68 <artifactId>org.eclipse.osgi</artifactId>
69 <version>${version.equinox}</version>
70 </artifactItem>
71 <artifactItem>
72 <groupId>org.argeo.slc.runtime</groupId>
73 <artifactId>org.argeo.slc.osgiboot</artifactId>
74 <version>${project.version}</version>
75 </artifactItem>
76 <artifactItem>
77 <groupId>org.argeo.slc.runtime</groupId>
78 <artifactId>org.argeo.slc.osgiboot</artifactId>
79 <version>${project.version}</version>
80 <type>xml</type>
81 <classifier>osgiboot</classifier>
82 </artifactItem>
83 <!-- For Hibernate -->
84 <artifactItem>
85 <groupId>org.objectweb.asm</groupId>
86 <artifactId>com.springsource.org.objectweb.asm</artifactId>
87 <version>1.5.3</version>
88 </artifactItem>
89 <artifactItem>
90 <groupId>org.objectweb.asm</groupId>
91 <artifactId>com.springsource.org.objectweb.asm.attrs</artifactId>
92 <version>1.5.3</version>
93 </artifactItem>
94 </artifactItems>
95 </configuration>
96 </execution>
97 </executions>
98 </plugin>
99 <plugin>
100 <artifactId>maven-antrun-plugin</artifactId>
101 <configuration>
102 <tasks>
103
104 <property name="equinoxDir" location="${project.build.directory}/equinox" />
105
106 <property name="mavenClasspath" refid="maven.compile.classpath" />
107 <!--
108 <property name="jar.asm.153" location="${user.home}/.m2/repository/org/objectweb/asm/com.springsource.org.objectweb.asm/1.5.3/com.springsource.org.objectweb.asm-1.5.3.jar" />
109 <property name="jar.asm.attrs.153" location="${user.home}/.m2/repository/org/objectweb/asm/com.springsource.org.objectweb.asm.attrs/1.5.3/com.springsource.org.objectweb.asm.attrs-1.5.3.jar" />
110 -->
111 <property name="jar.asm.153" location="${equinoxDir}/com.springsource.org.objectweb.asm.jar" />
112 <property name="jar.asm.attrs.153" location="${equinoxDir}/com.springsource.org.objectweb.asm.attrs.jar" />
113
114 <property name="bundle.argeo.ria" location="../../org.argeo.slc.webapp/src/main/webapp" />
115
116 <property name="slc.osgi.locations" value="${bundle.argeo.ria}${path.separator}${jar.asm.153}${path.separator}${jar.asm.attrs.153}${path.separator}${mavenClasspath}" />
117
118 <property name="slc.osgi.devBases"
119 value="${user.dir}/bundles,${user.dir}/../../demo/site" />
120 <property name="slc.osgi.devPatterns"
121 value="*" />
122 <property name="slc.osgi.start"
123 value="org.springframework.osgi.catalina.start.osgi,org.springframework.bundle.osgi.extender,org.springframework.bundle.osgi.web.extender,org.springframework.osgi.samples.simplewebapp,org.argeo.slc.server.activemq,org.argeo.slc.server.hibernate,org.argeo.slc.webapp,org.argeo.slc.demo.basic,org.argeo.slc.demo.manager" />
124
125 <property name="javaCommand"
126 location="${java.home}${file.separator}bin${file.separator}java" />
127 <ant
128 antfile="${equinoxDir}/org.argeo.slc.osgiboot-osgiboot.xml" />
129
130 </tasks>
131 </configuration>
132 </plugin>
133 <plugin>
134 <artifactId>maven-dependency-plugin</artifactId>
135 <executions>
136 <execution>
137 <id>manager</id>
138 <phase>initialize</phase>
139 <goals>
140 <goal>list</goal>
141 </goals>
142 <configuration>
143 <outputFile>target/server.maven</outputFile>
144 </configuration>
145 </execution>
146 </executions>
147 </plugin>
148
149
150 </plugins>
151 </build>
152 <dependencies>
153 <!--
154 <dependency> <groupId>org.argeo.slc</groupId>
155 <artifactId>org.argeo.slc.webapp</artifactId> <type>war</type>
156 </dependency> <dependency> <groupId>org.apache.archiva</groupId>
157 <artifactId>archiva-webapp</artifactId> <type>war</type>
158 </dependency>
159 -->
160
161 <!-- OSGI TESTS -->
162
163 <dependency>
164 <groupId>org.argeo.slc.runtime</groupId>
165 <artifactId>org.argeo.slc.server</artifactId>
166 </dependency>
167
168
169 <dependency>
170 <groupId>org.hsqldb</groupId>
171 <artifactId>com.springsource.org.hsqldb</artifactId>
172 </dependency>
173
174 <!-- OSGi integration -->
175 <dependency>
176 <groupId>org.eclipse.osgi</groupId>
177 <artifactId>org.eclipse.osgi</artifactId>
178 </dependency>
179
180 <dependency>
181 <groupId>javax.annotation</groupId>
182 <artifactId>com.springsource.javax.annotation</artifactId>
183 </dependency>
184 <dependency>
185 <groupId>javax.persistence</groupId>
186 <artifactId>com.springsource.javax.persistence</artifactId>
187 </dependency>
188 <dependency>
189 <groupId>javax.xml.ws</groupId>
190 <artifactId>com.springsource.javax.xml.ws</artifactId>
191 </dependency>
192 <dependency>
193 <groupId>javax.xml.bind</groupId>
194 <artifactId>com.springsource.javax.xml.bind</artifactId>
195 </dependency>
196
197 <dependency>
198 <groupId>org.aopalliance</groupId>
199 <artifactId>com.springsource.org.aopalliance</artifactId>
200 <version>1.0.0</version>
201 </dependency>
202
203
204
205 <dependency>
206 <groupId>org.objectweb.asm</groupId>
207 <artifactId>com.springsource.org.objectweb.asm</artifactId>
208 <version>1.5.3</version>
209 </dependency>
210 <dependency>
211 <groupId>org.objectweb.asm</groupId>
212 <artifactId>com.springsource.org.objectweb.asm.attrs</artifactId>
213 <version>1.5.3</version>
214 </dependency>
215 <dependency>
216 <groupId>org.objectweb.asm</groupId>
217 <artifactId>com.springsource.org.objectweb.asm</artifactId>
218 <version>2.2.0</version>
219 </dependency>
220 <dependency>
221 <groupId>org.objectweb.asm</groupId>
222 <artifactId>com.springsource.org.objectweb.asm.attrs</artifactId>
223 <version>2.2.0</version>
224 </dependency>
225
226 <!--
227 <dependency> <groupId>org.springframework.osgi</groupId>
228 <artifactId>org.springframework.osgi.web.extender</artifactId>
229 </dependency> <dependency>
230 <groupId>org.springframework.osgi</groupId>
231 <artifactId>org.springframework.osgi.extender</artifactId>
232 </dependency> <dependency>
233 <groupId>org.springframework.osgi</groupId>
234 <artifactId>org.springframework.osgi.web</artifactId> </dependency>
235 -->
236 <!--
237 Using springsource repo <dependency>
238 <groupId>org.springframework.osgi</groupId>
239 <artifactId>org.springframework.osgi.web.extender</artifactId>
240 </dependency> <dependency>
241 <groupId>org.springframework.osgi</groupId>
242 <artifactId>org.springframework.osgi.extender</artifactId>
243 </dependency> <dependency>
244 <groupId>org.springframework.osgi</groupId>
245 <artifactId>org.springframework.osgi.web</artifactId> </dependency>
246 <dependency> <groupId>org.apache.catalina</groupId>
247 <artifactId>com.springsource.org.apache.catalina</artifactId>
248 </dependency> <dependency> <groupId>org.argeo.slc.dep.osgi</groupId>
249 <artifactId>org.argeo.dep.osgi.catalina.start</artifactId>
250 </dependency> <dependency> <groupId>javax.servlet</groupId>
251 <artifactId>com.springsource.javax.servlet.jsp</artifactId>
252 </dependency> <dependency> <groupId>javax.el</groupId>
253 <artifactId>com.springsource.javax.el</artifactId> </dependency>
254 <dependency> <groupId>javax.servlet</groupId>
255 <artifactId>com.springsource.javax.servlet.jsp.jstl</artifactId>
256 </dependency> <dependency> <groupId>org.apache.taglibs</groupId>
257 <artifactId>com.springsource.org.apache.taglibs.standard</artifactId>
258 </dependency>
259 -->
260
261 <!-- Using spring osgi repo -->
262 <dependency>
263 <groupId>org.apache.commons</groupId>
264 <artifactId>com.springsource.org.apache.commons.logging</artifactId>
265 </dependency>
266 <dependency>
267 <groupId>org.apache.log4j</groupId>
268 <artifactId>
269 com.springsource.org.apache.log4j
270 </artifactId>
271 </dependency>
272
273 <dependency>
274 <groupId>org.springframework.osgi</groupId>
275 <artifactId>catalina.osgi</artifactId>
276 <version>5.5.23-SNAPSHOT</version>
277 </dependency>
278
279 <dependency>
280 <groupId>org.springframework.osgi</groupId>
281 <artifactId>catalina.start.osgi</artifactId>
282 <version>1.0.0</version>
283 </dependency>
284 <dependency>
285 <groupId>org.springframework.osgi</groupId>
286 <artifactId>jasper.osgi</artifactId>
287 <version>5.5.23-SNAPSHOT</version>
288 </dependency>
289
290 <dependency>
291 <groupId>org.springframework.osgi</groupId>
292 <artifactId>commons-el.osgi</artifactId>
293 <version>1.0-SNAPSHOT</version>
294 </dependency>
295
296 <dependency>
297 <groupId>org.springframework.osgi</groupId>
298 <artifactId>jstl.osgi</artifactId>
299 <version>1.1.2-SNAPSHOT</version>
300 </dependency>
301 <dependency>
302 <groupId>org.springframework.osgi</groupId>
303 <artifactId>servlet-api.osgi</artifactId>
304 <version>2.5-SNAPSHOT</version>
305 <type>jar</type>
306 </dependency>
307 <dependency>
308 <groupId>org.springframework.osgi</groupId>
309 <artifactId>jsp-api.osgi</artifactId>
310 <version>2.0-SNAPSHOT</version>
311 <type>jar</type>
312 </dependency>
313
314 <!-- -->
315 <dependency>
316 <groupId>org.springframework.osgi</groupId>
317 <artifactId>spring-osgi-web</artifactId>
318 <version>${spring-osgi.version}</version>
319 </dependency>
320
321 <dependency>
322 <groupId>org.springframework.osgi</groupId>
323 <artifactId>spring-osgi-web-extender</artifactId>
324 <version>${spring-osgi.version}</version>
325 </dependency>
326
327 <dependency>
328 <groupId>org.springframework.osgi</groupId>
329 <artifactId>spring-osgi-extender</artifactId>
330 <version>${spring-osgi.version}</version>
331 </dependency>
332
333
334 <dependency>
335 <groupId>org.springframework</groupId>
336 <artifactId>spring-web</artifactId>
337 <version>${spring.version}</version>
338 </dependency>
339 <dependency>
340 <groupId>org.springframework</groupId>
341 <artifactId>spring-context</artifactId>
342 <version>${spring.version}</version>
343 </dependency>
344
345 <dependency>
346 <groupId>org.springframework</groupId>
347 <artifactId>spring-webmvc</artifactId>
348 <version>${spring.version}</version>
349 </dependency>
350
351 <!-- Required in JDK 1.5 -->
352 <dependency>
353 <groupId>com.sun.xml</groupId>
354 <artifactId>
355 com.springsource.com.sun.xml.messaging.saaj
356 </artifactId>
357 </dependency>
358
359 <!-- For ActiveMQ Ajax -->
360 <dependency>
361 <groupId>org.mortbay.jetty</groupId>
362 <artifactId>com.springsource.org.mortbay.util</artifactId>
363 <version>6.1.9</version>
364 </dependency>
365
366 <dependency>
367 <groupId>com.thoughtworks.xstream</groupId>
368 <artifactId>com.springsource.com.thoughtworks.xstream</artifactId>
369 <version>1.2.2</version>
370 </dependency>
371
372 <!-- To launch OSGi -->
373 <dependency>
374 <groupId>org.argeo.slc</groupId>
375 <artifactId>org.argeo.slc.detached.launcher</artifactId>
376 <version>${project.version}</version>
377 </dependency>
378
379
380 <!-- For demo -->
381 <dependency>
382 <groupId>org.argeo.slc.runtime</groupId>
383 <artifactId>org.argeo.slc.support.equinox</artifactId>
384 </dependency>
385 <dependency>
386 <groupId>org.argeo.slc.runtime</groupId>
387 <artifactId>org.argeo.slc.support.activemq</artifactId>
388 </dependency>
389 <dependency>
390 <groupId>org.argeo.slc.runtime</groupId>
391 <artifactId>org.argeo.slc.support.castor</artifactId>
392 </dependency>
393 <dependency>
394 <groupId>org.argeo.slc.runtime</groupId>
395 <artifactId>org.argeo.slc.support.maven</artifactId>
396 <version>${project.version}</version>
397 </dependency>
398
399 </dependencies>
400
401 <repositories>
402 <repository>
403 <id>spring-osgified-artifacts</id>
404 <snapshots>
405 <enabled>true</enabled>
406 </snapshots>
407 <name>Springframework Maven OSGified Artifacts Repository</name>
408 <url>http://maven.springframework.org/osgi</url>
409 </repository>
410 </repositories>
411 </project>