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