]> git.argeo.org Git - gpl/argeo-slc.git/blob - demo/pom.xml
Modular distributions
[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 <!--
74 Unit Tests -->
75 <dependency>
76 <groupId>org.argeo.slc.runtime</groupId>
77 <artifactId>org.argeo.slc.unit</artifactId>
78 <scope>test</scope>
79 </dependency>
80
81
82 </dependencies>
83
84 <profiles>
85 <profile>
86 <id>server</id>
87 <build>
88 <plugins>
89 <plugin>
90 <groupId>org.argeo.maven.plugins</groupId>
91 <artifactId>maven-argeo-osgi-plugin</artifactId>
92 <configuration>
93 <execDir>target/exec/server</execDir>
94 <systemProperties>
95 <slc.osgi.start>
96 org.springframework.osgi.extender,
97 org.argeo.slc.server.hsqldb,
98 org.argeo.slc.server.main,
99 org.argeo.slc.ria
100 </slc.osgi.start>
101 <slc.osgi.bundles>
102 ${user.home}/dev/src/sparta/dist/runtime/target;in=*.jar,
103 ${basedir}/site;in=*;ex=pom.xml;ex=target,
104 ${basedir}/../modules/server;in=*;ex=pom.xml;ex=target;ex=.*,
105 ${basedir}/../modules/agent;in=*;ex=pom.xml;ex=target
106 </slc.osgi.bundles>
107 </systemProperties>
108 </configuration>
109 </plugin>
110 </plugins>
111 </build>
112 <dependencies>
113 <dependency>
114 <groupId>org.argeo.slc.dep</groupId>
115 <artifactId>org.argeo.slc.dep.server</artifactId>
116 <version>${project.version}</version>
117 </dependency>
118 <dependency>
119 <groupId>org.argeo.slc.server</groupId>
120 <artifactId>org.argeo.slc.ria</artifactId>
121 </dependency>
122 </dependencies>
123 </profile>
124 <profile>
125 <id>agent</id>
126 <build>
127 <plugins>
128 <plugin>
129 <groupId>org.argeo.maven.plugins</groupId>
130 <artifactId>maven-argeo-osgi-plugin</artifactId>
131 <configuration>
132 <execDir>target/exec/agent</execDir>
133 <systemProperties>
134 <slc.osgi.start>
135 org.springframework.osgi.extender,
136 org.argeo.slc.support.equinox,
137 org.argeo.slc.agent,
138 org.argeo.slc.agent.jms
139 </slc.osgi.start>
140 <slc.osgi.bundles>
141 ${basedir}/site;in=*;ex=pom.xml;ex=target,
142 ${basedir}/../modules/agent;in=*;ex=pom.xml;ex=target
143 </slc.osgi.bundles>
144 </systemProperties>
145 </configuration>
146 </plugin>
147 </plugins>
148 </build>
149 <dependencies>
150 <dependency>
151 <groupId>org.argeo.slc.dep</groupId>
152 <artifactId>org.argeo.slc.dep.agent</artifactId>
153 <version>${project.version}</version>
154 </dependency>
155 <dependency>
156 <groupId>org.argeo.slc.runtime</groupId>
157 <artifactId>org.argeo.slc.support.ant</artifactId>
158 <version>${project.version}</version>
159 </dependency>
160 </dependencies>
161 </profile>
162 <profile>
163 <id>detached</id>
164 <build>
165 <plugins>
166 <plugin>
167 <groupId>org.argeo.maven.plugins</groupId>
168 <artifactId>maven-argeo-osgi-plugin</artifactId>
169 <configuration>
170 <execDir>target/exec/detached</execDir>
171 <fork>true</fork>
172 <systemProperties>
173 <slc.osgi.start>
174 org.springframework.osgi.extender,
175 org.argeo.slc.detached,
176 org.argeo.slc.demo.det
177 </slc.osgi.start>
178 <slc.osgi.bundles>
179 ${basedir}/site;in=org.argeo.slc.demo.det;ex=pom.xml;ex=target,
180 ${basedir}/site;in=org.argeo.slc.demo.log4j;ex=pom.xml;ex=target,
181 </slc.osgi.bundles>
182 <javax.xml.parsers.DocumentBuilderFactory>org.apache.xerces.jaxp.DocumentBuilderFactoryImpl</javax.xml.parsers.DocumentBuilderFactory>
183 </systemProperties>
184 </configuration>
185 </plugin>
186 </plugins>
187 </build>
188 <dependencies>
189 <dependency>
190 <groupId>org.argeo.slc.dep</groupId>
191 <artifactId>org.argeo.slc.dep.detached</artifactId>
192 <version>${project.version}</version>
193 </dependency>
194 <dependency>
195 <groupId>net.sourceforge.mx4j</groupId>
196 <artifactId>com.springsource.mx4j</artifactId>
197 </dependency>
198 <dependency>
199 <groupId>org.eclipse.osgi</groupId>
200 <artifactId>org.eclipse.osgi</artifactId>
201 <version>3.5.0.v20090311-1300</version>
202 </dependency>
203 </dependencies>
204 </profile>
205 <profile>
206 <id>standalone</id>
207 <build>
208 <plugins>
209 <plugin>
210 <groupId>org.argeo.maven.plugins</groupId>
211 <artifactId>maven-argeo-osgi-plugin</artifactId>
212 <configuration>
213 <execDir>target/exec/agent</execDir>
214 <systemProperties>
215 <slc.osgi.start>
216 org.springframework.osgi.extender,
217 org.argeo.slc.support.equinox,
218 org.argeo.slc.agent
219 </slc.osgi.start>
220 <slc.osgi.bundles>
221 ${basedir}/site;in=*;ex=pom.xml;ex=target,
222 ${basedir}/../modules/agent;in=*;ex=pom.xml;ex=target
223 </slc.osgi.bundles>
224 </systemProperties>
225 </configuration>
226 </plugin>
227 </plugins>
228 </build>
229 <dependencies>
230 <dependency>
231 <groupId>org.argeo.slc.dep</groupId>
232 <artifactId>org.argeo.slc.dep.agent</artifactId>
233 <version>${project.version}</version>
234 </dependency>
235 <dependency>
236 <groupId>org.argeo.slc.runtime</groupId>
237 <artifactId>org.argeo.slc.support.ant</artifactId>
238 <version>${project.version}</version>
239 </dependency>
240 </dependencies>
241 </profile>
242 <profile>
243 <id>server_mysql</id>
244 <build>
245 <plugins>
246 <plugin>
247 <groupId>org.argeo.maven.plugins</groupId>
248 <artifactId>maven-argeo-osgi-plugin</artifactId>
249 <configuration>
250 <execDir>target/exec/server</execDir>
251 <jvmArgs>
252 <jvmArg>-Xmx256m</jvmArg>
253 <!--
254 <jvmArg>-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=8000</jvmArg>
255 -->
256 </jvmArgs>
257 <systemProperties>
258 <slc.osgi.start>
259 org.argeo.dep.osgi.catalina.start,
260 org.springframework.osgi.extender,
261 org.springframework.osgi.web.extender,
262 org.springframework.osgi.samples.simplewebapp,
263 org.argeo.slc.server.activemq,
264 org.argeo.slc.server.mysql,
265 org.argeo.slc.server.hibernate,
266 org.argeo.slc.server.services,
267 org.argeo.slc.server.jms,
268 org.argeo.slc.webapp,
269 org.argeo.slc.ria
270 </slc.osgi.start>
271 </systemProperties>
272 </configuration>
273 </plugin>
274 </plugins>
275 </build>
276 <dependencies>
277 <dependency>
278 <groupId>org.argeo.slc.dep</groupId>
279 <artifactId>org.argeo.slc.dep.server</artifactId>
280 <version>${project.version}</version>
281 </dependency>
282 <dependency>
283 <groupId>org.argeo.slc.server</groupId>
284 <artifactId>org.argeo.slc.ria</artifactId>
285 </dependency>
286 </dependencies>
287 </profile>
288 </profiles>
289 </project>