]> git.argeo.org Git - gpl/argeo-slc.git/blob - demo/pom.xml
db1d76da44dafb5a66f5084c0605ecebd6ed1483
[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.14.2</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>modules</module>
15 </modules>
16 <build>
17 <plugins>
18 <plugin>
19 <groupId>org.argeo.maven.plugins</groupId>
20 <artifactId>maven-argeo-osgi-plugin</artifactId>
21 <configuration>
22 <argsToAppend>
23 <arg>-clean</arg>
24 </argsToAppend>
25 </configuration>
26 </plugin>
27 </plugins>
28 </build>
29 <profiles>
30 <profile>
31 <id>server</id>
32 <build>
33 <plugins>
34 <plugin>
35 <groupId>org.argeo.maven.plugins</groupId>
36 <artifactId>maven-argeo-osgi-plugin</artifactId>
37 <configuration>
38 <execDir>target/exec/server</execDir>
39 <systemPropertiesFile>server.properties</systemPropertiesFile>
40 <systemProperties>
41 <log4j.configuration>file:${basedir}/log4j.properties</log4j.configuration>
42 <argeo.osgi.bundles>
43 ${basedir}/../modules/server;in=*;ex=pom.xml;ex=target;ex=.*,
44 </argeo.osgi.bundles>
45 </systemProperties>
46 </configuration>
47 </plugin>
48 </plugins>
49 </build>
50 <dependencies>
51 <dependency>
52 <groupId>org.argeo.slc.dep</groupId>
53 <artifactId>org.argeo.slc.dep.server</artifactId>
54 <version>${version.slc}</version>
55 </dependency>
56 <dependency>
57 <groupId>org.argeo.slc.server</groupId>
58 <artifactId>org.argeo.slc.ria</artifactId>
59 </dependency>
60
61 </dependencies>
62 </profile>
63 <profile>
64 <id>server_jcr</id>
65 <build>
66 <plugins>
67 <plugin>
68 <groupId>org.argeo.maven.plugins</groupId>
69 <artifactId>maven-argeo-osgi-plugin</artifactId>
70 <configuration>
71 <execDir>target/exec/server</execDir>
72 <systemPropertiesFile>server_jcr.properties</systemPropertiesFile>
73 <systemProperties>
74 <log4j.configuration>file:${basedir}/log4j.properties</log4j.configuration>
75 <argeo.osgi.bundles>
76 ${basedir}/../modules/server;in=*;ex=pom.xml;ex=target;ex=.*,
77 </argeo.osgi.bundles>
78 </systemProperties>
79 </configuration>
80 </plugin>
81 </plugins>
82 </build>
83 <dependencies>
84 <dependency>
85 <groupId>org.argeo.slc.dep</groupId>
86 <artifactId>org.argeo.slc.dep.server</artifactId>
87 <version>${version.slc}</version>
88 </dependency>
89 <dependency>
90 <groupId>org.argeo.slc.server</groupId>
91 <artifactId>org.argeo.slc.ria</artifactId>
92 </dependency>
93
94 </dependencies>
95 </profile>
96 <profile>
97 <id>agent</id>
98 <build>
99 <plugins>
100 <plugin>
101 <groupId>org.argeo.maven.plugins</groupId>
102 <artifactId>maven-argeo-osgi-plugin</artifactId>
103 <configuration>
104 <execDir>target/exec/agent</execDir>
105 <systemPropertiesFile>agent.properties</systemPropertiesFile>
106 <systemProperties>
107 <argeo.osgi.bundles>
108 ${basedir}/site;in=*;ex=pom.xml;ex=target,
109 ${basedir}/../modules/agent;in=*;ex=pom.xml;ex=target
110 </argeo.osgi.bundles>
111 </systemProperties>
112 </configuration>
113 </plugin>
114 </plugins>
115 </build>
116 <dependencies>
117 <dependency>
118 <groupId>org.argeo.slc.dep</groupId>
119 <artifactId>org.argeo.slc.dep.agent</artifactId>
120 <version>${version.slc}</version>
121 </dependency>
122 <dependency>
123 <groupId>org.argeo.slc.dep</groupId>
124 <artifactId>org.argeo.slc.dep.agent.extras</artifactId>
125 <version>${version.slc}</version>
126 </dependency>
127 </dependencies>
128 </profile>
129 <profile>
130 <id>slc_gis_position</id>
131 <build>
132 <plugins>
133 <plugin>
134 <groupId>org.argeo.maven.plugins</groupId>
135 <artifactId>maven-argeo-osgi-plugin</artifactId>
136 <configuration>
137 <execDir>target/exec/agent</execDir>
138 <systemPropertiesFile>slc_gis_position.properties</systemPropertiesFile>
139 <systemProperties>
140 <argeo.osgi.bundles>
141 ${basedir}/../modules/gis;in=*;ex=pom.xml;ex=target
142 </argeo.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.gis</artifactId>
152 <version>${version.slc}</version>
153 </dependency>
154 </dependencies>
155 </profile>
156 <profile>
157 <id>detached</id>
158 <build>
159 <plugins>
160 <plugin>
161 <groupId>org.argeo.maven.plugins</groupId>
162 <artifactId>maven-argeo-osgi-plugin</artifactId>
163 <configuration>
164 <execDir>target/exec/detached</execDir>
165 <fork>true</fork>
166 <systemProperties>
167 <argeo.osgi.start>
168 org.springframework.osgi.extender,
169 org.argeo.slc.detached,
170 org.argeo.slc.demo.det
171 </argeo.osgi.start>
172 <argeo.osgi.bundles>
173 ${basedir}/site;in=org.argeo.slc.demo.det;ex=pom.xml;ex=target,
174 ${basedir}/site;in=org.argeo.slc.demo.log4j;ex=pom.xml;ex=target,
175 </argeo.osgi.bundles>
176 <javax.xml.parsers.DocumentBuilderFactory>org.apache.xerces.jaxp.DocumentBuilderFactoryImpl</javax.xml.parsers.DocumentBuilderFactory>
177 </systemProperties>
178 </configuration>
179 </plugin>
180 </plugins>
181 </build>
182 <dependencies>
183 <dependency>
184 <groupId>org.argeo.slc.dep</groupId>
185 <artifactId>org.argeo.slc.dep.detached</artifactId>
186 <version>${version.slc}</version>
187 </dependency>
188 <dependency>
189 <groupId>net.sourceforge.mx4j</groupId>
190 <artifactId>com.springsource.mx4j</artifactId>
191 </dependency>
192 <dependency>
193 <groupId>org.eclipse.osgi</groupId>
194 <artifactId>org.eclipse.osgi</artifactId>
195 </dependency>
196 </dependencies>
197 </profile>
198 <profile>
199 <id>server_mysql</id>
200 <build>
201 <plugins>
202 <plugin>
203 <groupId>org.argeo.maven.plugins</groupId>
204 <artifactId>maven-argeo-osgi-plugin</artifactId>
205 <configuration>
206 <execDir>target/exec/server</execDir>
207 <jvmArgs>
208 <jvmArg>-Xmx256m</jvmArg>
209 <!--
210 <jvmArg>-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=8000</jvmArg>
211 -->
212 </jvmArgs>
213 <systemProperties>
214 <argeo.osgi.start>
215 org.argeo.dep.osgi.catalina.start,
216 org.springframework.osgi.extender,
217 org.springframework.osgi.web.extender,
218 org.springframework.osgi.samples.simplewebapp,
219 org.argeo.slc.server.activemq,
220 org.argeo.slc.server.mysql,
221 org.argeo.slc.server.hibernate,
222 org.argeo.slc.server.services,
223 org.argeo.slc.server.jms,
224 org.argeo.slc.webapp,
225 org.argeo.slc.ria
226 </argeo.osgi.start>
227 </systemProperties>
228 </configuration>
229 </plugin>
230 </plugins>
231 </build>
232 <dependencies>
233 <dependency>
234 <groupId>org.argeo.slc.dep</groupId>
235 <version>${version.slc}</version>
236 </dependency>
237 <dependency>
238 <groupId>org.argeo.slc.server</groupId>
239 <artifactId>org.argeo.slc.ria</artifactId>
240 </dependency>
241 </dependencies>
242 </profile>
243 </profiles>
244 </project>