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