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