]> git.argeo.org Git - lgpl/argeo-commons.git/blob - dep/org.argeo.security.dep.node/pom.xml
Simplify parent POM.
[lgpl/argeo-commons.git] / dep / org.argeo.security.dep.node / 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 <dependency>
166 <groupId>org.argeo.commons</groupId>
167 <artifactId>org.argeo.security.dao.ldap</artifactId>
168 <version>2.1.12-SNAPSHOT</version>
169 </dependency>
170 <dependency>
171 <groupId>org.argeo.commons</groupId>
172 <artifactId>org.argeo.security.auth.ldap</artifactId>
173 <version>2.1.12-SNAPSHOT</version>
174 </dependency>
175 <dependency>
176 <groupId>org.argeo.commons</groupId>
177 <artifactId>org.argeo.security.ldap</artifactId>
178 <version>2.1.12-SNAPSHOT</version>
179 </dependency>
180
181 <!-- Security (Jackrabbit) -->
182 <dependency>
183 <groupId>org.argeo.commons</groupId>
184 <artifactId>org.argeo.security.dao.jackrabbit</artifactId>
185 <version>2.1.12-SNAPSHOT</version>
186 </dependency>
187
188 <!-- Security (Standalone) -->
189 <dependency>
190 <groupId>org.argeo.commons</groupId>
191 <artifactId>org.argeo.security.dao.os</artifactId>
192 <version>2.1.12-SNAPSHOT</version>
193 </dependency>
194
195 <!-- Web -->
196 <dependency>
197 <groupId>org.argeo.tp</groupId>
198 <artifactId>org.springframework.osgi.web.extender</artifactId>
199 </dependency>
200 <dependency>
201 <groupId>org.argeo.tp</groupId>
202 <artifactId>org.springframework.osgi.web</artifactId>
203 </dependency>
204 <!-- <dependency> -->
205 <!-- <groupId>org.argeo.commons</groupId> -->
206 <!-- <artifactId>org.argeo.server.dep.tomcat</artifactId> -->
207 <!-- <version>2.1.12-SNAPSHOT</version> -->
208 <!-- <type>pom</type> -->
209 <!-- </dependency> -->
210 <!-- <dependency> -->
211 <!-- <groupId>org.argeo.commons</groupId> -->
212 <!-- <artifactId>org.argeo.server.webextender</artifactId> -->
213 <!-- <version>2.1.12-SNAPSHOT</version> -->
214 <!-- </dependency> -->
215 <dependency>
216 <groupId>org.argeo.commons</groupId>
217 <artifactId>org.argeo.server.jcr.mvc</artifactId>
218 <version>2.1.12-SNAPSHOT</version>
219 </dependency>
220 <dependency>
221 <groupId>org.argeo.commons</groupId>
222 <artifactId>org.argeo.jackrabbit.webapp</artifactId>
223 <version>2.1.12-SNAPSHOT</version>
224 </dependency>
225
226 <!-- DB drivers -->
227 <dependency>
228 <groupId>org.argeo.tp</groupId>
229 <artifactId>org.h2</artifactId>
230 </dependency>
231 <dependency>
232 <groupId>org.argeo.tp</groupId>
233 <artifactId>com.mysql.jdbc</artifactId>
234 </dependency>
235 <dependency>
236 <groupId>org.argeo.tp</groupId>
237 <artifactId>org.postgresql.jdbc3</artifactId>
238 </dependency>
239
240 <!-- LDAP Apache Directory server -->
241 <dependency>
242 <groupId>org.argeo.commons</groupId>
243 <artifactId>org.argeo.server.dep.ads</artifactId>
244 <version>2.1.12-SNAPSHOT</version>
245 <type>pom</type>
246 </dependency>
247 <dependency>
248 <groupId>org.argeo.commons</groupId>
249 <artifactId>org.argeo.server.ads.server</artifactId>
250 <version>2.1.12-SNAPSHOT</version>
251 </dependency>
252 <dependency>
253 <groupId>org.argeo.commons</groupId>
254 <artifactId>org.argeo.server.ads</artifactId>
255 <version>2.1.12-SNAPSHOT</version>
256 </dependency>
257
258 <!-- Software development -->
259 <dependency>
260 <groupId>org.argeo.commons</groupId>
261 <artifactId>org.argeo.support.junit</artifactId>
262 <version>2.1.12-SNAPSHOT</version>
263 </dependency>
264 </dependencies>
265 <profiles>
266 <profile>
267 <id>check-osgi</id>
268 <build>
269 <plugins>
270 <plugin>
271 <groupId>org.argeo.maven.plugins</groupId>
272 <artifactId>maven-argeo-osgi-plugin</artifactId>
273 <executions>
274 <execution>
275 <id>check-osgi</id>
276 <phase>test</phase>
277 <goals>
278 <goal>equinox</goal>
279 </goals>
280 <configuration>
281 <onlyCheck>true</onlyCheck>
282 </configuration>
283 </execution>
284 </executions>
285 </plugin>
286 </plugins>
287 </build>
288 <dependencies>
289 <!-- OSGi test -->
290 <dependency>
291 <groupId>org.argeo.commons</groupId>
292 <artifactId>org.argeo.osgi.boot</artifactId>
293 <version>2.1.12-SNAPSHOT</version>
294 <scope>test</scope>
295 </dependency>
296 </dependencies>
297 </profile>
298 <profile>
299 <id>rpmbuild</id>
300 <build>
301 <plugins>
302 <plugin>
303 <groupId>org.apache.maven.plugins</groupId>
304 <artifactId>maven-dependency-plugin</artifactId>
305 <executions>
306 <execution>
307 <id>copy-node</id>
308 <phase>package</phase>
309 <goals>
310 <goal>copy-dependencies</goal>
311 </goals>
312 <configuration>
313 <includeTypes>jar</includeTypes>
314 <includeGroupIds>org.argeo.commons.base,org.argeo.commons.server,org.argeo.commons.security</includeGroupIds>
315 <excludeArtifactIds>org.argeo.osgi.boot</excludeArtifactIds>
316 <outputDirectory>${project.build.directory}/node</outputDirectory>
317 </configuration>
318 </execution>
319 </executions>
320 </plugin>
321 <plugin>
322 <groupId>org.codehaus.mojo</groupId>
323 <artifactId>rpm-maven-plugin</artifactId>
324 <executions>
325 <execution>
326 <id>rpm-node</id>
327 <phase>package</phase>
328 <goals>
329 <goal>rpm</goal>
330 </goals>
331 <configuration>
332 <name>argeo-node</name>
333 <mappings>
334 <mapping>
335 <directory>/usr/share/osgi</directory>
336 <username>root</username>
337 <groupname>root</groupname>
338 <filemode>644</filemode>
339 <directoryIncluded>false</directoryIncluded>
340 <sources>
341 <source>
342 <location>${project.build.directory}/node</location>
343 </source>
344 </sources>
345 </mapping>
346 </mappings>
347 <requires>
348 <require>argeo-node-tp</require>
349 </requires>
350 </configuration>
351 </execution>
352 </executions>
353 </plugin>
354 </plugins>
355 </build>
356 </profile>
357 <profile>
358 <id>rpmbuild-tp</id>
359 <build>
360 <plugins>
361 <plugin>
362 <groupId>org.apache.maven.plugins</groupId>
363 <artifactId>maven-dependency-plugin</artifactId>
364 <executions>
365 <execution>
366 <id>copy-tp</id>
367 <phase>package</phase>
368 <goals>
369 <goal>copy-dependencies</goal>
370 </goals>
371 <configuration>
372 <includeTypes>jar</includeTypes>
373 <excludeGroupIds>org.argeo.commons.base,org.argeo.commons.server,org.argeo.commons.security</excludeGroupIds>
374 <excludeArtifactIds>org.eclipse.osgi</excludeArtifactIds>
375 <outputDirectory>${project.build.directory}/node-tp</outputDirectory>
376 </configuration>
377 </execution>
378 </executions>
379 </plugin>
380 <plugin>
381 <groupId>org.codehaus.mojo</groupId>
382 <artifactId>rpm-maven-plugin</artifactId>
383 <executions>
384 <execution>
385 <id>rpm-node-tp</id>
386 <phase>package</phase>
387 <goals>
388 <goal>rpm</goal>
389 </goals>
390 <configuration>
391 <name>argeo-node-tp</name>
392 <classifier>rpm-tp</classifier>
393 <projversion>${version.argeo-distribution}</projversion>
394 <mappings>
395 <mapping>
396 <directory>/usr/share/osgi</directory>
397 <username>root</username>
398 <groupname>root</groupname>
399 <filemode>644</filemode>
400 <directoryIncluded>false</directoryIncluded>
401 <sources>
402 <source>
403 <location>${project.build.directory}/node-tp</location>
404 </source>
405 </sources>
406 </mapping>
407 </mappings>
408 </configuration>
409 </execution>
410 </executions>
411 </plugin>
412 </plugins>
413 </build>
414 </profile>
415 </profiles>
416 </project>