blob: d06580b2358b16a7cb5980e073dff978d8cc2b71 [file] [log] [blame]
Guillaume Nodet91fab3b2009-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 Vanthienen607b8522009-05-02 19:57:13 +000025 <groupId>org.apache.felix.karaf.gshell</groupId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000026 <artifactId>gshell</artifactId>
27 <version>1.2.0-SNAPSHOT</version>
28 </parent>
29
Gert Vanthienen607b8522009-05-02 19:57:13 +000030 <groupId>org.apache.felix.karaf.gshell</groupId>
31 <artifactId>org.apache.felix.karaf.gshell.core</artifactId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000032 <packaging>bundle</packaging>
33 <version>1.2.0-SNAPSHOT</version>
Gert Vanthienen607b8522009-05-02 19:57:13 +000034 <name>Apache Felix Karaf :: GShell Core</name>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000035
36 <description>
37 Provides the OSGi GShell integration
38 </description>
39
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000040 <dependencies>
41 <dependency>
Gert Vanthienen607b8522009-05-02 19:57:13 +000042 <groupId>org.apache.felix.karaf.jaas</groupId>
43 <artifactId>org.apache.felix.karaf.jaas.config</artifactId>
Guillaume Nodet91fab3b2009-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 Nodet91fab3b2009-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 Nodet91fab3b2009-04-27 10:01:58 +0000102 <groupId>org.springframework</groupId>
103 <artifactId>spring-context</artifactId>
104 </dependency>
105 <dependency>
106 <groupId>org.springframework</groupId>
107 <artifactId>spring-aop</artifactId>
108 </dependency>
109 <dependency>
110 <groupId>org.slf4j</groupId>
111 <artifactId>slf4j-api</artifactId>
112 </dependency>
113 <dependency>
114 <groupId>org.slf4j</groupId>
115 <artifactId>slf4j-jdk14</artifactId>
116 </dependency>
117 <dependency>
118 <groupId>org.apache.servicemix.bundles</groupId>
119 <artifactId>org.apache.servicemix.bundles.commons-httpclient</artifactId>
120 <exclusions>
121 <exclusion>
122 <groupId>commons-codec</groupId>
123 <artifactId>commons-codec</artifactId>
124 </exclusion>
125 </exclusions>
126 </dependency>
127 <dependency>
128 <groupId>org.apache.servicemix.bundles</groupId>
129 <artifactId>org.apache.servicemix.bundles.commons-codec</artifactId>
130 </dependency>
131 <dependency>
132 <groupId>org.apache.servicemix.bundles</groupId>
133 <artifactId>org.apache.servicemix.bundles.commons-jexl</artifactId>
134 <exclusions>
135 <exclusion>
136 <groupId>junit</groupId>
137 <artifactId>junit</artifactId>
138 </exclusion>
139 </exclusions>
140 </dependency>
141 <dependency>
142 <groupId>org.apache.servicemix.bundles</groupId>
143 <artifactId>org.apache.servicemix.bundles.commons-vfs</artifactId>
144 </dependency>
145 <dependency>
146 <groupId>org.apache.servicemix.bundles</groupId>
147 <artifactId>org.apache.servicemix.bundles.oro</artifactId>
148 </dependency>
149 <dependency>
150 <groupId>org.apache.mina</groupId>
151 <artifactId>mina-core</artifactId>
152 </dependency>
153 <dependency>
154 <groupId>org.apache.sshd</groupId>
155 <artifactId>sshd-core</artifactId>
156 </dependency>
157 <dependency>
158 <groupId>org.apache.servicemix.bundles</groupId>
159 <artifactId>org.apache.servicemix.bundles.junit</artifactId>
160 <scope>test</scope>
161 </dependency>
162 <dependency>
163 <groupId>org.apache.servicemix.bundles</groupId>
164 <artifactId>org.apache.servicemix.bundles.jline</artifactId>
165 </dependency>
Guillaume Nodet350b1502009-05-05 15:46:15 +0000166 <dependency>
167 <groupId>org.apache.felix</groupId>
168 <artifactId>org.osgi.core</artifactId>
169 <scope>provided</scope>
170 </dependency>
171 <dependency>
172 <groupId>org.apache.felix</groupId>
173 <artifactId>org.osgi.compendium</artifactId>
174 <scope>provided</scope>
175 </dependency>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000176 </dependencies>
177
178 <build>
179 <resources>
180 <resource>
181 <directory>${pom.basedir}/src/main/resources</directory>
182 <includes>
183 <include>**/*</include>
184 </includes>
185 </resource>
186 <resource>
187 <directory>${pom.basedir}/src/main/filtered-resources</directory>
188 <filtering>true</filtering>
189 <includes>
190 <include>**/*</include>
191 </includes>
192 </resource>
193 </resources>
194 <plugins>
195 <plugin>
196 <groupId>org.codehaus.mojo</groupId>
197 <artifactId>exec-maven-plugin</artifactId>
198 <configuration>
199 <mainClass>Main</mainClass>
200 </configuration>
201 </plugin>
202 <plugin>
203 <groupId>org.apache.felix</groupId>
204 <artifactId>maven-bundle-plugin</artifactId>
205 <configuration>
206 <instructions>
207 <Bundle-SymbolicName>${artifactId}</Bundle-SymbolicName>
Guillaume Nodet3e9a4282009-05-04 16:30:02 +0000208 <Import-Package>
209 org.springframework.aop,
210 org.springframework.aop.framework,
211 org.springframework.beans.factory.annotation,
212 org.springframework.context.annotation,
213 org.springframework.osgi.service.importer,
214 org.aopalliance.aop,
215 org.apache.commons.vfs.provider.temp,
216 org.apache.commons.vfs.provider.ram,
217 jline*,
218 org.apache.felix.karaf.jaas.config;resolution:=optional,
219 org.apache.felix.karaf.version;resolution:=optional,
220 org.apache.felix.karaf.main.spi;resolution:=optional;version="1.0.0",
221 org.apache.sshd.server.keyprovider,
222 org.apache.sshd.server.jaas,
223 *
224 </Import-Package>
225 <Export-Package>
226 org.apache.geronimo.gshell*;version="1.0.0.alpha-2";-split-package:=merge-first,
227 org.apache.felix.karaf.gshell.core*;version=${project.version};-split-package:=merge-first,
228 </Export-Package>
229 <Private-Package>
230 org.codehaus.plexus.interpolation*,
231 </Private-Package>
232 <Spring-Context>*;publish-context:=false;create-asynchronously:=true</Spring-Context>
233 <_versionpolicy>${bnd.version.policy}</_versionpolicy>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000234 </instructions>
235 <unpackBundle>true</unpackBundle>
236 </configuration>
237 </plugin>
238 <plugin>
239 <groupId>org.apache.maven.plugins</groupId>
240 <artifactId>maven-shade-plugin</artifactId>
241 <executions>
242 <execution>
243 <phase>package</phase>
244 <goals>
245 <goal>shade</goal>
246 </goals>
247 <configuration>
248 <artifactSet>
249 <includes>
250 <include>org.apache.geronimo.gshell:gshell-api</include>
251 <include>org.apache.geronimo.gshell:gshell-application</include>
252 <include>org.apache.geronimo.gshell:gshell-parser</include>
253 <include>org.apache.geronimo.gshell.commands:gshell-builtin</include>
254 <include>org.apache.geronimo.gshell.commands:gshell-file</include>
255 <include>org.apache.geronimo.gshell.commands:gshell-network</include>
256 <include>org.apache.geronimo.gshell.commands:gshell-shell</include>
257 <include>org.apache.geronimo.gshell.commands:gshell-text</include>
258 <include>org.apache.geronimo.gshell.support:gshell-ansi</include>
259 <include>org.apache.geronimo.gshell.support:gshell-artifact</include>
260 <include>org.apache.geronimo.gshell.support:gshell-chronos</include>
261 <include>org.apache.geronimo.gshell.support:gshell-clp</include>
262 <include>org.apache.geronimo.gshell.support:gshell-console</include>
263 <include>org.apache.geronimo.gshell.support:gshell-event</include>
264 <include>org.apache.geronimo.gshell.support:gshell-i18n</include>
265 <include>org.apache.geronimo.gshell.support:gshell-interpolation</include>
266 <include>org.apache.geronimo.gshell.support:gshell-io</include>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000267 <include>org.apache.geronimo.gshell.support:gshell-spring</include>
268 <include>org.apache.geronimo.gshell.support:gshell-terminal</include>
269 <include>org.apache.geronimo.gshell.support:gshell-vfs</include>
270 <include>org.apache.geronimo.gshell.support:gshell-vfs-meta</include>
271 <include>org.apache.geronimo.gshell.support:gshell-yarn</include>
272 <include>org.apache.geronimo.gshell.wisdom:gshell-wisdom-core</include>
273 <include>org.apache.geronimo.gshell.wisdom:gshell-wisdom-bootstrap</include>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000274 <include>org.codehaus.plexus:plexus-interpolation</include>
275 <include>${project.groupId}:${project.artifactId}</include>
276 </includes>
277 </artifactSet>
278 <filters>
279 <filter>
280 <artifact>org.apache.geronimo.gshell:gshell-api</artifact>
281 <excludes>
282 <exclude>org/apache/geronimo/gshell/**</exclude>
283 </excludes>
284 </filter>
285 <filter>
286 <artifact>org.apache.geronimo.gshell:gshell-application</artifact>
287 <excludes>
288 <exclude>org/apache/geronimo/gshell/**</exclude>
289 </excludes>
290 </filter>
291 <filter>
292 <artifact>org.apache.geronimo.gshell:gshell-parser</artifact>
293 <excludes>
294 <exclude>org/apache/geronimo/gshell/**</exclude>
295 </excludes>
296 </filter>
297 <filter>
298 <artifact>org.apache.geronimo.gshell.commands:gshell-builtin</artifact>
299 <excludes>
300 <exclude>org/apache/geronimo/gshell/**</exclude>
301 </excludes>
302 </filter>
303 <filter>
304 <artifact>org.apache.geronimo.gshell.commands:gshell-file</artifact>
305 <excludes>
306 <exclude>org/apache/geronimo/gshell/**</exclude>
307 </excludes>
308 </filter>
309 <filter>
310 <artifact>org.apache.geronimo.gshell.commands:gshell-network</artifact>
311 <excludes>
312 <exclude>org/apache/geronimo/gshell/**</exclude>
313 </excludes>
314 </filter>
315 <filter>
316 <artifact>org.apache.geronimo.gshell.commands:gshell-shell</artifact>
317 <excludes>
318 <exclude>org/apache/geronimo/gshell/**</exclude>
319 </excludes>
320 </filter>
321 <filter>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000322 <artifact>org.apache.geronimo.gshell.commands:gshell-text</artifact>
323 <excludes>
324 <exclude>org/apache/geronimo/gshell/**</exclude>
325 </excludes>
326 </filter>
327 <filter>
328 <artifact>org.apache.geronimo.gshell.support:gshell-ansi</artifact>
329 <excludes>
330 <exclude>org/apache/geronimo/gshell/**</exclude>
331 </excludes>
332 </filter>
333 <filter>
334 <artifact>org.apache.geronimo.gshell.support:gshell-artifact</artifact>
335 <excludes>
336 <exclude>org/apache/geronimo/gshell/**</exclude>
337 </excludes>
338 </filter>
339 <filter>
340 <artifact>org.apache.geronimo.gshell.support:gshell-chronos</artifact>
341 <excludes>
342 <exclude>org/apache/geronimo/gshell/**</exclude>
343 </excludes>
344 </filter>
345 <filter>
346 <artifact>org.apache.geronimo.gshell.support:gshell-clp</artifact>
347 <excludes>
348 <exclude>org/apache/geronimo/gshell/**</exclude>
349 </excludes>
350 </filter>
351 <filter>
352 <artifact>org.apache.geronimo.gshell.support:gshell-console</artifact>
353 <excludes>
354 <exclude>org/apache/geronimo/gshell/**</exclude>
355 </excludes>
356 </filter>
357 <filter>
358 <artifact>org.apache.geronimo.gshell.support:gshell-event</artifact>
359 <excludes>
360 <exclude>org/apache/geronimo/gshell/**</exclude>
361 </excludes>
362 </filter>
363 <filter>
364 <artifact>org.apache.geronimo.gshell.support:gshell-i18n</artifact>
365 <excludes>
366 <exclude>org/apache/geronimo/gshell/**</exclude>
367 </excludes>
368 </filter>
369 <filter>
370 <artifact>org.apache.geronimo.gshell.support:gshell-interpolation</artifact>
371 <excludes>
372 <exclude>org/apache/geronimo/gshell/**</exclude>
373 </excludes>
374 </filter>
375 <filter>
376 <artifact>org.apache.geronimo.gshell.support:gshell-io</artifact>
377 <excludes>
378 <exclude>org/apache/geronimo/gshell/**</exclude>
379 </excludes>
380 </filter>
381 <filter>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000382 <artifact>org.apache.geronimo.gshell.support:gshell-spring</artifact>
383 <excludes>
384 <exclude>org/apache/geronimo/gshell/**</exclude>
385 </excludes>
386 </filter>
387 <filter>
388 <artifact>org.apache.geronimo.gshell.support:gshell-terminal</artifact>
389 <excludes>
390 <exclude>org/apache/geronimo/gshell/**</exclude>
391 </excludes>
392 </filter>
393 <filter>
394 <artifact>org.apache.geronimo.gshell.support:gshell-vfs</artifact>
395 <excludes>
396 <exclude>org/apache/geronimo/gshell/**</exclude>
397 </excludes>
398 </filter>
399 <filter>
400 <artifact>org.apache.geronimo.gshell.support:gshell-vfs-meta</artifact>
401 <excludes>
402 <exclude>org/apache/geronimo/gshell/**</exclude>
403 </excludes>
404 </filter>
405 <filter>
406 <artifact>org.apache.geronimo.gshell.support:gshell-yarn</artifact>
407 <excludes>
408 <exclude>org/apache/geronimo/gshell/**</exclude>
409 </excludes>
410 </filter>
411 <filter>
412 <artifact>org.apache.geronimo.gshell.wisdom:gshell-wisdom-core</artifact>
413 <excludes>
414 <exclude>org/apache/geronimo/gshell/**</exclude>
415 </excludes>
416 </filter>
417 <filter>
418 <artifact>org.apache.geronimo.gshell.wisdom:gshell-wisdom-bootstrap</artifact>
419 <excludes>
420 <exclude>org/apache/geronimo/gshell/**</exclude>
421 </excludes>
422 </filter>
423 <filter>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000424 <artifact>org.codehaus.plexus:plexus-interpolation</artifact>
425 <excludes>
426 <exclude>org/codehaus/plexus/**</exclude>
427 </excludes>
428 </filter>
429 </filters>
430 <createSourcesJar>${createSourcesJar}</createSourcesJar>
431 <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
432 <createDependencyReducedPom>true</createDependencyReducedPom>
433 </configuration>
434 </execution>
435 </executions>
436 </plugin>
437 </plugins>
438 </build>
439</project>