]> git.argeo.org Git - lgpl/argeo-commons.git/blob - pom.xml
dd1c902f511ca7904e0135f93b26220c503d93b9
[lgpl/argeo-commons.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4 <modelVersion>4.0.0</modelVersion>
5 <parent>
6 <groupId>org.argeo.commons</groupId>
7 <version>2.1.12-SNAPSHOT</version>
8 <artifactId>dep</artifactId>
9 <relativePath>..</relativePath>
10 </parent>
11 <artifactId>org.argeo.security.dep.node</artifactId>
12 <name>Node Backend</name>
13 <build>
14 <plugins>
15 <plugin>
16 <groupId>org.apache.felix</groupId>
17 <artifactId>maven-bundle-plugin</artifactId>
18 <configuration>
19 <instructions>
20 <SLC-ModularDistribution>default</SLC-ModularDistribution>
21 </instructions>
22 </configuration>
23 </plugin>
24 <plugin>
25 <groupId>org.argeo.maven.plugins</groupId>
26 <artifactId>maven-argeo-osgi-plugin</artifactId>
27 <executions>
28 <execution>
29 <id>generate-descriptors</id>
30 <goals>
31 <goal>descriptors</goal>
32 </goals>
33 <phase>generate-resources</phase>
34 </execution>
35 </executions>
36 </plugin>
37 </plugins>
38 </build>
39 <dependencies>
40 <!-- Default JCR repositories configurations -->
41 <dependency>
42 <groupId>org.argeo.commons</groupId>
43 <artifactId>org.argeo.node.repo.jackrabbit</artifactId>
44 <version>2.1.12-SNAPSHOT</version>
45 </dependency>
46
47 <!-- OSGi Boot (and Equinox) -->
48 <dependency>
49 <groupId>org.argeo.commons</groupId>
50 <artifactId>org.argeo.osgi.boot</artifactId>
51 <version>2.1.12-SNAPSHOT</version>
52 </dependency>
53
54 <!-- Logging -->
55 <dependency>
56 <groupId>org.argeo.commons</groupId>
57 <artifactId>org.argeo.dep.log4j</artifactId>
58 <version>2.1.12-SNAPSHOT</version>
59 <type>pom</type>
60 </dependency>
61
62 <!-- Argeo Server -->
63 <dependency>
64 <groupId>org.argeo.commons</groupId>
65 <artifactId>org.argeo.server.core</artifactId>
66 <version>2.1.12-SNAPSHOT</version>
67 </dependency>
68
69 <!-- Argeo Security -->
70 <dependency>
71 <groupId>org.argeo.commons</groupId>
72 <artifactId>org.argeo.security.core</artifactId>
73 <version>2.1.12-SNAPSHOT</version>
74 </dependency>
75
76 <!-- Xerces and Xalan -->
77 <dependency>
78 <groupId>org.argeo.tp</groupId>
79 <artifactId>org.apache.xmlcommons</artifactId>
80 </dependency>
81 <dependency>
82 <groupId>org.argeo.tp</groupId>
83 <artifactId>org.apache.xalan</artifactId>
84 </dependency>
85
86 <!-- Javax -->
87 <dependency>
88 <groupId>org.argeo.tp</groupId>
89 <artifactId>javax.annotation</artifactId>
90 </dependency>
91 <dependency>
92 <groupId>org.argeo.tp</groupId>
93 <artifactId>javax.mail</artifactId>
94 </dependency>
95
96 <!-- Bouncycastle (cryptography) -->
97 <dependency>
98 <groupId>org.argeo.tp</groupId>
99 <artifactId>bcprov</artifactId>
100 </dependency>
101 <dependency>
102 <groupId>org.argeo.tp</groupId>
103 <artifactId>bcmail</artifactId>
104 </dependency>
105
106 <!-- Commons -->
107 <dependency>
108 <groupId>org.argeo.tp</groupId>
109 <artifactId>org.apache.commons.vfs</artifactId>
110 </dependency>
111 <dependency>
112 <groupId>org.argeo.tp</groupId>
113 <artifactId>org.apache.commons.exec</artifactId>
114 </dependency>
115 <dependency>
116 <groupId>org.argeo.tp</groupId>
117 <artifactId>org.apache.commons.cli</artifactId>
118 </dependency>
119 <dependency>
120 <groupId>org.argeo.tp</groupId>
121 <artifactId>org.apache.commons.dbcp</artifactId>
122 </dependency>
123
124 <!-- Reporting -->
125 <dependency>
126 <groupId>org.argeo.tp</groupId>
127 <artifactId>jxl</artifactId>
128 </dependency>
129 <dependency>
130 <groupId>org.argeo.tp</groupId>
131 <artifactId>org.apache.pdfbox</artifactId>
132 </dependency>
133
134 <!-- Spring -->
135 <dependency>
136 <groupId>org.argeo.tp</groupId>
137 <artifactId>org.springframework.context.support</artifactId>
138 </dependency>
139
140 <!-- Spring OSGi -->
141 <dependency>
142 <groupId>org.argeo.tp</groupId>
143 <artifactId>org.springframework.osgi.extender</artifactId>
144 </dependency>
145
146 <!-- Jackrabbit -->
147 <dependency>
148 <groupId>org.argeo.commons</groupId>
149 <artifactId>org.argeo.server.jackrabbit</artifactId>
150 <version>2.1.12-SNAPSHOT</version>
151 </dependency>
152 <dependency>
153 <groupId>org.argeo.commons</groupId>
154 <artifactId>org.argeo.security.jackrabbit</artifactId>
155 <version>2.1.12-SNAPSHOT</version>
156 </dependency>
157
158 <!-- Scheduling -->
159 <dependency>
160 <groupId>org.argeo.tp</groupId>
161 <artifactId>org.quartz</artifactId>
162 </dependency>
163
164 <!-- Security (LDAP) -->
165 <!-- Reduce size of minimal: LDAP secutity plugin must be explicitely added using the 3 dependencies below. -->
166 <!-- <dependency> <groupId>org.argeo.commons</groupId> <artifactId>org.argeo.security.dao.ldap</artifactId>
167 <version>2.1.12-SNAPSHOT</version> </dependency> <dependency> <groupId>org.argeo.commons</groupId>
168 <artifactId>org.argeo.security.auth.ldap</artifactId> <version>2.1.12-SNAPSHOT</version>
169 </dependency> <dependency> <groupId>org.argeo.commons</groupId> <artifactId>org.argeo.security.ldap</artifactId>
170 <version>2.1.12-SNAPSHOT</version> </dependency> -->
171 <!-- Security (Jackrabbit) -->
172 <dependency>
173 <groupId>org.argeo.commons</groupId>
174 <artifactId>org.argeo.security.dao.jackrabbit</artifactId>
175 <version>2.1.12-SNAPSHOT</version>
176 </dependency>
177
178 <!-- Security (Standalone) -->
179 <dependency>
180 <groupId>org.argeo.commons</groupId>
181 <artifactId>org.argeo.security.dao.os</artifactId>
182 <version>2.1.12-SNAPSHOT</version>
183 </dependency>
184
185 <!-- Web -->
186 <dependency>
187 <groupId>org.argeo.tp</groupId>
188 <artifactId>org.springframework.osgi.web.extender</artifactId>
189 </dependency>
190 <dependency>
191 <groupId>org.argeo.tp</groupId>
192 <artifactId>org.springframework.osgi.web</artifactId>
193 </dependency>
194 <!-- <dependency> -->
195 <!-- <groupId>org.argeo.commons</groupId> -->
196 <!-- <artifactId>org.argeo.server.dep.tomcat</artifactId> -->
197 <!-- <version>2.1.12-SNAPSHOT</version> -->
198 <!-- <type>pom</type> -->
199 <!-- </dependency> -->
200 <!-- <dependency> -->
201 <!-- <groupId>org.argeo.commons</groupId> -->
202 <!-- <artifactId>org.argeo.server.webextender</artifactId> -->
203 <!-- <version>2.1.12-SNAPSHOT</version> -->
204 <!-- </dependency> -->
205 <dependency>
206 <groupId>org.argeo.commons</groupId>
207 <artifactId>org.argeo.server.jcr.mvc</artifactId>
208 <version>2.1.12-SNAPSHOT</version>
209 </dependency>
210 <dependency>
211 <groupId>org.argeo.commons</groupId>
212 <artifactId>org.argeo.jackrabbit.webapp</artifactId>
213 <version>2.1.12-SNAPSHOT</version>
214 </dependency>
215
216 <!-- DB drivers -->
217 <dependency>
218 <groupId>org.argeo.tp</groupId>
219 <artifactId>org.h2</artifactId>
220 </dependency>
221 <!-- <dependency> -->
222 <!-- <groupId>org.argeo.tp</groupId> -->
223 <!-- <artifactId>com.mysql.jdbc</artifactId> -->
224 <!-- </dependency> -->
225 <dependency>
226 <groupId>org.argeo.tp</groupId>
227 <artifactId>org.postgresql.jdbc3</artifactId>
228 </dependency>
229
230 <!-- LDAP Apache Directory server -->
231 <dependency>
232 <groupId>org.argeo.commons</groupId>
233 <artifactId>org.argeo.server.dep.ads</artifactId>
234 <version>2.1.12-SNAPSHOT</version>
235 <type>pom</type>
236 </dependency>
237 <dependency>
238 <groupId>org.argeo.commons</groupId>
239 <artifactId>org.argeo.server.ads.server</artifactId>
240 <version>2.1.12-SNAPSHOT</version>
241 </dependency>
242 <dependency>
243 <groupId>org.argeo.commons</groupId>
244 <artifactId>org.argeo.server.ads</artifactId>
245 <version>2.1.12-SNAPSHOT</version>
246 </dependency>
247
248 <!-- Software development -->
249 <!-- <dependency> -->
250 <!-- <groupId>org.argeo.commons</groupId> -->
251 <!-- <artifactId>org.argeo.support.junit</artifactId> -->
252 <!-- <version>2.1.12-SNAPSHOT</version> -->
253 <!-- </dependency> -->
254 </dependencies>
255 <profiles>
256 <profile>
257 <id>check-osgi</id>
258 <build>
259 <plugins>
260 <plugin>
261 <groupId>org.argeo.maven.plugins</groupId>
262 <artifactId>maven-argeo-osgi-plugin</artifactId>
263 <executions>
264 <execution>
265 <id>check-osgi</id>
266 <phase>test</phase>
267 <goals>
268 <goal>equinox</goal>
269 </goals>
270 <configuration>
271 <onlyCheck>true</onlyCheck>
272 </configuration>
273 </execution>
274 </executions>
275 </plugin>
276 </plugins>
277 </build>
278 <dependencies>
279 <!-- OSGi test -->
280 <dependency>
281 <groupId>org.argeo.commons</groupId>
282 <artifactId>org.argeo.osgi.boot</artifactId>
283 <version>2.1.12-SNAPSHOT</version>
284 <scope>test</scope>
285 </dependency>
286 </dependencies>
287 </profile>
288 <profile>
289 <id>rpmbuild</id>
290 <build>
291 <plugins>
292 <plugin>
293 <groupId>org.apache.maven.plugins</groupId>
294 <artifactId>maven-dependency-plugin</artifactId>
295 <executions>
296 <execution>
297 <id>copy-node</id>
298 <phase>package</phase>
299 <goals>
300 <goal>copy-dependencies</goal>
301 </goals>
302 <configuration>
303 <includeTypes>jar</includeTypes>
304 <includeGroupIds>org.argeo.commons.base,org.argeo.commons.server,org.argeo.commons.security</includeGroupIds>
305 <excludeArtifactIds>org.argeo.osgi.boot</excludeArtifactIds>
306 <outputDirectory>${project.build.directory}/node</outputDirectory>
307 </configuration>
308 </execution>
309 </executions>
310 </plugin>
311 <plugin>
312 <groupId>org.codehaus.mojo</groupId>
313 <artifactId>rpm-maven-plugin</artifactId>
314 <executions>
315 <execution>
316 <id>rpm-node</id>
317 <phase>package</phase>
318 <goals>
319 <goal>rpm</goal>
320 </goals>
321 <configuration>
322 <name>argeo-node</name>
323 <mappings>
324 <mapping>
325 <directory>/usr/share/osgi</directory>
326 <username>root</username>
327 <groupname>root</groupname>
328 <filemode>644</filemode>
329 <directoryIncluded>false</directoryIncluded>
330 <sources>
331 <source>
332 <location>${project.build.directory}/node</location>
333 </source>
334 </sources>
335 </mapping>
336 </mappings>
337 <requires>
338 <require>argeo-node-tp</require>
339 </requires>
340 </configuration>
341 </execution>
342 </executions>
343 </plugin>
344 </plugins>
345 </build>
346 </profile>
347 <profile>
348 <id>rpmbuild-tp</id>
349 <build>
350 <plugins>
351 <plugin>
352 <groupId>org.apache.maven.plugins</groupId>
353 <artifactId>maven-dependency-plugin</artifactId>
354 <executions>
355 <execution>
356 <id>copy-tp</id>
357 <phase>package</phase>
358 <goals>
359 <goal>copy-dependencies</goal>
360 </goals>
361 <configuration>
362 <includeTypes>jar</includeTypes>
363 <excludeGroupIds>org.argeo.commons.base,org.argeo.commons.server,org.argeo.commons.security</excludeGroupIds>
364 <excludeArtifactIds>org.eclipse.osgi</excludeArtifactIds>
365 <outputDirectory>${project.build.directory}/node-tp</outputDirectory>
366 </configuration>
367 </execution>
368 </executions>
369 </plugin>
370 <plugin>
371 <groupId>org.codehaus.mojo</groupId>
372 <artifactId>rpm-maven-plugin</artifactId>
373 <executions>
374 <execution>
375 <id>rpm-node-tp</id>
376 <phase>package</phase>
377 <goals>
378 <goal>rpm</goal>
379 </goals>
380 <configuration>
381 <name>argeo-node-tp</name>
382 <classifier>rpm-tp</classifier>
383 <projversion>${version.argeo-distribution}</projversion>
384 <mappings>
385 <mapping>
386 <directory>/usr/share/osgi</directory>
387 <username>root</username>
388 <groupname>root</groupname>
389 <filemode>644</filemode>
390 <directoryIncluded>false</directoryIncluded>
391 <sources>
392 <source>
393 <location>${project.build.directory}/node-tp</location>
394 </source>
395 </sources>
396 </mapping>
397 </mappings>
398 </configuration>
399 </execution>
400 </executions>
401 </plugin>
402 </plugins>
403 </build>
404 </profile>
405 </profiles>
406 </project>