]> git.argeo.org Git - lgpl/argeo-commons.git/blob - pom.xml
368f60403be97c1972c675042b97efa903ea945b
[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 <!-- Third Parties -->
41 <dependency>
42 <groupId>org.argeo.tp</groupId>
43 <artifactId>argeo-tp</artifactId>
44 <version>${version.argeo-distribution}</version>
45 </dependency>
46
47 <!-- Default JCR repositories configurations -->
48 <dependency>
49 <groupId>org.argeo.commons</groupId>
50 <artifactId>org.argeo.node.repo.jackrabbit</artifactId>
51 <version>2.1.12-SNAPSHOT</version>
52 </dependency>
53
54 <!-- OSGi Boot (and Equinox) -->
55 <dependency>
56 <groupId>org.argeo.commons</groupId>
57 <artifactId>org.argeo.osgi.boot</artifactId>
58 <version>2.1.12-SNAPSHOT</version>
59 </dependency>
60
61 <!-- Logging -->
62 <!-- <dependency> -->
63 <!-- <groupId>org.argeo.commons</groupId> -->
64 <!-- <artifactId>org.argeo.dep.log4j</artifactId> -->
65 <!-- <version>2.1.12-SNAPSHOT</version> -->
66 <!-- <type>pom</type> -->
67 <!-- </dependency> -->
68
69 <!-- Argeo Server -->
70 <!-- <dependency> -->
71 <!-- <groupId>org.argeo.commons</groupId> -->
72 <!-- <artifactId>org.argeo.server.core</artifactId> -->
73 <!-- <version>2.1.12-SNAPSHOT</version> -->
74 <!-- </dependency> -->
75
76 <!-- Argeo Security -->
77 <dependency>
78 <groupId>org.argeo.commons</groupId>
79 <artifactId>org.argeo.security.core</artifactId>
80 <version>2.1.12-SNAPSHOT</version>
81 </dependency>
82
83 <!-- Jackrabbit -->
84 <dependency>
85 <groupId>org.argeo.commons</groupId>
86 <artifactId>org.argeo.server.jackrabbit</artifactId>
87 <version>2.1.12-SNAPSHOT</version>
88 </dependency>
89 <dependency>
90 <groupId>org.argeo.commons</groupId>
91 <artifactId>org.argeo.security.jackrabbit</artifactId>
92 <version>2.1.12-SNAPSHOT</version>
93 </dependency>
94
95 <!-- Scheduling -->
96 <!-- <dependency> -->
97 <!-- <groupId>org.argeo.tp</groupId> -->
98 <!-- <artifactId>org.quartz</artifactId> -->
99 <!-- </dependency> -->
100
101 <!-- Security (Jackrabbit) -->
102 <dependency>
103 <groupId>org.argeo.commons</groupId>
104 <artifactId>org.argeo.security.dao.jackrabbit</artifactId>
105 <version>2.1.12-SNAPSHOT</version>
106 </dependency>
107
108 <!-- Security (Standalone) -->
109 <dependency>
110 <groupId>org.argeo.commons</groupId>
111 <artifactId>org.argeo.security.dao.os</artifactId>
112 <version>2.1.12-SNAPSHOT</version>
113 </dependency>
114
115 <dependency>
116 <groupId>org.argeo.commons</groupId>
117 <artifactId>org.argeo.server.jcr.mvc</artifactId>
118 <version>2.1.12-SNAPSHOT</version>
119 </dependency>
120 <!-- <dependency> -->
121 <!-- <groupId>org.argeo.commons</groupId> -->
122 <!-- <artifactId>org.argeo.jackrabbit.webapp</artifactId> -->
123 <!-- <version>2.1.12-SNAPSHOT</version> -->
124 <!-- </dependency> -->
125
126 <!-- DB drivers -->
127 <!-- <dependency> -->
128 <!-- <groupId>org.argeo.tp</groupId> -->
129 <!-- <artifactId>org.h2</artifactId> -->
130 <!-- </dependency> -->
131 <!-- <dependency> -->
132 <!-- <groupId>org.argeo.tp</groupId> -->
133 <!-- <artifactId>com.mysql.jdbc</artifactId> -->
134 <!-- </dependency> -->
135 <!-- <dependency> -->
136 <!-- <groupId>org.argeo.tp</groupId> -->
137 <!-- <artifactId>org.postgresql.jdbc3</artifactId> -->
138 <!-- </dependency> -->
139
140 <!-- LDAP Apache Directory server -->
141 <!-- <dependency> -->
142 <!-- <groupId>org.argeo.commons</groupId> -->
143 <!-- <artifactId>org.argeo.server.dep.ads</artifactId> -->
144 <!-- <version>2.1.12-SNAPSHOT</version> -->
145 <!-- <type>pom</type> -->
146 <!-- </dependency> -->
147 <!-- <dependency> -->
148 <!-- <groupId>org.argeo.commons</groupId> -->
149 <!-- <artifactId>org.argeo.server.ads.server</artifactId> -->
150 <!-- <version>2.1.12-SNAPSHOT</version> -->
151 <!-- </dependency> -->
152 <!-- <dependency> -->
153 <!-- <groupId>org.argeo.commons</groupId> -->
154 <!-- <artifactId>org.argeo.server.ads</artifactId> -->
155 <!-- <version>2.1.12-SNAPSHOT</version> -->
156 <!-- </dependency> -->
157
158 </dependencies>
159 <profiles>
160 <profile>
161 <id>check-osgi</id>
162 <build>
163 <plugins>
164 <plugin>
165 <groupId>org.argeo.maven.plugins</groupId>
166 <artifactId>maven-argeo-osgi-plugin</artifactId>
167 <executions>
168 <execution>
169 <id>check-osgi</id>
170 <phase>test</phase>
171 <goals>
172 <goal>equinox</goal>
173 </goals>
174 <configuration>
175 <onlyCheck>true</onlyCheck>
176 </configuration>
177 </execution>
178 </executions>
179 </plugin>
180 </plugins>
181 </build>
182 <dependencies>
183 <!-- OSGi test -->
184 <dependency>
185 <groupId>org.argeo.commons</groupId>
186 <artifactId>org.argeo.osgi.boot</artifactId>
187 <version>2.1.12-SNAPSHOT</version>
188 <scope>test</scope>
189 </dependency>
190 </dependencies>
191 </profile>
192 <profile>
193 <id>rpmbuild</id>
194 <build>
195 <plugins>
196 <plugin>
197 <groupId>org.apache.maven.plugins</groupId>
198 <artifactId>maven-dependency-plugin</artifactId>
199 <executions>
200 <execution>
201 <id>copy-node</id>
202 <phase>package</phase>
203 <goals>
204 <goal>copy-dependencies</goal>
205 </goals>
206 <configuration>
207 <includeTypes>jar</includeTypes>
208 <includeGroupIds>org.argeo.commons.base,org.argeo.commons.server,org.argeo.commons.security</includeGroupIds>
209 <excludeArtifactIds>org.argeo.osgi.boot</excludeArtifactIds>
210 <outputDirectory>${project.build.directory}/node</outputDirectory>
211 </configuration>
212 </execution>
213 </executions>
214 </plugin>
215 <plugin>
216 <groupId>org.codehaus.mojo</groupId>
217 <artifactId>rpm-maven-plugin</artifactId>
218 <executions>
219 <execution>
220 <id>rpm-node</id>
221 <phase>package</phase>
222 <goals>
223 <goal>rpm</goal>
224 </goals>
225 <configuration>
226 <name>argeo-node</name>
227 <mappings>
228 <mapping>
229 <directory>/usr/share/osgi</directory>
230 <username>root</username>
231 <groupname>root</groupname>
232 <filemode>644</filemode>
233 <directoryIncluded>false</directoryIncluded>
234 <sources>
235 <source>
236 <location>${project.build.directory}/node</location>
237 </source>
238 </sources>
239 </mapping>
240 </mappings>
241 <requires>
242 <require>argeo-node-tp</require>
243 </requires>
244 </configuration>
245 </execution>
246 </executions>
247 </plugin>
248 </plugins>
249 </build>
250 </profile>
251 <profile>
252 <id>rpmbuild-tp</id>
253 <build>
254 <plugins>
255 <plugin>
256 <groupId>org.apache.maven.plugins</groupId>
257 <artifactId>maven-dependency-plugin</artifactId>
258 <executions>
259 <execution>
260 <id>copy-tp</id>
261 <phase>package</phase>
262 <goals>
263 <goal>copy-dependencies</goal>
264 </goals>
265 <configuration>
266 <includeTypes>jar</includeTypes>
267 <excludeGroupIds>org.argeo.commons.base,org.argeo.commons.server,org.argeo.commons.security</excludeGroupIds>
268 <excludeArtifactIds>org.eclipse.osgi</excludeArtifactIds>
269 <outputDirectory>${project.build.directory}/node-tp</outputDirectory>
270 </configuration>
271 </execution>
272 </executions>
273 </plugin>
274 <plugin>
275 <groupId>org.codehaus.mojo</groupId>
276 <artifactId>rpm-maven-plugin</artifactId>
277 <executions>
278 <execution>
279 <id>rpm-node-tp</id>
280 <phase>package</phase>
281 <goals>
282 <goal>rpm</goal>
283 </goals>
284 <configuration>
285 <name>argeo-node-tp</name>
286 <classifier>rpm-tp</classifier>
287 <projversion>${version.argeo-distribution}</projversion>
288 <mappings>
289 <mapping>
290 <directory>/usr/share/osgi</directory>
291 <username>root</username>
292 <groupname>root</groupname>
293 <filemode>644</filemode>
294 <directoryIncluded>false</directoryIncluded>
295 <sources>
296 <source>
297 <location>${project.build.directory}/node-tp</location>
298 </source>
299 </sources>
300 </mapping>
301 </mappings>
302 </configuration>
303 </execution>
304 </executions>
305 </plugin>
306 </plugins>
307 </build>
308 </profile>
309 </profiles>
310 </project>