]> git.argeo.org Git - gpl/argeo-slc.git/blob - demo/pom.xml
type in comment
[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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
2 <modelVersion>4.0.0</modelVersion>
3 <parent>
4 <groupId>org.argeo.slc</groupId>
5 <artifactId>argeo-slc</artifactId>
6 <version>0.12.1-SNAPSHOT</version>
7 <relativePath>..</relativePath>
8 </parent>
9 <groupId>org.argeo.slc</groupId>
10 <artifactId>demo</artifactId>
11 <packaging>pom</packaging>
12 <name>SLC Demo</name>
13 <modules>
14 <module>site</module>
15 </modules>
16 <build>
17 <plugins>
18 <plugin>
19 <groupId>org.argeo.maven.plugins</groupId>
20 <artifactId>maven-argeo-osgi-plugin</artifactId>
21 <version>${version.maven-argeo-osgi}</version>
22 <configuration>
23 <argsToAppend>
24 <arg>-clean</arg>
25 </argsToAppend>
26 </configuration>
27 </plugin>
28 <plugin>
29 <groupId>org.apache.maven.plugins</groupId>
30 <artifactId>maven-dependency-plugin</artifactId>
31 <executions>
32 <execution>
33 <id>copy-dependencies</id>
34 <phase>pre-integration-test</phase>
35 <goals>
36 <goal>copy-dependencies</goal>
37 </goals>
38 <configuration>
39 <includeScope>compile</includeScope>
40 <includeTypes>jar</includeTypes>
41 </configuration>
42 </execution>
43 </executions>
44 </plugin>
45 <plugin>
46 <groupId>org.apache.maven.plugins</groupId>
47 <artifactId>maven-surefire-plugin</artifactId>
48 <configuration>
49 <skipTests>true</skipTests>
50 </configuration>
51 <executions>
52 <execution>
53 <id>surefire-it</id>
54 <phase>integration-test</phase>
55 <goals>
56 <goal>test</goal>
57 </goals>
58 <configuration>
59 <skipTests>false</skipTests>
60 </configuration>
61 </execution>
62 </executions>
63 </plugin>
64 </plugins>
65 </build>
66 <dependencies>
67 <dependency>
68 <groupId>org.argeo.slc.runtime</groupId>
69 <artifactId>org.argeo.slc.osgiboot</artifactId>
70 </dependency>
71
72 <!--
73 Unit Tests -->
74 <dependency>
75 <groupId>org.argeo.slc.runtime</groupId>
76 <artifactId>org.argeo.slc.unit</artifactId>
77 <scope>test</scope>
78 </dependency>
79
80
81 </dependencies>
82
83 <profiles>
84 <profile>
85 <id>server</id>
86 <build>
87 <plugins>
88 <plugin>
89 <groupId>org.argeo.maven.plugins</groupId>
90 <artifactId>maven-argeo-osgi-plugin</artifactId>
91 <configuration>
92 <execDir>target/exec/server</execDir>
93 <systemProperties>
94 <slc.osgi.start>
95 org.springframework.osgi.extender,
96 org.argeo.slc.server.hsqldb,
97 org.argeo.slc.server.main,
98 org.argeo.slc.ria
99 </slc.osgi.start>
100 <slc.osgi.bundles>
101 ${basedir}/site;in=*;ex=pom.xml;ex=target,
102 ${basedir}/../modules/server;in=*;ex=pom.xml;ex=target;ex=.*,
103 ${basedir}/../modules/agent;in=*;ex=pom.xml;ex=target
104 </slc.osgi.bundles>
105 </systemProperties>
106 </configuration>
107 </plugin>
108 </plugins>
109 </build>
110 <dependencies>
111 <dependency>
112 <groupId>org.argeo.slc.dep</groupId>
113 <artifactId>org.argeo.slc.dep.server</artifactId>
114 <version>${project.version}</version>
115 </dependency>
116 <dependency>
117 <groupId>org.argeo.slc.server</groupId>
118 <artifactId>org.argeo.slc.ria</artifactId>
119 </dependency>
120 </dependencies>
121 </profile>
122 <profile>
123 <id>agent</id>
124 <build>
125 <plugins>
126 <plugin>
127 <groupId>org.argeo.maven.plugins</groupId>
128 <artifactId>maven-argeo-osgi-plugin</artifactId>
129 <configuration>
130 <execDir>target/exec/agent</execDir>
131 <systemProperties>
132 <slc.osgi.start>
133 org.springframework.osgi.extender,
134 org.argeo.slc.support.equinox,
135 org.argeo.slc.agent,
136 org.argeo.slc.agent.jms
137 </slc.osgi.start>
138 <slc.osgi.bundles>
139 ${basedir}/site;in=*;ex=pom.xml;ex=target,
140 ${basedir}/../modules/agent;in=*;ex=pom.xml;ex=target
141 </slc.osgi.bundles>
142 </systemProperties>
143 </configuration>
144 </plugin>
145 </plugins>
146 </build>
147 <dependencies>
148 <dependency>
149 <groupId>org.argeo.slc.dep</groupId>
150 <artifactId>org.argeo.slc.dep.agent</artifactId>
151 <version>${project.version}</version>
152 </dependency>
153 <dependency>
154 <groupId>org.argeo.slc.runtime</groupId>
155 <artifactId>org.argeo.slc.support.ant</artifactId>
156 <version>${project.version}</version>
157 </dependency>
158 </dependencies>
159 </profile>
160 <profile>
161 <id>detached</id>
162 <build>
163 <plugins>
164 <plugin>
165 <groupId>org.argeo.maven.plugins</groupId>
166 <artifactId>maven-argeo-osgi-plugin</artifactId>
167 <configuration>
168 <execDir>target/exec/detached</execDir>
169 <fork>true</fork>
170 <systemProperties>
171 <slc.osgi.start>
172 org.springframework.osgi.extender,
173 org.argeo.slc.detached,
174 org.argeo.slc.demo.det
175 </slc.osgi.start>
176 <slc.osgi.bundles>
177 ${basedir}/site;in=org.argeo.slc.demo.det;ex=pom.xml;ex=target,
178 ${basedir}/site;in=org.argeo.slc.demo.log4j;ex=pom.xml;ex=target,
179 </slc.osgi.bundles>
180 <javax.xml.parsers.DocumentBuilderFactory>org.apache.xerces.jaxp.DocumentBuilderFactoryImpl</javax.xml.parsers.DocumentBuilderFactory>
181 </systemProperties>
182 </configuration>
183 </plugin>
184 </plugins>
185 </build>
186 <dependencies>
187 <dependency>
188 <groupId>org.argeo.slc.dep</groupId>
189 <artifactId>org.argeo.slc.dep.detached</artifactId>
190 <version>${project.version}</version>
191 </dependency>
192 <dependency>
193 <groupId>net.sourceforge.mx4j</groupId>
194 <artifactId>com.springsource.mx4j</artifactId>
195 </dependency>
196 <dependency>
197 <groupId>org.eclipse.osgi</groupId>
198 <artifactId>org.eclipse.osgi</artifactId>
199 <version>3.5.0.v20090311-1300</version>
200 </dependency>
201 </dependencies>
202 </profile>
203 <profile>
204 <id>standalone</id>
205 <build>
206 <plugins>
207 <plugin>
208 <groupId>org.argeo.maven.plugins</groupId>
209 <artifactId>maven-argeo-osgi-plugin</artifactId>
210 <configuration>
211 <execDir>target/exec/agent</execDir>
212 <systemProperties>
213 <slc.osgi.start>
214 org.springframework.osgi.extender,
215 org.argeo.slc.support.equinox,
216 org.argeo.slc.agent
217 </slc.osgi.start>
218 <slc.osgi.bundles>
219 ${basedir}/site;in=*;ex=pom.xml;ex=target,
220 ${basedir}/../modules/agent;in=*;ex=pom.xml;ex=target
221 </slc.osgi.bundles>
222 </systemProperties>
223 </configuration>
224 </plugin>
225 </plugins>
226 </build>
227 <dependencies>
228 <dependency>
229 <groupId>org.argeo.slc.dep</groupId>
230 <artifactId>org.argeo.slc.dep.agent</artifactId>
231 <version>${project.version}</version>
232 </dependency>
233 <dependency>
234 <groupId>org.argeo.slc.runtime</groupId>
235 <artifactId>org.argeo.slc.support.ant</artifactId>
236 <version>${project.version}</version>
237 </dependency>
238 </dependencies>
239 </profile>
240 <profile>
241 <id>server_mysql</id>
242 <build>
243 <plugins>
244 <plugin>
245 <groupId>org.argeo.maven.plugins</groupId>
246 <artifactId>maven-argeo-osgi-plugin</artifactId>
247 <configuration>
248 <execDir>target/exec/server</execDir>
249 <jvmArgs>
250 <jvmArg>-Xmx256m</jvmArg>
251 <!--
252 <jvmArg>-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=8000</jvmArg>
253 -->
254 </jvmArgs>
255 <systemProperties>
256 <slc.osgi.start>
257 org.argeo.dep.osgi.catalina.start,
258 org.springframework.osgi.extender,
259 org.springframework.osgi.web.extender,
260 org.springframework.osgi.samples.simplewebapp,
261 org.argeo.slc.server.activemq,
262 org.argeo.slc.server.mysql,
263 org.argeo.slc.server.hibernate,
264 org.argeo.slc.server.services,
265 org.argeo.slc.server.jms,
266 org.argeo.slc.webapp,
267 org.argeo.slc.ria
268 </slc.osgi.start>
269 </systemProperties>
270 </configuration>
271 </plugin>
272 </plugins>
273 </build>
274 <dependencies>
275 <dependency>
276 <groupId>org.argeo.slc.dep</groupId>
277 <artifactId>org.argeo.slc.dep.server</artifactId>
278 <version>${project.version}</version>
279 </dependency>
280 <dependency>
281 <groupId>org.argeo.slc.server</groupId>
282 <artifactId>org.argeo.slc.ria</artifactId>
283 </dependency>
284 </dependencies>
285 </profile>
286 </profiles>
287 </project>