]> git.argeo.org Git - gpl/argeo-slc.git/blob - runtime/org.argeo.slc.support.maven/pom.xml
Fix SLC build with OSGi check
[gpl/argeo-slc.git] / runtime / org.argeo.slc.support.maven / pom.xml
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4 <modelVersion>4.0.0</modelVersion>
5 <parent>
6 <groupId>org.argeo.slc</groupId>
7 <artifactId>runtime</artifactId>
8 <version>1.1.1-SNAPSHOT</version>
9 <relativePath>..</relativePath>
10 </parent>
11 <groupId>org.argeo.slc.runtime</groupId>
12 <artifactId>org.argeo.slc.support.maven</artifactId>
13 <packaging>bundle</packaging>
14 <name>SLC Support Maven</name>
15 <properties>
16 <version.aether>1.11</version.aether>
17 <version.maven>3.0.3</version.maven>
18 <version.wagon>1.0-beta-7</version.wagon>
19 </properties>
20 <build>
21 <plugins>
22 <plugin>
23 <groupId>org.apache.felix</groupId>
24 <artifactId>maven-bundle-plugin</artifactId>
25
26 <configuration>
27 <instructions>
28 <Export-Package>
29 org.argeo.slc.maven.*
30 </Export-Package>
31 <Import-Package>
32 org.w3c.dom.*;version="0.0.0",
33 org.xml.sax.*;version="0.0.0",
34 com.google.*;resolution:=optional,
35 javax.*;resolution:=optional,
36 com.sun.*;resolution:=optional,
37 org.objectweb.asm.*;resolution:=optional,
38 *
39 </Import-Package>
40 <_exportcontents>
41 org.apache.maven.*;version=${version.maven},
42 </_exportcontents>
43 <Private-Package>org.apache.xbean.*</Private-Package>
44 <Embed-Transitive>true</Embed-Transitive>
45 <Embed-Directory>lib</Embed-Directory>
46 <Embed-Dependency>*;scope=provided;inline=false</Embed-Dependency>
47 </instructions>
48 </configuration>
49 </plugin>
50 <plugin>
51 <groupId>org.apache.maven.plugins</groupId>
52 <artifactId>maven-dependency-plugin</artifactId>
53 <executions>
54 <execution>
55 <id>copy-dependencies</id>
56 <phase>process-resources</phase>
57 <goals>
58 <goal>copy-dependencies</goal>
59 </goals>
60 <configuration>
61 <includeScope>provided</includeScope>
62 <outputDirectory>lib</outputDirectory>
63 </configuration>
64 </execution>
65 </executions>
66 </plugin>
67 </plugins>
68 </build>
69 <dependencies>
70 <dependency>
71 <groupId>org.argeo.slc.runtime</groupId>
72 <artifactId>org.argeo.slc.specs</artifactId>
73 <version>1.1.1-SNAPSHOT</version>
74 </dependency>
75 <dependency>
76 <groupId>org.argeo.slc.runtime</groupId>
77 <artifactId>org.argeo.slc.support.aether</artifactId>
78 <version>1.1.1-SNAPSHOT</version>
79 </dependency>
80
81 <!-- <dependency> <groupId>org.argeo.dep.osgi</groupId> <artifactId>org.argeo.dep.osgi.maven.embedder</artifactId>
82 </dependency> -->
83 <dependency>
84 <groupId>org.argeo.tp</groupId>
85 <artifactId>org.springframework.beans</artifactId>
86 </dependency>
87 <dependency>
88 <groupId>org.argeo.tp</groupId>
89 <artifactId>org.apache.commons.io</artifactId>
90 </dependency>
91
92 <dependency>
93 <groupId>org.argeo.tp</groupId>
94 <artifactId>slf4j.org.apache.commons.logging</artifactId>
95 </dependency>
96
97 <dependency>
98 <groupId>org.apache.maven</groupId>
99 <artifactId>maven-embedder</artifactId>
100 <version>${version.maven}</version>
101 <optional>true</optional>
102 <scope>provided</scope>
103 <exclusions>
104 <exclusion>
105 <groupId>commons-logging</groupId>
106 <artifactId>commons-logging</artifactId>
107 </exclusion>
108 <exclusion>
109 <groupId>commons-cli</groupId>
110 <artifactId>commons-cli</artifactId>
111 </exclusion>
112 <exclusion>
113 <groupId>org.sonatype.aether</groupId>
114 <artifactId>aether-spi</artifactId>
115 </exclusion>
116 <exclusion>
117 <groupId>org.sonatype.aether</groupId>
118 <artifactId>aether-api</artifactId>
119 </exclusion>
120 <exclusion>
121 <groupId>org.sonatype.aether</groupId>
122 <artifactId>aether-util</artifactId>
123 </exclusion>
124 </exclusions>
125 </dependency>
126 <dependency>
127 <groupId>org.sonatype.aether</groupId>
128 <artifactId>aether-connector-wagon</artifactId>
129 <version>${version.aether}</version>
130 <optional>true</optional>
131 <scope>provided</scope>
132 <exclusions>
133 <exclusion>
134 <groupId>commons-logging</groupId>
135 <artifactId>commons-logging</artifactId>
136 </exclusion>
137 <exclusion>
138 <groupId>commons-logging</groupId>
139 <artifactId>commons-logging-api</artifactId>
140 </exclusion>
141 <exclusion>
142 <groupId>log4j</groupId>
143 <artifactId>log4j</artifactId>
144 </exclusion>
145 <exclusion>
146 <groupId>junit</groupId>
147 <artifactId>junit</artifactId>
148 </exclusion>
149 <exclusion>
150 <groupId>org.sonatype.aether</groupId>
151 <artifactId>aether-spi</artifactId>
152 </exclusion>
153 <exclusion>
154 <groupId>org.sonatype.aether</groupId>
155 <artifactId>aether-api</artifactId>
156 </exclusion>
157 <exclusion>
158 <groupId>org.sonatype.aether</groupId>
159 <artifactId>aether-util</artifactId>
160 </exclusion>
161 </exclusions>
162 </dependency>
163 <dependency>
164 <groupId>org.apache.maven.wagon</groupId>
165 <artifactId>wagon-provider-api</artifactId>
166 <version>${version.wagon}</version>
167 <optional>true</optional>
168 <scope>provided</scope>
169 <exclusions>
170 <exclusion>
171 <groupId>commons-logging</groupId>
172 <artifactId>commons-logging</artifactId>
173 </exclusion>
174 </exclusions>
175 </dependency>
176 <dependency>
177 <groupId>org.apache.maven.wagon</groupId>
178 <artifactId>wagon-file</artifactId>
179 <version>${version.wagon}</version>
180 <optional>true</optional>
181 <scope>provided</scope>
182 <exclusions>
183 <exclusion>
184 <groupId>commons-logging</groupId>
185 <artifactId>commons-logging</artifactId>
186 </exclusion>
187 </exclusions>
188 </dependency>
189 <dependency>
190 <groupId>org.apache.maven.wagon</groupId>
191 <artifactId>wagon-http-lightweight</artifactId>
192 <version>${version.wagon}</version>
193 <optional>true</optional>
194 <scope>provided</scope>
195 <exclusions>
196 <exclusion>
197 <groupId>nekohtml</groupId>
198 <artifactId>xercesMinimal</artifactId>
199 </exclusion>
200 <exclusion>
201 <groupId>commons-logging</groupId>
202 <artifactId>commons-logging</artifactId>
203 </exclusion>
204 </exclusions>
205 </dependency>
206 <dependency>
207 <groupId>org.apache.maven.wagon</groupId>
208 <artifactId>wagon-webdav-jackrabbit</artifactId>
209 <version>${version.wagon}</version>
210 <optional>true</optional>
211 <scope>provided</scope>
212 <exclusions>
213 <exclusion>
214 <groupId>org.slf4j</groupId>
215 <artifactId>slf4j-nop</artifactId>
216 </exclusion>
217 <exclusion>
218 <groupId>org.apache.jackrabbit</groupId>
219 <artifactId>jackrabbit-webdav</artifactId>
220 </exclusion>
221 </exclusions>
222 </dependency>
223
224 <dependency>
225 <groupId>org.argeo.tp</groupId>
226 <artifactId>org.sonatype.aether</artifactId>
227 </dependency>
228
229 <dependency>
230 <groupId>org.argeo.tp</groupId>
231 <artifactId>junit</artifactId>
232 </dependency>
233 </dependencies>
234 </project>