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