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