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