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