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