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