]> git.argeo.org Git - gpl/argeo-slc.git/blob - dep/org.argeo.slc.dep.backend/pom.xml
7c50b0394e775fecc413eaabc77d4e1a78169e67
[gpl/argeo-slc.git] / dep / org.argeo.slc.dep.backend / 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>dep</artifactId>
6 <version>0.13.1</version>
7 <relativePath>..</relativePath>
8 </parent>
9
10 <groupId>org.argeo.slc.dep</groupId>
11 <artifactId>org.argeo.slc.dep.backend</artifactId>
12 <name>SLC Backend Dependencies</name>
13 <description>Shared by RAP and pure server</description>
14 <build>
15 <plugins>
16 <plugin>
17 <groupId>org.argeo.maven.plugins</groupId>
18 <artifactId>maven-argeo-osgi-plugin</artifactId>
19 <executions>
20 <execution>
21 <id>generate-descriptors</id>
22 <goals>
23 <goal>descriptors</goal>
24 </goals>
25 <phase>generate-resources</phase>
26 </execution>
27 <execution>
28 <id>check-osgi</id>
29 <phase>test</phase>
30 <goals>
31 <goal>equinox</goal>
32 </goals>
33 <configuration>
34 <onlyCheck>true</onlyCheck>
35 <argsToAppend>
36 <arg>-clean</arg>
37 </argsToAppend>
38 </configuration>
39 </execution>
40 </executions>
41 </plugin>
42 </plugins>
43 </build>
44 <dependencies>
45 <!-- HACK because of dependencies pb with Maven: version 2.4.0 is required
46 by Spring-LDAP while Apache Directory takes 2.1.0 -->
47 <!-- <dependency> -->
48 <!-- <groupId>org.apache.commons</groupId> -->
49 <!-- <artifactId>com.springsource.org.apache.commons.lang</artifactId> -->
50 <!-- <version>2.4.0</version> -->
51 <!-- </dependency> -->
52
53 <!-- SLC Agent -->
54 <dependency>
55 <groupId>org.argeo.slc.runtime</groupId>
56 <artifactId>org.argeo.slc.core</artifactId>
57 <version>0.13.1</version>
58 </dependency>
59 <dependency>
60 <groupId>org.argeo.slc.runtime</groupId>
61 <artifactId>org.argeo.slc.support.simple</artifactId>
62 <version>0.13.1</version>
63 </dependency>
64 <dependency>
65 <groupId>org.argeo.slc.runtime</groupId>
66 <artifactId>org.argeo.slc.support.ant</artifactId>
67 <version>0.13.1</version>
68 </dependency>
69 <dependency>
70 <groupId>org.argeo.slc.runtime</groupId>
71 <artifactId>org.argeo.slc.support.jcr</artifactId>
72 <version>0.13.1</version>
73 </dependency>
74 <dependency>
75 <groupId>org.argeo.slc.runtime</groupId>
76 <artifactId>org.argeo.slc.support.activemq</artifactId>
77 <version>0.13.1</version>
78 </dependency>
79 <dependency>
80 <groupId>org.argeo.slc.runtime</groupId>
81 <artifactId>org.argeo.slc.server</artifactId>
82 <version>0.13.1</version>
83 </dependency>
84 <dependency>
85 <groupId>org.argeo.slc.runtime</groupId>
86 <artifactId>org.argeo.slc.support.equinox</artifactId>
87 <version>0.13.1</version>
88 </dependency>
89
90 <!-- SLC Agent Modules -->
91 <dependency>
92 <groupId>org.argeo.slc.modules</groupId>
93 <artifactId>org.argeo.slc.agent</artifactId>
94 <version>0.13.1</version>
95 </dependency>
96 <dependency>
97 <groupId>org.argeo.slc.modules</groupId>
98 <artifactId>org.argeo.slc.agent.jcr</artifactId>
99 <version>0.13.1</version>
100 </dependency>
101 <dependency>
102 <groupId>org.argeo.slc.modules</groupId>
103 <artifactId>org.argeo.slc.node.jackrabbit</artifactId>
104 <version>0.13.1</version>
105 </dependency>
106
107 <!-- SLC Repo -->
108 <dependency>
109 <groupId>org.argeo.slc.runtime</groupId>
110 <artifactId>org.argeo.slc.repo</artifactId>
111 <version>0.13.1</version>
112 </dependency>
113 <dependency>
114 <groupId>org.argeo.slc.modules</groupId>
115 <artifactId>org.argeo.slc.server.repo</artifactId>
116 <version>0.13.1</version>
117 </dependency>
118 <dependency>
119 <groupId>org.argeo.slc.modules</groupId>
120 <artifactId>org.argeo.slc.server.repo.webapp</artifactId>
121 <version>0.13.1</version>
122 </dependency>
123
124 <!-- Launcher -->
125 <dependency>
126 <groupId>org.argeo.slc.runtime</groupId>
127 <artifactId>org.argeo.slc.launcher</artifactId>
128 <version>0.13.1</version>
129 <type>tar.gz</type>
130 <classifier>base</classifier>
131 </dependency>
132
133 <!-- Node -->
134 <dependency>
135 <groupId>org.argeo.commons.security</groupId>
136 <artifactId>org.argeo.security.dep.node</artifactId>
137 <version>${version.argeo-commons}</version>
138 <type>pom</type>
139 </dependency>
140 </dependencies>
141 <profiles>
142 <profile>
143 <id>rpmbuild</id>
144 <build>
145 <plugins>
146 <plugin>
147 <groupId>org.apache.maven.plugins</groupId>
148 <artifactId>maven-dependency-plugin</artifactId>
149 <executions>
150 <execution>
151 <id>copy-dependencies</id>
152 <phase>process-resources</phase>
153 <goals>
154 <goal>copy-dependencies</goal>
155 </goals>
156 <configuration>
157 <includeTypes>jar</includeTypes>
158 <includeGroupIds>org.argeo.slc.modules,org.argeo.slc.runtime</includeGroupIds>
159 <outputDirectory>${project.build.directory}/slc</outputDirectory>
160 </configuration>
161 </execution>
162 </executions>
163 </plugin>
164 <plugin>
165 <groupId>org.codehaus.mojo</groupId>
166 <artifactId>rpm-maven-plugin</artifactId>
167 <executions>
168 <execution>
169 <id>rpm-slc</id>
170 <phase>package</phase>
171 <goals>
172 <goal>rpm</goal>
173 </goals>
174 <configuration>
175 <name>slc-libs</name>
176 <copyright>2011 Argeo</copyright>
177 <mappings>
178 <mapping>
179 <directory>/usr/share/osgi</directory>
180 <username>root</username>
181 <groupname>root</groupname>
182 <filemode>644</filemode>
183 <directoryIncluded>false</directoryIncluded>
184 <sources>
185 <source>
186 <location>${project.build.directory}/slc</location>
187 </source>
188 </sources>
189 </mapping>
190 </mappings>
191 <requires>
192 <require>slc-tp</require>
193 <require>argeo-node</require>
194 </requires>
195 </configuration>
196 </execution>
197 </executions>
198 </plugin>
199 </plugins>
200 </build>
201 </profile>
202 <profile>
203 <id>rpmbuild-tp</id>
204 <build>
205 <plugins>
206 <plugin>
207 <groupId>org.codehaus.mojo</groupId>
208 <artifactId>rpm-maven-plugin</artifactId>
209 <executions>
210 <execution>
211 <id>rpm-tp</id>
212 <phase>package</phase>
213 <goals>
214 <goal>rpm</goal>
215 </goals>
216 <configuration>
217 <name>slc-tp</name>
218 <projversion>${version.argeo-distribution}</projversion>
219 <mappings>
220 <mapping>
221 <directory>/usr/share/osgi</directory>
222 <username>root</username>
223 <groupname>root</groupname>
224 <filemode>644</filemode>
225 <directoryIncluded>false</directoryIncluded>
226 <dependency>
227 <includes>
228 <!-- Core -->
229 <include>org.aspectj:com.springsource.org.aspectj.runtime</include>
230 <include>org.aspectj:com.springsource.org.aspectj.weaver</include>
231 <!-- Simple -->
232 <include>com.jcraft.jsch:com.springsource.com.jcraft.jsch</include>
233 <include>com.opensymphony.quartz:com.springsource.org.quartz</include>
234 <include>org.springframework:org.springframework.context.support</include>
235 <include>javax.mail:com.springsource.javax.mail</include>
236 <include>com.svnkit:com.springsource.org.tmatesoft.svn</include>
237 <include>javax.mail:com.springsource.javax.mail</include>
238 <include>org.argeo.dep.osgi:org.redline_rpm</include>
239 <!-- Ant -->
240 <include>org.apache.ant:com.springsource.org.apache.tools.ant</include>
241 <include>org.apache.ant:com.springsource.org.apache.tools.ant.launch</include>
242 <include>org.apache.oro:com.springsource.org.apache.oro</include>
243 <include>org.apache.bsf:com.springsource.org.apache.bsf</include>
244 <!-- Maven -->
245 <include>org.argeo.dep.osgi:org.argeo.dep.osgi.aether</include>
246 <!-- Misc -->
247 <include>net.sourceforge.jexcelapi:com.springsource.jxl</include>
248 </includes>
249 </dependency>
250 </mapping>
251 </mappings>
252 <requires>
253 <require>argeo-node-tp</require>
254 </requires>
255 </configuration>
256 </execution>
257 </executions>
258 </plugin>
259 </plugins>
260 </build>
261 </profile>
262 </profiles>
263 </project>