blob: 8c4dd3b421832b539e44057df16379998880fec9 [file] [log] [blame]
Guillaume Nodet05fac962009-04-27 10:01:58 +00001<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3
4 <!--
5
6 Licensed to the Apache Software Foundation (ASF) under one or more
7 contributor license agreements. See the NOTICE file distributed with
8 this work for additional information regarding copyright ownership.
9 The ASF licenses this file to You under the Apache License, Version 2.0
10 (the "License"); you may not use this file except in compliance with
11 the License. You may obtain a copy of the License at
12
13 http://www.apache.org/licenses/LICENSE-2.0
14
15 Unless required by applicable law or agreed to in writing, software
16 distributed under the License is distributed on an "AS IS" BASIS,
17 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 See the License for the specific language governing permissions and
19 limitations under the License.
20 -->
21
22 <modelVersion>4.0.0</modelVersion>
23
24 <parent>
Gert Vanthienenf54a8392009-05-02 19:57:13 +000025 <groupId>org.apache.felix.karaf.gshell</groupId>
Guillaume Nodet05fac962009-04-27 10:01:58 +000026 <artifactId>gshell</artifactId>
27 <version>1.2.0-SNAPSHOT</version>
28 </parent>
29
Gert Vanthienenf54a8392009-05-02 19:57:13 +000030 <groupId>org.apache.felix.karaf.gshell</groupId>
31 <artifactId>org.apache.felix.karaf.gshell.core</artifactId>
Guillaume Nodet05fac962009-04-27 10:01:58 +000032 <packaging>bundle</packaging>
33 <version>1.2.0-SNAPSHOT</version>
Gert Vanthienenf54a8392009-05-02 19:57:13 +000034 <name>Apache Felix Karaf :: GShell Core</name>
Guillaume Nodet05fac962009-04-27 10:01:58 +000035
36 <description>
37 Provides the OSGi GShell integration
38 </description>
39
Guillaume Nodet05fac962009-04-27 10:01:58 +000040 <dependencies>
41 <dependency>
Gert Vanthienenf54a8392009-05-02 19:57:13 +000042 <groupId>org.apache.felix.karaf.jaas</groupId>
43 <artifactId>org.apache.felix.karaf.jaas.config</artifactId>
Guillaume Nodet05fac962009-04-27 10:01:58 +000044 </dependency>
45 <dependency>
46 <groupId>org.apache.servicemix.bundles</groupId>
47 <artifactId>org.apache.servicemix.bundles.cglib</artifactId>
48 </dependency>
49 <dependency>
50 <groupId>org.springframework.osgi</groupId>
51 <artifactId>spring-osgi-core</artifactId>
52 </dependency>
53 <dependency>
54 <groupId>org.apache.geronimo.gshell.commands</groupId>
55 <artifactId>gshell-builtin</artifactId>
56 <exclusions>
57 <exclusion>
58 <groupId>oro</groupId>
59 <artifactId>oro</artifactId>
60 </exclusion>
61 <exclusion>
62 <groupId>commons-vfs</groupId>
63 <artifactId>commons-vfs</artifactId>
64 </exclusion>
65 </exclusions>
66 </dependency>
67 <dependency>
68 <groupId>org.apache.geronimo.gshell.commands</groupId>
69 <artifactId>gshell-file</artifactId>
70 </dependency>
71 <dependency>
72 <groupId>org.apache.geronimo.gshell.commands</groupId>
73 <artifactId>gshell-network</artifactId>
74 </dependency>
75 <dependency>
76 <groupId>org.apache.geronimo.gshell.commands</groupId>
77 <artifactId>gshell-shell</artifactId>
78 </dependency>
79 <dependency>
80 <groupId>org.apache.geronimo.gshell.commands</groupId>
Guillaume Nodet05fac962009-04-27 10:01:58 +000081 <artifactId>gshell-text</artifactId>
82 </dependency>
83 <dependency>
84 <groupId>org.apache.geronimo.gshell.wisdom</groupId>
85 <artifactId>gshell-wisdom-core</artifactId>
86 <exclusions>
87 <exclusion>
88 <groupId>org.apache.geronimo.gshell.support</groupId>
89 <artifactId>gshell-ivy</artifactId>
90 </exclusion>
91 <exclusion>
92 <groupId>org.apache.geronimo.gshell.support</groupId>
93 <artifactId>gshell-xstore</artifactId>
94 </exclusion>
95 <exclusion>
96 <groupId>commons-jexl</groupId>
97 <artifactId>commons-jexl</artifactId>
98 </exclusion>
99 </exclusions>
100 </dependency>
101 <dependency>
Guillaume Nodet05fac962009-04-27 10:01:58 +0000102 <groupId>org.slf4j</groupId>
103 <artifactId>slf4j-api</artifactId>
104 </dependency>
105 <dependency>
106 <groupId>org.slf4j</groupId>
107 <artifactId>slf4j-jdk14</artifactId>
108 </dependency>
109 <dependency>
110 <groupId>org.apache.servicemix.bundles</groupId>
111 <artifactId>org.apache.servicemix.bundles.commons-httpclient</artifactId>
112 <exclusions>
113 <exclusion>
114 <groupId>commons-codec</groupId>
115 <artifactId>commons-codec</artifactId>
116 </exclusion>
117 </exclusions>
118 </dependency>
119 <dependency>
120 <groupId>org.apache.servicemix.bundles</groupId>
121 <artifactId>org.apache.servicemix.bundles.commons-codec</artifactId>
122 </dependency>
123 <dependency>
124 <groupId>org.apache.servicemix.bundles</groupId>
125 <artifactId>org.apache.servicemix.bundles.commons-jexl</artifactId>
126 <exclusions>
127 <exclusion>
128 <groupId>junit</groupId>
129 <artifactId>junit</artifactId>
130 </exclusion>
131 </exclusions>
132 </dependency>
133 <dependency>
134 <groupId>org.apache.servicemix.bundles</groupId>
135 <artifactId>org.apache.servicemix.bundles.commons-vfs</artifactId>
136 </dependency>
137 <dependency>
138 <groupId>org.apache.servicemix.bundles</groupId>
139 <artifactId>org.apache.servicemix.bundles.oro</artifactId>
140 </dependency>
141 <dependency>
142 <groupId>org.apache.mina</groupId>
143 <artifactId>mina-core</artifactId>
144 </dependency>
145 <dependency>
146 <groupId>org.apache.sshd</groupId>
147 <artifactId>sshd-core</artifactId>
148 </dependency>
149 <dependency>
150 <groupId>org.apache.servicemix.bundles</groupId>
151 <artifactId>org.apache.servicemix.bundles.junit</artifactId>
152 <scope>test</scope>
153 </dependency>
154 <dependency>
155 <groupId>org.apache.servicemix.bundles</groupId>
156 <artifactId>org.apache.servicemix.bundles.jline</artifactId>
157 </dependency>
Guillaume Nodetb417d982009-05-05 15:46:15 +0000158 <dependency>
159 <groupId>org.apache.felix</groupId>
160 <artifactId>org.osgi.core</artifactId>
161 <scope>provided</scope>
162 </dependency>
163 <dependency>
164 <groupId>org.apache.felix</groupId>
165 <artifactId>org.osgi.compendium</artifactId>
166 <scope>provided</scope>
167 </dependency>
Guillaume Nodet6b2946d2009-06-18 20:57:23 +0000168 <dependency>
169 <groupId>org.apache.geronimo</groupId>
170 <artifactId>blueprint-bundle</artifactId>
171 </dependency>
Guillaume Nodet05fac962009-04-27 10:01:58 +0000172 </dependencies>
173
174 <build>
175 <resources>
176 <resource>
177 <directory>${pom.basedir}/src/main/resources</directory>
178 <includes>
179 <include>**/*</include>
180 </includes>
181 </resource>
182 <resource>
183 <directory>${pom.basedir}/src/main/filtered-resources</directory>
184 <filtering>true</filtering>
185 <includes>
186 <include>**/*</include>
187 </includes>
188 </resource>
189 </resources>
190 <plugins>
191 <plugin>
192 <groupId>org.codehaus.mojo</groupId>
193 <artifactId>exec-maven-plugin</artifactId>
194 <configuration>
195 <mainClass>Main</mainClass>
196 </configuration>
197 </plugin>
198 <plugin>
199 <groupId>org.apache.felix</groupId>
200 <artifactId>maven-bundle-plugin</artifactId>
201 <configuration>
202 <instructions>
203 <Bundle-SymbolicName>${artifactId}</Bundle-SymbolicName>
Guillaume Nodet4e32cd62009-05-04 16:30:02 +0000204 <Import-Package>
Guillaume Nodet4e32cd62009-05-04 16:30:02 +0000205 org.apache.commons.vfs.provider.temp,
206 org.apache.commons.vfs.provider.ram,
207 jline*,
208 org.apache.felix.karaf.jaas.config;resolution:=optional,
209 org.apache.felix.karaf.version;resolution:=optional,
210 org.apache.felix.karaf.main.spi;resolution:=optional;version="1.0.0",
211 org.apache.sshd.server.keyprovider,
212 org.apache.sshd.server.jaas,
Guillaume Nodet6b2946d2009-06-18 20:57:23 +0000213 !org.springframework*,
Guillaume Nodet4e32cd62009-05-04 16:30:02 +0000214 *
215 </Import-Package>
216 <Export-Package>
217 org.apache.geronimo.gshell*;version="1.0.0.alpha-2";-split-package:=merge-first,
218 org.apache.felix.karaf.gshell.core*;version=${project.version};-split-package:=merge-first,
219 </Export-Package>
220 <Private-Package>
221 org.codehaus.plexus.interpolation*,
222 </Private-Package>
Guillaume Nodet4e32cd62009-05-04 16:30:02 +0000223 <_versionpolicy>${bnd.version.policy}</_versionpolicy>
Guillaume Nodet05fac962009-04-27 10:01:58 +0000224 </instructions>
225 <unpackBundle>true</unpackBundle>
226 </configuration>
227 </plugin>
228 <plugin>
229 <groupId>org.apache.maven.plugins</groupId>
230 <artifactId>maven-shade-plugin</artifactId>
231 <executions>
232 <execution>
233 <phase>package</phase>
234 <goals>
235 <goal>shade</goal>
236 </goals>
237 <configuration>
238 <artifactSet>
239 <includes>
240 <include>org.apache.geronimo.gshell:gshell-api</include>
241 <include>org.apache.geronimo.gshell:gshell-application</include>
242 <include>org.apache.geronimo.gshell:gshell-parser</include>
243 <include>org.apache.geronimo.gshell.commands:gshell-builtin</include>
244 <include>org.apache.geronimo.gshell.commands:gshell-file</include>
245 <include>org.apache.geronimo.gshell.commands:gshell-network</include>
246 <include>org.apache.geronimo.gshell.commands:gshell-shell</include>
247 <include>org.apache.geronimo.gshell.commands:gshell-text</include>
248 <include>org.apache.geronimo.gshell.support:gshell-ansi</include>
249 <include>org.apache.geronimo.gshell.support:gshell-artifact</include>
250 <include>org.apache.geronimo.gshell.support:gshell-chronos</include>
251 <include>org.apache.geronimo.gshell.support:gshell-clp</include>
252 <include>org.apache.geronimo.gshell.support:gshell-console</include>
253 <include>org.apache.geronimo.gshell.support:gshell-event</include>
254 <include>org.apache.geronimo.gshell.support:gshell-i18n</include>
255 <include>org.apache.geronimo.gshell.support:gshell-interpolation</include>
256 <include>org.apache.geronimo.gshell.support:gshell-io</include>
Guillaume Nodet05fac962009-04-27 10:01:58 +0000257 <include>org.apache.geronimo.gshell.support:gshell-spring</include>
258 <include>org.apache.geronimo.gshell.support:gshell-terminal</include>
259 <include>org.apache.geronimo.gshell.support:gshell-vfs</include>
260 <include>org.apache.geronimo.gshell.support:gshell-vfs-meta</include>
261 <include>org.apache.geronimo.gshell.support:gshell-yarn</include>
262 <include>org.apache.geronimo.gshell.wisdom:gshell-wisdom-core</include>
263 <include>org.apache.geronimo.gshell.wisdom:gshell-wisdom-bootstrap</include>
Guillaume Nodet05fac962009-04-27 10:01:58 +0000264 <include>org.codehaus.plexus:plexus-interpolation</include>
265 <include>${project.groupId}:${project.artifactId}</include>
266 </includes>
267 </artifactSet>
268 <filters>
269 <filter>
270 <artifact>org.apache.geronimo.gshell:gshell-api</artifact>
271 <excludes>
272 <exclude>org/apache/geronimo/gshell/**</exclude>
273 </excludes>
274 </filter>
275 <filter>
276 <artifact>org.apache.geronimo.gshell:gshell-application</artifact>
277 <excludes>
278 <exclude>org/apache/geronimo/gshell/**</exclude>
279 </excludes>
280 </filter>
281 <filter>
282 <artifact>org.apache.geronimo.gshell:gshell-parser</artifact>
283 <excludes>
284 <exclude>org/apache/geronimo/gshell/**</exclude>
285 </excludes>
286 </filter>
287 <filter>
288 <artifact>org.apache.geronimo.gshell.commands:gshell-builtin</artifact>
289 <excludes>
290 <exclude>org/apache/geronimo/gshell/**</exclude>
291 </excludes>
292 </filter>
293 <filter>
294 <artifact>org.apache.geronimo.gshell.commands:gshell-file</artifact>
295 <excludes>
296 <exclude>org/apache/geronimo/gshell/**</exclude>
297 </excludes>
298 </filter>
299 <filter>
300 <artifact>org.apache.geronimo.gshell.commands:gshell-network</artifact>
301 <excludes>
302 <exclude>org/apache/geronimo/gshell/**</exclude>
303 </excludes>
304 </filter>
305 <filter>
306 <artifact>org.apache.geronimo.gshell.commands:gshell-shell</artifact>
307 <excludes>
308 <exclude>org/apache/geronimo/gshell/**</exclude>
309 </excludes>
310 </filter>
311 <filter>
Guillaume Nodet05fac962009-04-27 10:01:58 +0000312 <artifact>org.apache.geronimo.gshell.commands:gshell-text</artifact>
313 <excludes>
314 <exclude>org/apache/geronimo/gshell/**</exclude>
315 </excludes>
316 </filter>
317 <filter>
318 <artifact>org.apache.geronimo.gshell.support:gshell-ansi</artifact>
319 <excludes>
320 <exclude>org/apache/geronimo/gshell/**</exclude>
321 </excludes>
322 </filter>
323 <filter>
324 <artifact>org.apache.geronimo.gshell.support:gshell-artifact</artifact>
325 <excludes>
326 <exclude>org/apache/geronimo/gshell/**</exclude>
327 </excludes>
328 </filter>
329 <filter>
330 <artifact>org.apache.geronimo.gshell.support:gshell-chronos</artifact>
331 <excludes>
332 <exclude>org/apache/geronimo/gshell/**</exclude>
333 </excludes>
334 </filter>
335 <filter>
336 <artifact>org.apache.geronimo.gshell.support:gshell-clp</artifact>
337 <excludes>
338 <exclude>org/apache/geronimo/gshell/**</exclude>
339 </excludes>
340 </filter>
341 <filter>
342 <artifact>org.apache.geronimo.gshell.support:gshell-console</artifact>
343 <excludes>
344 <exclude>org/apache/geronimo/gshell/**</exclude>
345 </excludes>
346 </filter>
347 <filter>
348 <artifact>org.apache.geronimo.gshell.support:gshell-event</artifact>
349 <excludes>
350 <exclude>org/apache/geronimo/gshell/**</exclude>
351 </excludes>
352 </filter>
353 <filter>
354 <artifact>org.apache.geronimo.gshell.support:gshell-i18n</artifact>
355 <excludes>
356 <exclude>org/apache/geronimo/gshell/**</exclude>
357 </excludes>
358 </filter>
359 <filter>
360 <artifact>org.apache.geronimo.gshell.support:gshell-interpolation</artifact>
361 <excludes>
362 <exclude>org/apache/geronimo/gshell/**</exclude>
363 </excludes>
364 </filter>
365 <filter>
366 <artifact>org.apache.geronimo.gshell.support:gshell-io</artifact>
367 <excludes>
368 <exclude>org/apache/geronimo/gshell/**</exclude>
369 </excludes>
370 </filter>
371 <filter>
Guillaume Nodet05fac962009-04-27 10:01:58 +0000372 <artifact>org.apache.geronimo.gshell.support:gshell-spring</artifact>
373 <excludes>
374 <exclude>org/apache/geronimo/gshell/**</exclude>
375 </excludes>
376 </filter>
377 <filter>
378 <artifact>org.apache.geronimo.gshell.support:gshell-terminal</artifact>
379 <excludes>
380 <exclude>org/apache/geronimo/gshell/**</exclude>
381 </excludes>
382 </filter>
383 <filter>
384 <artifact>org.apache.geronimo.gshell.support:gshell-vfs</artifact>
385 <excludes>
386 <exclude>org/apache/geronimo/gshell/**</exclude>
387 </excludes>
388 </filter>
389 <filter>
390 <artifact>org.apache.geronimo.gshell.support:gshell-vfs-meta</artifact>
391 <excludes>
392 <exclude>org/apache/geronimo/gshell/**</exclude>
393 </excludes>
394 </filter>
395 <filter>
396 <artifact>org.apache.geronimo.gshell.support:gshell-yarn</artifact>
397 <excludes>
398 <exclude>org/apache/geronimo/gshell/**</exclude>
399 </excludes>
400 </filter>
401 <filter>
402 <artifact>org.apache.geronimo.gshell.wisdom:gshell-wisdom-core</artifact>
403 <excludes>
404 <exclude>org/apache/geronimo/gshell/**</exclude>
405 </excludes>
406 </filter>
407 <filter>
408 <artifact>org.apache.geronimo.gshell.wisdom:gshell-wisdom-bootstrap</artifact>
409 <excludes>
410 <exclude>org/apache/geronimo/gshell/**</exclude>
411 </excludes>
412 </filter>
413 <filter>
Guillaume Nodet05fac962009-04-27 10:01:58 +0000414 <artifact>org.codehaus.plexus:plexus-interpolation</artifact>
415 <excludes>
416 <exclude>org/codehaus/plexus/**</exclude>
417 </excludes>
418 </filter>
419 </filters>
420 <createSourcesJar>${createSourcesJar}</createSourcesJar>
421 <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
422 <createDependencyReducedPom>true</createDependencyReducedPom>
423 </configuration>
424 </execution>
425 </executions>
426 </plugin>
427 </plugins>
428 </build>
429</project>