]> git.argeo.org Git - gpl/argeo-slc.git/blob - integration-tests/org.argeo.slc.it.webapp/pom.xml
Start implementing OSGi integration tests
[gpl/argeo-slc.git] / integration-tests / org.argeo.slc.it.webapp / 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.it</groupId>
6 <artifactId>argeo-slc-it</artifactId>
7 <version>0.11.3-SNAPSHOT</version>
8 <relativePath>..</relativePath>
9 </parent>
10 <artifactId>org.argeo.slc.it.webapp</artifactId>
11 <packaging>jar</packaging>
12 <name>Argeo SLC Web Application Integration Tests</name>
13 <build>
14 <plugins>
15 <!--
16 <plugin> <groupId>org.apache.maven.plugins</groupId>
17 <artifactId>maven-dependency-plugin</artifactId> <executions>
18 <execution> <id>copy-dependencies</id>
19 <phase>pre-integration-test</phase> <goals>
20 <goal>copy-dependencies</goal> </goals> <configuration>
21 <overWriteReleases>true</overWriteReleases>
22 <overWriteSnapshots>true</overWriteSnapshots> </configuration>
23 </execution> </executions> </plugin>
24 -->
25 <plugin>
26 <groupId>org.argeo.slc.maven</groupId>
27 <artifactId>maven-argeo-osgi-plugin</artifactId>
28 <version>${version.maven-argeo-osgi}</version>
29 <executions>
30 <execution>
31 <id>equinox-start</id>
32 <phase>pre-integration-test</phase>
33 <goals>
34 <goal>equinox</goal>
35 </goals>
36 <configuration>
37 <wait>false</wait>
38 <argsToAppend>
39 <arg>-clean</arg>
40 </argsToAppend>
41 <systemProperties>
42 <slc.osgi.bundles>${basedir}/../../demo/site;in=*;ex=target</slc.osgi.bundles>
43 <slc.osgi.start>
44 org.argeo.dep.osgi.catalina.start,
45 org.springframework.osgi.extender,
46 org.springframework.osgi.web.extender,
47 org.springframework.osgi.samples.simplewebapp,
48 org.argeo.slc.server.activemq,
49 org.argeo.slc.server.hsqldb,
50 org.argeo.slc.server.hibernate,
51 org.argeo.slc.server.services,
52 org.argeo.slc.server.jms,
53 org.argeo.slc.webapp,
54 org.argeo.slc.ria
55 </slc.osgi.start>
56 </systemProperties>
57 </configuration>
58 </execution>
59 <execution>
60 <id>equinox-shutdown</id>
61 <phase>post-integration-test</phase>
62 <goals>
63 <goal>equinox-shutdown</goal>
64 </goals>
65 </execution>
66 </executions>
67 </plugin>
68 <plugin>
69 <groupId>org.apache.maven.plugins</groupId>
70 <artifactId>maven-surefire-plugin</artifactId>
71 <configuration>
72 <skipTests>true</skipTests>
73 </configuration>
74 <executions>
75 <execution>
76 <id>surefire-it</id>
77 <phase>integration-test</phase>
78 <goals>
79 <goal>test</goal>
80 </goals>
81 <configuration>
82 <skipTests>false</skipTests>
83 </configuration>
84 </execution>
85 </executions>
86 </plugin>
87 </plugins>
88 </build>
89 <dependencies>
90 <!-- Server -->
91 <dependency>
92 <groupId>org.argeo.slc.server</groupId>
93 <artifactId>bundles</artifactId>
94 <version>${project.version}</version>
95 <type>pom</type>
96 </dependency>
97 <dependency>
98 <groupId>org.argeo.slc.runtime</groupId>
99 <artifactId>org.argeo.slc.support.equinox</artifactId>
100 </dependency>
101
102
103 <!-- TEST -->
104 <dependency>
105 <groupId>org.argeo.slc.runtime</groupId>
106 <artifactId>org.argeo.slc.server</artifactId>
107 <classifier>tests</classifier>
108 <scope>test</scope>
109 </dependency>
110 <dependency>
111 <groupId>org.argeo.slc.runtime</groupId>
112 <artifactId>org.argeo.slc.osgiboot</artifactId>
113 <scope>test</scope>
114 </dependency>
115 </dependencies>
116 </project>