]> git.argeo.org Git - gpl/argeo-slc.git/blob - pom.xml
17b682ca44832b04771f233b09507ab2147af467
[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>2.1.1-SNAPSHOT</version>
8 <relativePath>..</relativePath>
9 </parent>
10 <artifactId>org.argeo.slc.dep.backend</artifactId>
11 <name>SLC 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 <dependency>
40 <groupId>org.argeo.slc</groupId>
41 <artifactId>org.argeo.slc.dep.minimal</artifactId>
42 <version>2.1.1-SNAPSHOT</version>
43 </dependency>
44
45 <!-- SLC Libs -->
46 <!-- <dependency> -->
47 <!-- <groupId>org.argeo.slc</groupId> -->
48 <!-- <artifactId>org.argeo.slc.lib.repo</artifactId> -->
49 <!-- <version>1.1.14-SNAPSHOT</version> -->
50 <!-- </dependency> -->
51 <!-- <dependency> -->
52 <!-- <groupId>org.argeo.slc</groupId> -->
53 <!-- <artifactId>org.argeo.slc.lib.jcr</artifactId> -->
54 <!-- <version>1.1.14-SNAPSHOT</version> -->
55 <!-- </dependency> -->
56
57 <!-- Extensions -->
58 <dependency>
59 <groupId>org.argeo.slc</groupId>
60 <artifactId>org.argeo.slc.support</artifactId>
61 <version>2.1.1-SNAPSHOT</version>
62 </dependency>
63
64 <!-- SLC Repo -->
65 <dependency>
66 <groupId>org.argeo.slc</groupId>
67 <artifactId>org.argeo.slc.repo</artifactId>
68 <version>2.1.1-SNAPSHOT</version>
69 </dependency>
70 <dependency>
71 <groupId>org.argeo.slc</groupId>
72 <artifactId>org.argeo.slc.factory</artifactId>
73 <version>2.1.1-SNAPSHOT</version>
74 </dependency>
75 <dependency>
76 <groupId>org.argeo.slc</groupId>
77 <artifactId>org.argeo.slc.server.repo</artifactId>
78 <version>2.1.1-SNAPSHOT</version>
79 </dependency>
80 <!-- <dependency> -->
81 <!-- <groupId>org.argeo.slc</groupId> -->
82 <!-- <artifactId>org.argeo.slc.server.repo.webapp</artifactId> -->
83 <!-- <version>2.1.1-SNAPSHOT</version> -->
84 <!-- </dependency> -->
85
86 <!-- Node -->
87 <dependency>
88 <groupId>org.argeo.commons</groupId>
89 <artifactId>org.argeo.dep.cms.sdk</artifactId>
90 <version>${version.argeo-commons}</version>
91 </dependency>
92
93 <!-- UI -->
94 <dependency>
95 <groupId>org.argeo.slc</groupId>
96 <artifactId>org.argeo.slc.client.ui</artifactId>
97 <version>2.1.1-SNAPSHOT</version>
98 </dependency>
99 <dependency>
100 <groupId>org.argeo.slc</groupId>
101 <artifactId>org.argeo.slc.client.ui.dist</artifactId>
102 <version>2.1.1-SNAPSHOT</version>
103 </dependency>
104 <dependency>
105 <groupId>org.argeo.slc</groupId>
106 <artifactId>org.argeo.slc.client.rap</artifactId>
107 <version>2.1.1-SNAPSHOT</version>
108 </dependency>
109
110 <!-- For target platform generation -->
111 <dependency>
112 <groupId>org.argeo.slc</groupId>
113 <artifactId>org.argeo.slc.unit</artifactId>
114 <version>2.1.1-SNAPSHOT</version>
115 <scope>test</scope>
116 </dependency>
117
118 <!-- Thrid parties (extras) -->
119 <dependency>
120 <groupId>org.argeo.tp.extras</groupId>
121 <artifactId>net.sf.jxl</artifactId>
122 </dependency>
123 <dependency>
124 <groupId>org.argeo.tp.extras</groupId>
125 <artifactId>org.postgresql.postgresql</artifactId>
126 </dependency>
127 <dependency>
128 <groupId>org.argeo.tp.extras</groupId>
129 <artifactId>org.dbunit</artifactId>
130 </dependency>
131 <dependency>
132 <groupId>org.argeo.tp.extras.eclipse</groupId>
133 <artifactId>org.eclipse.aether.api</artifactId>
134 </dependency>
135 <dependency>
136 <groupId>org.argeo.tp.extras.eclipse</groupId>
137 <artifactId>org.eclipse.aether.spi</artifactId>
138 </dependency>
139 <dependency>
140 <groupId>org.argeo.tp.extras.eclipse</groupId>
141 <artifactId>org.eclipse.aether.util</artifactId>
142 </dependency>
143 <dependency>
144 <groupId>org.argeo.tp.extras.eclipse</groupId>
145 <artifactId>org.eclipse.aether.impl</artifactId>
146 </dependency>
147 <dependency>
148 <groupId>org.argeo.tp.extras.eclipse</groupId>
149 <artifactId>org.eclipse.aether.connector.basic</artifactId>
150 </dependency>
151 <dependency>
152 <groupId>org.argeo.tp.extras.eclipse</groupId>
153 <artifactId>org.eclipse.aether.transport.classpath</artifactId>
154 </dependency>
155 <dependency>
156 <groupId>org.argeo.tp.extras.eclipse</groupId>
157 <artifactId>org.eclipse.aether.transport.file</artifactId>
158 </dependency>
159 <dependency>
160 <groupId>org.argeo.tp.extras</groupId>
161 <artifactId>org.redline-rpm</artifactId>
162 </dependency>
163 <dependency>
164 <groupId>org.argeo.tp.extras</groupId>
165 <artifactId>org.tmatesoft.svnkit</artifactId>
166 </dependency>
167 </dependencies>
168 <profiles>
169 <profile>
170 <id>rpmbuild</id>
171 <build>
172 <plugins>
173 <plugin>
174 <groupId>org.apache.maven.plugins</groupId>
175 <artifactId>maven-dependency-plugin</artifactId>
176 <executions>
177 <execution>
178 <id>copy-argeo</id>
179 <phase>package</phase>
180 <goals>
181 <goal>copy-dependencies</goal>
182 </goals>
183 <configuration>
184 <includeTypes>jar</includeTypes>
185 <outputDirectory>${project.build.directory}/lib-argeo</outputDirectory>
186 <includeGroupIds>org.argeo.slc</includeGroupIds>
187 <excludeTransitive>true</excludeTransitive>
188 <includeTypes>jar</includeTypes>
189 <includeScope>runtime</includeScope>
190 </configuration>
191 </execution>
192 <execution>
193 <id>copy-tp</id>
194 <phase>package</phase>
195 <goals>
196 <goal>copy-dependencies</goal>
197 </goals>
198 <configuration>
199 <includeTypes>jar</includeTypes>
200 <outputDirectory>${project.build.directory}/lib-tp</outputDirectory>
201 <excludeGroupIds>org.argeo.slc</excludeGroupIds>
202 <excludeTransitive>true</excludeTransitive>
203 <includeTypes>jar</includeTypes>
204 <includeScope>runtime</includeScope>
205 </configuration>
206 </execution>
207 </executions>
208 </plugin>
209 <plugin>
210 <groupId>org.codehaus.mojo</groupId>
211 <artifactId>rpm-maven-plugin</artifactId>
212 <executions>
213 <execution>
214 <id>rpm-argeo</id>
215 <phase>package</phase>
216 <goals>
217 <goal>rpm</goal>
218 </goals>
219 <configuration>
220 <name>slc-platform</name>
221 <mappings>
222 <mapping>
223 <directory>/usr/share/osgi</directory>
224 <username>root</username>
225 <groupname>root</groupname>
226 <filemode>644</filemode>
227 <directoryIncluded>false</directoryIncluded>
228 <sources>
229 <source>
230 <location>${project.build.directory}/lib-argeo</location>
231 <includes>
232 <include>*.jar</include>
233 </includes>
234 </source>
235 </sources>
236 </mapping>
237 </mappings>
238 <requires>
239 <require>argeo-cms-platform</require>
240 <require>slc-agent</require>
241 <require>slc-platform-tp</require>
242 </requires>
243 </configuration>
244 </execution>
245 </executions>
246 </plugin>
247 </plugins>
248 </build>
249 </profile>
250 <profile>
251 <id>rpmbuild-tp</id>
252 <build>
253 <plugins>
254 <plugin>
255 <groupId>org.codehaus.mojo</groupId>
256 <artifactId>rpm-maven-plugin</artifactId>
257 <executions>
258 <execution>
259 <id>rpm-tp</id>
260 <phase>package</phase>
261 <goals>
262 <goal>rpm</goal>
263 </goals>
264 <configuration>
265 <name>slc-platform-tp</name>
266 <projversion>${version.argeo-distribution}</projversion>
267 <mappings>
268 <mapping>
269 <directory>/usr/share/osgi</directory>
270 <username>root</username>
271 <groupname>root</groupname>
272 <filemode>644</filemode>
273 <directoryIncluded>false</directoryIncluded>
274 <sources>
275 <source>
276 <location>${project.build.directory}/lib-tp</location>
277 <includes>
278 <include>*.jar</include>
279 </includes>
280 </source>
281 </sources>
282 </mapping>
283 </mappings>
284 <requires>
285 <require>argeo-cms-sdk-tp</require>
286 </requires>
287 </configuration>
288 </execution>
289 </executions>
290 </plugin>
291 </plugins>
292 </build>
293 </profile>
294 </profiles>
295 </project>