blob: 19e9a27a0882e56da0dc812e42ece777549477f9 [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>
25 <groupId>org.apache.servicemix.kernel.gshell</groupId>
26 <artifactId>gshell</artifactId>
27 <version>1.2.0-SNAPSHOT</version>
28 </parent>
29
30 <groupId>org.apache.servicemix.kernel.gshell</groupId>
31 <artifactId>org.apache.servicemix.kernel.gshell.core</artifactId>
32 <packaging>bundle</packaging>
33 <version>1.2.0-SNAPSHOT</version>
34 <name>Apache ServiceMix Kernel :: GShell Core</name>
35
36 <description>
37 Provides the OSGi GShell integration
38 </description>
39
40 <properties>
41 <gshell.osgi.import>
42 org.springframework.aop,
43 org.springframework.aop.framework,
44 org.springframework.beans.factory.annotation,
45 org.springframework.context.annotation,
46 org.springframework.osgi.service.importer,
47 org.aopalliance.aop,
48 org.apache.commons.vfs.provider.temp,
49 org.apache.commons.vfs.provider.ram,
50 jline*,
51 org.apache.servicemix.kernel.jaas.config;resolution:=optional,
52 org.apache.servicemix.kernel.version;resolution:=optional,
53 org.apache.servicemix.kernel.main.spi;resolution:=optional;version="1.0.0",
54 org.codehaus.plexus*;resolution:=optional,
55 org.apache.sshd.server.keyprovider,
56 org.apache.sshd.server.jaas,
57 org.jsecurity*;resolution:=optional,
58 *
59 </gshell.osgi.import>
60 <!-- TODO: remove plexus util package -->
61 <gshell.osgi.export>
62 org.apache.geronimo.gshell*;version="1.0.0.alpha-2-SNAPSHOT";-split-package:=merge-first,
63 org.apache.servicemix.kernel.gshell.core*,
64 org.codehaus.plexus.interpolation*;-split-package:=merge-first,
65 org.codehaus.plexus.util;-split-package:=merge-first
66 </gshell.osgi.export>
67 </properties>
68
69 <dependencies>
70 <dependency>
71 <groupId>org.apache.servicemix.kernel</groupId>
72 <artifactId>org.apache.servicemix.kernel.main</artifactId>
73 </dependency>
74 <dependency>
75 <groupId>org.apache.servicemix.kernel.jaas</groupId>
76 <artifactId>org.apache.servicemix.kernel.jaas.config</artifactId>
77 </dependency>
78 <dependency>
79 <groupId>org.apache.servicemix.bundles</groupId>
80 <artifactId>org.apache.servicemix.bundles.cglib</artifactId>
81 </dependency>
82 <dependency>
83 <groupId>org.springframework.osgi</groupId>
84 <artifactId>spring-osgi-core</artifactId>
85 </dependency>
86 <dependency>
87 <groupId>org.apache.geronimo.gshell.commands</groupId>
88 <artifactId>gshell-builtin</artifactId>
89 <exclusions>
90 <exclusion>
91 <groupId>oro</groupId>
92 <artifactId>oro</artifactId>
93 </exclusion>
94 <exclusion>
95 <groupId>commons-vfs</groupId>
96 <artifactId>commons-vfs</artifactId>
97 </exclusion>
98 </exclusions>
99 </dependency>
100 <dependency>
101 <groupId>org.apache.geronimo.gshell.commands</groupId>
102 <artifactId>gshell-file</artifactId>
103 </dependency>
104 <dependency>
105 <groupId>org.apache.geronimo.gshell.commands</groupId>
106 <artifactId>gshell-network</artifactId>
107 </dependency>
108 <dependency>
109 <groupId>org.apache.geronimo.gshell.commands</groupId>
110 <artifactId>gshell-shell</artifactId>
111 </dependency>
112 <dependency>
113 <groupId>org.apache.geronimo.gshell.commands</groupId>
114 <artifactId>gshell-ssh</artifactId>
115 </dependency>
116 <dependency>
117 <groupId>org.apache.geronimo.gshell.commands</groupId>
118 <artifactId>gshell-text</artifactId>
119 </dependency>
120 <dependency>
121 <groupId>org.apache.geronimo.gshell.wisdom</groupId>
122 <artifactId>gshell-wisdom-core</artifactId>
123 <exclusions>
124 <exclusion>
125 <groupId>org.apache.geronimo.gshell.support</groupId>
126 <artifactId>gshell-ivy</artifactId>
127 </exclusion>
128 <exclusion>
129 <groupId>org.apache.geronimo.gshell.support</groupId>
130 <artifactId>gshell-xstore</artifactId>
131 </exclusion>
132 <exclusion>
133 <groupId>commons-jexl</groupId>
134 <artifactId>commons-jexl</artifactId>
135 </exclusion>
136 </exclusions>
137 </dependency>
138 <dependency>
139 <groupId>org.codehaus.plexus</groupId>
140 <artifactId>plexus-utils</artifactId>
141 </dependency>
142 <dependency>
143 <groupId>org.springframework</groupId>
144 <artifactId>spring-context</artifactId>
145 </dependency>
146 <dependency>
147 <groupId>org.springframework</groupId>
148 <artifactId>spring-aop</artifactId>
149 </dependency>
150 <dependency>
151 <groupId>org.slf4j</groupId>
152 <artifactId>slf4j-api</artifactId>
153 </dependency>
154 <dependency>
155 <groupId>org.slf4j</groupId>
156 <artifactId>slf4j-jdk14</artifactId>
157 </dependency>
158 <dependency>
159 <groupId>org.apache.servicemix.bundles</groupId>
160 <artifactId>org.apache.servicemix.bundles.commons-httpclient</artifactId>
161 <exclusions>
162 <exclusion>
163 <groupId>commons-codec</groupId>
164 <artifactId>commons-codec</artifactId>
165 </exclusion>
166 </exclusions>
167 </dependency>
168 <dependency>
169 <groupId>org.apache.servicemix.bundles</groupId>
170 <artifactId>org.apache.servicemix.bundles.commons-codec</artifactId>
171 </dependency>
172 <dependency>
173 <groupId>org.apache.servicemix.bundles</groupId>
174 <artifactId>org.apache.servicemix.bundles.commons-jexl</artifactId>
175 <exclusions>
176 <exclusion>
177 <groupId>junit</groupId>
178 <artifactId>junit</artifactId>
179 </exclusion>
180 </exclusions>
181 </dependency>
182 <dependency>
183 <groupId>org.apache.servicemix.bundles</groupId>
184 <artifactId>org.apache.servicemix.bundles.commons-vfs</artifactId>
185 </dependency>
186 <dependency>
187 <groupId>org.apache.servicemix.bundles</groupId>
188 <artifactId>org.apache.servicemix.bundles.oro</artifactId>
189 </dependency>
190 <dependency>
191 <groupId>org.apache.mina</groupId>
192 <artifactId>mina-core</artifactId>
193 </dependency>
194 <dependency>
195 <groupId>org.apache.sshd</groupId>
196 <artifactId>sshd-core</artifactId>
197 </dependency>
198 <dependency>
199 <groupId>org.apache.servicemix.bundles</groupId>
200 <artifactId>org.apache.servicemix.bundles.junit</artifactId>
201 <scope>test</scope>
202 </dependency>
203 <dependency>
204 <groupId>org.apache.servicemix.bundles</groupId>
205 <artifactId>org.apache.servicemix.bundles.jline</artifactId>
206 </dependency>
207
208 <!-- jsecurity is a dependency for the ssh commands -->
209 <dependency>
210 <groupId>org.jsecurity</groupId>
211 <artifactId>jsecurity</artifactId>
212 <version>0.9.0-RC2</version>
213 <exclusions>
214 <exclusion>
215 <groupId>commons-logging</groupId>
216 <artifactId>commons-logging</artifactId>
217 </exclusion>
218 </exclusions>
219 </dependency>
220 </dependencies>
221
222 <build>
223 <resources>
224 <resource>
225 <directory>${pom.basedir}/src/main/resources</directory>
226 <includes>
227 <include>**/*</include>
228 </includes>
229 </resource>
230 <resource>
231 <directory>${pom.basedir}/src/main/filtered-resources</directory>
232 <filtering>true</filtering>
233 <includes>
234 <include>**/*</include>
235 </includes>
236 </resource>
237 </resources>
238 <plugins>
239 <plugin>
240 <groupId>org.codehaus.mojo</groupId>
241 <artifactId>exec-maven-plugin</artifactId>
242 <configuration>
243 <mainClass>Main</mainClass>
244 </configuration>
245 </plugin>
246 <plugin>
247 <groupId>org.apache.felix</groupId>
248 <artifactId>maven-bundle-plugin</artifactId>
249 <configuration>
250 <instructions>
251 <Bundle-SymbolicName>${artifactId}</Bundle-SymbolicName>
252 <Import-Package>${gshell.osgi.import}</Import-Package>
253 <Export-Package>${gshell.osgi.export}</Export-Package>
254 <Spring-Context>*;publish-context:=false;create-asynchronously:=false</Spring-Context>
255 </instructions>
256 <unpackBundle>true</unpackBundle>
257 </configuration>
258 </plugin>
259 <plugin>
260 <groupId>org.apache.maven.plugins</groupId>
261 <artifactId>maven-shade-plugin</artifactId>
262 <executions>
263 <execution>
264 <phase>package</phase>
265 <goals>
266 <goal>shade</goal>
267 </goals>
268 <configuration>
269 <artifactSet>
270 <includes>
271 <include>org.apache.geronimo.gshell:gshell-api</include>
272 <include>org.apache.geronimo.gshell:gshell-application</include>
273 <include>org.apache.geronimo.gshell:gshell-parser</include>
274 <include>org.apache.geronimo.gshell.commands:gshell-builtin</include>
275 <include>org.apache.geronimo.gshell.commands:gshell-file</include>
276 <include>org.apache.geronimo.gshell.commands:gshell-network</include>
277 <include>org.apache.geronimo.gshell.commands:gshell-shell</include>
278 <include>org.apache.geronimo.gshell.commands:gshell-text</include>
279 <include>org.apache.geronimo.gshell.support:gshell-ansi</include>
280 <include>org.apache.geronimo.gshell.support:gshell-artifact</include>
281 <include>org.apache.geronimo.gshell.support:gshell-chronos</include>
282 <include>org.apache.geronimo.gshell.support:gshell-clp</include>
283 <include>org.apache.geronimo.gshell.support:gshell-console</include>
284 <include>org.apache.geronimo.gshell.support:gshell-event</include>
285 <include>org.apache.geronimo.gshell.support:gshell-i18n</include>
286 <include>org.apache.geronimo.gshell.support:gshell-interpolation</include>
287 <include>org.apache.geronimo.gshell.support:gshell-io</include>
288 <include>org.apache.geronimo.gshell.support:gshell-security</include>
289 <include>org.apache.geronimo.gshell.support:gshell-spring</include>
290 <include>org.apache.geronimo.gshell.support:gshell-terminal</include>
291 <include>org.apache.geronimo.gshell.support:gshell-vfs</include>
292 <include>org.apache.geronimo.gshell.support:gshell-vfs-meta</include>
293 <include>org.apache.geronimo.gshell.support:gshell-yarn</include>
294 <include>org.apache.geronimo.gshell.wisdom:gshell-wisdom-core</include>
295 <include>org.apache.geronimo.gshell.wisdom:gshell-wisdom-bootstrap</include>
296 <include>org.codehaus.plexus:plexus-utils</include>
297 <include>org.codehaus.plexus:plexus-interpolation</include>
298 <include>${project.groupId}:${project.artifactId}</include>
299 </includes>
300 </artifactSet>
301 <filters>
302 <filter>
303 <artifact>org.apache.geronimo.gshell:gshell-api</artifact>
304 <excludes>
305 <exclude>org/apache/geronimo/gshell/**</exclude>
306 </excludes>
307 </filter>
308 <filter>
309 <artifact>org.apache.geronimo.gshell:gshell-application</artifact>
310 <excludes>
311 <exclude>org/apache/geronimo/gshell/**</exclude>
312 </excludes>
313 </filter>
314 <filter>
315 <artifact>org.apache.geronimo.gshell:gshell-parser</artifact>
316 <excludes>
317 <exclude>org/apache/geronimo/gshell/**</exclude>
318 </excludes>
319 </filter>
320 <filter>
321 <artifact>org.apache.geronimo.gshell.commands:gshell-builtin</artifact>
322 <excludes>
323 <exclude>org/apache/geronimo/gshell/**</exclude>
324 </excludes>
325 </filter>
326 <filter>
327 <artifact>org.apache.geronimo.gshell.commands:gshell-file</artifact>
328 <excludes>
329 <exclude>org/apache/geronimo/gshell/**</exclude>
330 </excludes>
331 </filter>
332 <filter>
333 <artifact>org.apache.geronimo.gshell.commands:gshell-network</artifact>
334 <excludes>
335 <exclude>org/apache/geronimo/gshell/**</exclude>
336 </excludes>
337 </filter>
338 <filter>
339 <artifact>org.apache.geronimo.gshell.commands:gshell-shell</artifact>
340 <excludes>
341 <exclude>org/apache/geronimo/gshell/**</exclude>
342 </excludes>
343 </filter>
344 <filter>
345 <artifact>org.apache.geronimo.gshell.commands:gshell-ssh</artifact>
346 <excludes>
347 <exclude>org/apache/geronimo/gshell/**</exclude>
348 </excludes>
349 </filter>
350 <filter>
351 <artifact>org.apache.geronimo.gshell.commands:gshell-text</artifact>
352 <excludes>
353 <exclude>org/apache/geronimo/gshell/**</exclude>
354 </excludes>
355 </filter>
356 <filter>
357 <artifact>org.apache.geronimo.gshell.support:gshell-ansi</artifact>
358 <excludes>
359 <exclude>org/apache/geronimo/gshell/**</exclude>
360 </excludes>
361 </filter>
362 <filter>
363 <artifact>org.apache.geronimo.gshell.support:gshell-artifact</artifact>
364 <excludes>
365 <exclude>org/apache/geronimo/gshell/**</exclude>
366 </excludes>
367 </filter>
368 <filter>
369 <artifact>org.apache.geronimo.gshell.support:gshell-chronos</artifact>
370 <excludes>
371 <exclude>org/apache/geronimo/gshell/**</exclude>
372 </excludes>
373 </filter>
374 <filter>
375 <artifact>org.apache.geronimo.gshell.support:gshell-clp</artifact>
376 <excludes>
377 <exclude>org/apache/geronimo/gshell/**</exclude>
378 </excludes>
379 </filter>
380 <filter>
381 <artifact>org.apache.geronimo.gshell.support:gshell-console</artifact>
382 <excludes>
383 <exclude>org/apache/geronimo/gshell/**</exclude>
384 </excludes>
385 </filter>
386 <filter>
387 <artifact>org.apache.geronimo.gshell.support:gshell-event</artifact>
388 <excludes>
389 <exclude>org/apache/geronimo/gshell/**</exclude>
390 </excludes>
391 </filter>
392 <filter>
393 <artifact>org.apache.geronimo.gshell.support:gshell-i18n</artifact>
394 <excludes>
395 <exclude>org/apache/geronimo/gshell/**</exclude>
396 </excludes>
397 </filter>
398 <filter>
399 <artifact>org.apache.geronimo.gshell.support:gshell-interpolation</artifact>
400 <excludes>
401 <exclude>org/apache/geronimo/gshell/**</exclude>
402 </excludes>
403 </filter>
404 <filter>
405 <artifact>org.apache.geronimo.gshell.support:gshell-io</artifact>
406 <excludes>
407 <exclude>org/apache/geronimo/gshell/**</exclude>
408 </excludes>
409 </filter>
410 <filter>
411 <artifact>org.apache.geronimo.gshell.support:gshell-security</artifact>
412 <excludes>
413 <exclude>org/apache/geronimo/gshell/**</exclude>
414 </excludes>
415 </filter>
416 <filter>
417 <artifact>org.apache.geronimo.gshell.support:gshell-spring</artifact>
418 <excludes>
419 <exclude>org/apache/geronimo/gshell/**</exclude>
420 </excludes>
421 </filter>
422 <filter>
423 <artifact>org.apache.geronimo.gshell.support:gshell-terminal</artifact>
424 <excludes>
425 <exclude>org/apache/geronimo/gshell/**</exclude>
426 </excludes>
427 </filter>
428 <filter>
429 <artifact>org.apache.geronimo.gshell.support:gshell-vfs</artifact>
430 <excludes>
431 <exclude>org/apache/geronimo/gshell/**</exclude>
432 </excludes>
433 </filter>
434 <filter>
435 <artifact>org.apache.geronimo.gshell.support:gshell-vfs-meta</artifact>
436 <excludes>
437 <exclude>org/apache/geronimo/gshell/**</exclude>
438 </excludes>
439 </filter>
440 <filter>
441 <artifact>org.apache.geronimo.gshell.support:gshell-yarn</artifact>
442 <excludes>
443 <exclude>org/apache/geronimo/gshell/**</exclude>
444 </excludes>
445 </filter>
446 <filter>
447 <artifact>org.apache.geronimo.gshell.wisdom:gshell-wisdom-core</artifact>
448 <excludes>
449 <exclude>org/apache/geronimo/gshell/**</exclude>
450 </excludes>
451 </filter>
452 <filter>
453 <artifact>org.apache.geronimo.gshell.wisdom:gshell-wisdom-bootstrap</artifact>
454 <excludes>
455 <exclude>org/apache/geronimo/gshell/**</exclude>
456 </excludes>
457 </filter>
458 <filter>
459 <artifact>org.codehaus.plexus:plexus-utils</artifact>
460 <excludes>
461 <exclude>org/codehaus/plexus/**</exclude>
462 </excludes>
463 </filter>
464 <filter>
465 <artifact>org.codehaus.plexus:plexus-interpolation</artifact>
466 <excludes>
467 <exclude>org/codehaus/plexus/**</exclude>
468 </excludes>
469 </filter>
470 </filters>
471 <createSourcesJar>${createSourcesJar}</createSourcesJar>
472 <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
473 <createDependencyReducedPom>true</createDependencyReducedPom>
474 </configuration>
475 </execution>
476 </executions>
477 </plugin>
478 </plugins>
479 </build>
480</project>