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