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