]> git.argeo.org Git - gpl/argeo-slc.git/blob - demo/pom.xml
Introduce execution flow test case
[gpl/argeo-slc.git] / demo / 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.4-SNAPSHOT</version>
8 <relativePath>..</relativePath>
9 </parent>
10 <groupId>org.argeo.slc</groupId>
11 <artifactId>demo</artifactId>
12 <packaging>pom</packaging>
13 <name>Argeo SLC Demo</name>
14 <modules>
15 <module>site</module>
16 </modules>
17 <build>
18 <plugins>
19 <plugin>
20 <groupId>org.argeo.maven.plugins</groupId>
21 <artifactId>maven-argeo-osgi-plugin</artifactId>
22 <version>${version.maven-argeo-osgi}</version>
23 <configuration>
24 <argsToAppend>
25 <arg>-clean</arg>
26 </argsToAppend>
27 </configuration>
28 </plugin>
29 <plugin>
30 <groupId>org.apache.maven.plugins</groupId>
31 <artifactId>maven-dependency-plugin</artifactId>
32 <executions>
33 <execution>
34 <id>copy-dependencies</id>
35 <phase>pre-integration-test</phase>
36 <goals>
37 <goal>copy-dependencies</goal>
38 </goals>
39 <configuration>
40 <includeScope>compile</includeScope>
41 <includeTypes>jar</includeTypes>
42 </configuration>
43 </execution>
44 </executions>
45 </plugin>
46 <plugin>
47 <groupId>org.apache.maven.plugins</groupId>
48 <artifactId>maven-surefire-plugin</artifactId>
49 <configuration>
50 <skipTests>true</skipTests>
51 </configuration>
52 <executions>
53 <execution>
54 <id>surefire-it</id>
55 <phase>integration-test</phase>
56 <goals>
57 <goal>test</goal>
58 </goals>
59 <configuration>
60 <skipTests>false</skipTests>
61 </configuration>
62 </execution>
63 </executions>
64 </plugin>
65 </plugins>
66 </build>
67 <dependencies>
68 <dependency>
69 <groupId>org.argeo.slc.runtime</groupId>
70 <artifactId>org.argeo.slc.osgiboot</artifactId>
71 </dependency>
72
73 <dependency>
74 <groupId>org.argeo.slc.dep</groupId>
75 <artifactId>org.argeo.slc.dep.agent</artifactId>
76 <version>${project.version}</version>
77 </dependency>
78
79 <!-- Unit Tests -->
80 <dependency>
81 <groupId>org.argeo.slc.runtime</groupId>
82 <artifactId>org.argeo.slc.unit</artifactId>
83 <scope>test</scope>
84 </dependency>
85
86 </dependencies>
87
88 <profiles>
89 <profile>
90 <id>server</id>
91 <build>
92 <plugins>
93 <plugin>
94 <groupId>org.argeo.maven.plugins</groupId>
95 <artifactId>maven-argeo-osgi-plugin</artifactId>
96 <configuration>
97 <execDir>target/exec/server</execDir>
98 <systemProperties>
99 <slc.osgi.start>
100 org.springframework.osgi.extender,
101 org.argeo.slc.server.hsqldb,
102 org.argeo.slc.server.main,
103 org.argeo.slc.ria
104 </slc.osgi.start>
105 <slc.osgi.bundles>
106 ${basedir}/../modules/server;in=*;ex=pom.xml;ex=target
107 </slc.osgi.bundles>
108 </systemProperties>
109 </configuration>
110 </plugin>
111 </plugins>
112 </build>
113 <dependencies>
114 <dependency>
115 <groupId>org.argeo.slc.dep</groupId>
116 <artifactId>org.argeo.slc.dep.server</artifactId>
117 <version>${project.version}</version>
118 </dependency>
119 <dependency>
120 <groupId>org.argeo.slc.server</groupId>
121 <artifactId>org.argeo.slc.ria</artifactId>
122 </dependency>
123 </dependencies>
124 </profile>
125 <profile>
126 <id>agent</id>
127 <build>
128 <plugins>
129 <plugin>
130 <groupId>org.argeo.maven.plugins</groupId>
131 <artifactId>maven-argeo-osgi-plugin</artifactId>
132 <configuration>
133 <execDir>target/exec/agent</execDir>
134 <systemProperties>
135 <slc.osgi.start>
136 org.springframework.osgi.extender,
137 org.argeo.slc.support.equinox,
138 org.argeo.slc.agent,
139 org.argeo.slc.agent.jms
140 </slc.osgi.start>
141 <slc.osgi.bundles>
142 ${basedir}/site;in=*;ex=pom.xml;ex=target,
143 ${basedir}/../modules/agent;in=*;ex=pom.xml;ex=target
144 </slc.osgi.bundles>
145 </systemProperties>
146 </configuration>
147 </plugin>
148 </plugins>
149 </build>
150 <dependencies>
151 <dependency>
152 <groupId>org.argeo.slc.dep</groupId>
153 <artifactId>org.argeo.slc.dep.agent</artifactId>
154 <version>${project.version}</version>
155 </dependency>
156 <dependency>
157 <groupId>org.argeo.slc.runtime</groupId>
158 <artifactId>org.argeo.slc.support.ant</artifactId>
159 <version>${project.version}</version>
160 </dependency>
161 </dependencies>
162 </profile>
163 <profile>
164 <id>server_mysql</id>
165 <build>
166 <plugins>
167 <plugin>
168 <groupId>org.argeo.maven.plugins</groupId>
169 <artifactId>maven-argeo-osgi-plugin</artifactId>
170 <configuration>
171 <execDir>target/exec/server</execDir>
172 <jvmArgs>
173 <jvmArg>-Xmx256m</jvmArg>
174 <!--
175 <jvmArg>-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=8000</jvmArg>
176 -->
177 </jvmArgs>
178 <systemProperties>
179 <slc.osgi.start>
180 org.argeo.dep.osgi.catalina.start,
181 org.springframework.osgi.extender,
182 org.springframework.osgi.web.extender,
183 org.springframework.osgi.samples.simplewebapp,
184 org.argeo.slc.server.activemq,
185 org.argeo.slc.server.mysql,
186 org.argeo.slc.server.hibernate,
187 org.argeo.slc.server.services,
188 org.argeo.slc.server.jms,
189 org.argeo.slc.webapp,
190 org.argeo.slc.ria
191 </slc.osgi.start>
192 </systemProperties>
193 </configuration>
194 </plugin>
195 </plugins>
196 </build>
197 <dependencies>
198 <dependency>
199 <groupId>org.argeo.slc.dep</groupId>
200 <artifactId>org.argeo.slc.dep.server</artifactId>
201 <version>${project.version}</version>
202 </dependency>
203 <dependency>
204 <groupId>org.argeo.slc.server</groupId>
205 <artifactId>org.argeo.slc.ria</artifactId>
206 </dependency>
207 </dependencies>
208 </profile>
209 </profiles>
210 </project>