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