]> git.argeo.org Git - gpl/argeo-slc.git/blob - integration-tests/org.argeo.slc.it.webapp/pom.xml
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 <pause>5000</pause>
39 <argsToAppend>
40 <arg>-clean</arg>
41 </argsToAppend>
42 <systemProperties>
43 <slc.osgi.bundles>${basedir}/../../demo/site;in=*;ex=target</slc.osgi.bundles>
44 <slc.osgi.start>
45 org.argeo.dep.osgi.catalina.start,
46 org.springframework.osgi.extender,
47 org.springframework.osgi.web.extender,
48 org.springframework.osgi.samples.simplewebapp,
49 org.argeo.slc.server.activemq,
50 org.argeo.slc.server.hsqldb,
51 org.argeo.slc.server.hibernate,
52 org.argeo.slc.server.services,
53 org.argeo.slc.server.jms,
54 org.argeo.slc.webapp,
55 org.argeo.slc.ria
56 </slc.osgi.start>
57 </systemProperties>
58 </configuration>
59 </execution>
60 <execution>
61 <id>equinox-shutdown</id>
62 <phase>post-integration-test</phase>
63 <goals>
64 <goal>equinox-shutdown</goal>
65 </goals>
66 </execution>
67 </executions>
68 </plugin>
69 <plugin>
70 <groupId>org.apache.maven.plugins</groupId>
71 <artifactId>maven-surefire-plugin</artifactId>
72 <configuration>
73 <skipTests>true</skipTests>
74 </configuration>
75 <executions>
76 <execution>
77 <id>surefire-it</id>
78 <phase>integration-test</phase>
79 <goals>
80 <goal>test</goal>
81 </goals>
82 <configuration>
83 <skipTests>false</skipTests>
84 </configuration>
85 </execution>
86 </executions>
87 </plugin>
88 </plugins>
89 </build>
90 <dependencies>
91 <!-- Server -->
92 <dependency>
93 <groupId>org.argeo.slc.server</groupId>
94 <artifactId>bundles</artifactId>
95 <version>${project.version}</version>
96 <type>pom</type>
97 </dependency>
98 <dependency>
99 <groupId>org.argeo.slc.runtime</groupId>
100 <artifactId>org.argeo.slc.support.equinox</artifactId>
101 </dependency>
102
103
104 <!-- TEST -->
105 <dependency>
106 <groupId>org.argeo.slc.runtime</groupId>
107 <artifactId>org.argeo.slc.support.equinox</artifactId>
108 <classifier>tests</classifier>
109 <scope>test</scope>
110 </dependency>
111 <dependency>
112 <groupId>org.springframework.osgi</groupId>
113 <artifactId>org.springframework.osgi.test</artifactId>
114 <scope>test</scope>
115 </dependency>
116 <dependency>
117 <groupId>org.argeo.slc.runtime</groupId>
118 <artifactId>org.argeo.slc.osgiboot</artifactId>
119 <scope>test</scope>
120 </dependency>
121
122 </dependencies>
123 </project>