blob: 7b5d4100a9981ec2bb892b95add256c69637ad5c [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</groupId>
43 <artifactId>org.apache.felix.karaf.main</artifactId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000044 </dependency>
45 <dependency>
Gert Vanthienen607b8522009-05-02 19:57:13 +000046 <groupId>org.apache.felix.karaf.jaas</groupId>
47 <artifactId>org.apache.felix.karaf.jaas.config</artifactId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000048 </dependency>
49 <dependency>
50 <groupId>org.apache.servicemix.bundles</groupId>
51 <artifactId>org.apache.servicemix.bundles.cglib</artifactId>
52 </dependency>
53 <dependency>
54 <groupId>org.springframework.osgi</groupId>
55 <artifactId>spring-osgi-core</artifactId>
56 </dependency>
57 <dependency>
58 <groupId>org.apache.geronimo.gshell.commands</groupId>
59 <artifactId>gshell-builtin</artifactId>
60 <exclusions>
61 <exclusion>
62 <groupId>oro</groupId>
63 <artifactId>oro</artifactId>
64 </exclusion>
65 <exclusion>
66 <groupId>commons-vfs</groupId>
67 <artifactId>commons-vfs</artifactId>
68 </exclusion>
69 </exclusions>
70 </dependency>
71 <dependency>
72 <groupId>org.apache.geronimo.gshell.commands</groupId>
73 <artifactId>gshell-file</artifactId>
74 </dependency>
75 <dependency>
76 <groupId>org.apache.geronimo.gshell.commands</groupId>
77 <artifactId>gshell-network</artifactId>
78 </dependency>
79 <dependency>
80 <groupId>org.apache.geronimo.gshell.commands</groupId>
81 <artifactId>gshell-shell</artifactId>
82 </dependency>
83 <dependency>
84 <groupId>org.apache.geronimo.gshell.commands</groupId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000085 <artifactId>gshell-text</artifactId>
86 </dependency>
87 <dependency>
88 <groupId>org.apache.geronimo.gshell.wisdom</groupId>
89 <artifactId>gshell-wisdom-core</artifactId>
90 <exclusions>
91 <exclusion>
92 <groupId>org.apache.geronimo.gshell.support</groupId>
93 <artifactId>gshell-ivy</artifactId>
94 </exclusion>
95 <exclusion>
96 <groupId>org.apache.geronimo.gshell.support</groupId>
97 <artifactId>gshell-xstore</artifactId>
98 </exclusion>
99 <exclusion>
100 <groupId>commons-jexl</groupId>
101 <artifactId>commons-jexl</artifactId>
102 </exclusion>
103 </exclusions>
104 </dependency>
105 <dependency>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000106 <groupId>org.springframework</groupId>
107 <artifactId>spring-context</artifactId>
108 </dependency>
109 <dependency>
110 <groupId>org.springframework</groupId>
111 <artifactId>spring-aop</artifactId>
112 </dependency>
113 <dependency>
114 <groupId>org.slf4j</groupId>
115 <artifactId>slf4j-api</artifactId>
116 </dependency>
117 <dependency>
118 <groupId>org.slf4j</groupId>
119 <artifactId>slf4j-jdk14</artifactId>
120 </dependency>
121 <dependency>
122 <groupId>org.apache.servicemix.bundles</groupId>
123 <artifactId>org.apache.servicemix.bundles.commons-httpclient</artifactId>
124 <exclusions>
125 <exclusion>
126 <groupId>commons-codec</groupId>
127 <artifactId>commons-codec</artifactId>
128 </exclusion>
129 </exclusions>
130 </dependency>
131 <dependency>
132 <groupId>org.apache.servicemix.bundles</groupId>
133 <artifactId>org.apache.servicemix.bundles.commons-codec</artifactId>
134 </dependency>
135 <dependency>
136 <groupId>org.apache.servicemix.bundles</groupId>
137 <artifactId>org.apache.servicemix.bundles.commons-jexl</artifactId>
138 <exclusions>
139 <exclusion>
140 <groupId>junit</groupId>
141 <artifactId>junit</artifactId>
142 </exclusion>
143 </exclusions>
144 </dependency>
145 <dependency>
146 <groupId>org.apache.servicemix.bundles</groupId>
147 <artifactId>org.apache.servicemix.bundles.commons-vfs</artifactId>
148 </dependency>
149 <dependency>
150 <groupId>org.apache.servicemix.bundles</groupId>
151 <artifactId>org.apache.servicemix.bundles.oro</artifactId>
152 </dependency>
153 <dependency>
154 <groupId>org.apache.mina</groupId>
155 <artifactId>mina-core</artifactId>
156 </dependency>
157 <dependency>
158 <groupId>org.apache.sshd</groupId>
159 <artifactId>sshd-core</artifactId>
160 </dependency>
161 <dependency>
162 <groupId>org.apache.servicemix.bundles</groupId>
163 <artifactId>org.apache.servicemix.bundles.junit</artifactId>
164 <scope>test</scope>
165 </dependency>
166 <dependency>
167 <groupId>org.apache.servicemix.bundles</groupId>
168 <artifactId>org.apache.servicemix.bundles.jline</artifactId>
169 </dependency>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000170 </dependencies>
171
172 <build>
173 <resources>
174 <resource>
175 <directory>${pom.basedir}/src/main/resources</directory>
176 <includes>
177 <include>**/*</include>
178 </includes>
179 </resource>
180 <resource>
181 <directory>${pom.basedir}/src/main/filtered-resources</directory>
182 <filtering>true</filtering>
183 <includes>
184 <include>**/*</include>
185 </includes>
186 </resource>
187 </resources>
188 <plugins>
189 <plugin>
190 <groupId>org.codehaus.mojo</groupId>
191 <artifactId>exec-maven-plugin</artifactId>
192 <configuration>
193 <mainClass>Main</mainClass>
194 </configuration>
195 </plugin>
196 <plugin>
197 <groupId>org.apache.felix</groupId>
198 <artifactId>maven-bundle-plugin</artifactId>
199 <configuration>
200 <instructions>
201 <Bundle-SymbolicName>${artifactId}</Bundle-SymbolicName>
Guillaume Nodet3e9a4282009-05-04 16:30:02 +0000202 <Import-Package>
203 org.springframework.aop,
204 org.springframework.aop.framework,
205 org.springframework.beans.factory.annotation,
206 org.springframework.context.annotation,
207 org.springframework.osgi.service.importer,
208 org.aopalliance.aop,
209 org.apache.commons.vfs.provider.temp,
210 org.apache.commons.vfs.provider.ram,
211 jline*,
212 org.apache.felix.karaf.jaas.config;resolution:=optional,
213 org.apache.felix.karaf.version;resolution:=optional,
214 org.apache.felix.karaf.main.spi;resolution:=optional;version="1.0.0",
215 org.apache.sshd.server.keyprovider,
216 org.apache.sshd.server.jaas,
217 *
218 </Import-Package>
219 <Export-Package>
220 org.apache.geronimo.gshell*;version="1.0.0.alpha-2";-split-package:=merge-first,
221 org.apache.felix.karaf.gshell.core*;version=${project.version};-split-package:=merge-first,
222 </Export-Package>
223 <Private-Package>
224 org.codehaus.plexus.interpolation*,
225 </Private-Package>
226 <Spring-Context>*;publish-context:=false;create-asynchronously:=true</Spring-Context>
227 <_versionpolicy>${bnd.version.policy}</_versionpolicy>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000228 </instructions>
229 <unpackBundle>true</unpackBundle>
230 </configuration>
231 </plugin>
232 <plugin>
233 <groupId>org.apache.maven.plugins</groupId>
234 <artifactId>maven-shade-plugin</artifactId>
235 <executions>
236 <execution>
237 <phase>package</phase>
238 <goals>
239 <goal>shade</goal>
240 </goals>
241 <configuration>
242 <artifactSet>
243 <includes>
244 <include>org.apache.geronimo.gshell:gshell-api</include>
245 <include>org.apache.geronimo.gshell:gshell-application</include>
246 <include>org.apache.geronimo.gshell:gshell-parser</include>
247 <include>org.apache.geronimo.gshell.commands:gshell-builtin</include>
248 <include>org.apache.geronimo.gshell.commands:gshell-file</include>
249 <include>org.apache.geronimo.gshell.commands:gshell-network</include>
250 <include>org.apache.geronimo.gshell.commands:gshell-shell</include>
251 <include>org.apache.geronimo.gshell.commands:gshell-text</include>
252 <include>org.apache.geronimo.gshell.support:gshell-ansi</include>
253 <include>org.apache.geronimo.gshell.support:gshell-artifact</include>
254 <include>org.apache.geronimo.gshell.support:gshell-chronos</include>
255 <include>org.apache.geronimo.gshell.support:gshell-clp</include>
256 <include>org.apache.geronimo.gshell.support:gshell-console</include>
257 <include>org.apache.geronimo.gshell.support:gshell-event</include>
258 <include>org.apache.geronimo.gshell.support:gshell-i18n</include>
259 <include>org.apache.geronimo.gshell.support:gshell-interpolation</include>
260 <include>org.apache.geronimo.gshell.support:gshell-io</include>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000261 <include>org.apache.geronimo.gshell.support:gshell-spring</include>
262 <include>org.apache.geronimo.gshell.support:gshell-terminal</include>
263 <include>org.apache.geronimo.gshell.support:gshell-vfs</include>
264 <include>org.apache.geronimo.gshell.support:gshell-vfs-meta</include>
265 <include>org.apache.geronimo.gshell.support:gshell-yarn</include>
266 <include>org.apache.geronimo.gshell.wisdom:gshell-wisdom-core</include>
267 <include>org.apache.geronimo.gshell.wisdom:gshell-wisdom-bootstrap</include>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000268 <include>org.codehaus.plexus:plexus-interpolation</include>
269 <include>${project.groupId}:${project.artifactId}</include>
270 </includes>
271 </artifactSet>
272 <filters>
273 <filter>
274 <artifact>org.apache.geronimo.gshell:gshell-api</artifact>
275 <excludes>
276 <exclude>org/apache/geronimo/gshell/**</exclude>
277 </excludes>
278 </filter>
279 <filter>
280 <artifact>org.apache.geronimo.gshell:gshell-application</artifact>
281 <excludes>
282 <exclude>org/apache/geronimo/gshell/**</exclude>
283 </excludes>
284 </filter>
285 <filter>
286 <artifact>org.apache.geronimo.gshell:gshell-parser</artifact>
287 <excludes>
288 <exclude>org/apache/geronimo/gshell/**</exclude>
289 </excludes>
290 </filter>
291 <filter>
292 <artifact>org.apache.geronimo.gshell.commands:gshell-builtin</artifact>
293 <excludes>
294 <exclude>org/apache/geronimo/gshell/**</exclude>
295 </excludes>
296 </filter>
297 <filter>
298 <artifact>org.apache.geronimo.gshell.commands:gshell-file</artifact>
299 <excludes>
300 <exclude>org/apache/geronimo/gshell/**</exclude>
301 </excludes>
302 </filter>
303 <filter>
304 <artifact>org.apache.geronimo.gshell.commands:gshell-network</artifact>
305 <excludes>
306 <exclude>org/apache/geronimo/gshell/**</exclude>
307 </excludes>
308 </filter>
309 <filter>
310 <artifact>org.apache.geronimo.gshell.commands:gshell-shell</artifact>
311 <excludes>
312 <exclude>org/apache/geronimo/gshell/**</exclude>
313 </excludes>
314 </filter>
315 <filter>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000316 <artifact>org.apache.geronimo.gshell.commands:gshell-text</artifact>
317 <excludes>
318 <exclude>org/apache/geronimo/gshell/**</exclude>
319 </excludes>
320 </filter>
321 <filter>
322 <artifact>org.apache.geronimo.gshell.support:gshell-ansi</artifact>
323 <excludes>
324 <exclude>org/apache/geronimo/gshell/**</exclude>
325 </excludes>
326 </filter>
327 <filter>
328 <artifact>org.apache.geronimo.gshell.support:gshell-artifact</artifact>
329 <excludes>
330 <exclude>org/apache/geronimo/gshell/**</exclude>
331 </excludes>
332 </filter>
333 <filter>
334 <artifact>org.apache.geronimo.gshell.support:gshell-chronos</artifact>
335 <excludes>
336 <exclude>org/apache/geronimo/gshell/**</exclude>
337 </excludes>
338 </filter>
339 <filter>
340 <artifact>org.apache.geronimo.gshell.support:gshell-clp</artifact>
341 <excludes>
342 <exclude>org/apache/geronimo/gshell/**</exclude>
343 </excludes>
344 </filter>
345 <filter>
346 <artifact>org.apache.geronimo.gshell.support:gshell-console</artifact>
347 <excludes>
348 <exclude>org/apache/geronimo/gshell/**</exclude>
349 </excludes>
350 </filter>
351 <filter>
352 <artifact>org.apache.geronimo.gshell.support:gshell-event</artifact>
353 <excludes>
354 <exclude>org/apache/geronimo/gshell/**</exclude>
355 </excludes>
356 </filter>
357 <filter>
358 <artifact>org.apache.geronimo.gshell.support:gshell-i18n</artifact>
359 <excludes>
360 <exclude>org/apache/geronimo/gshell/**</exclude>
361 </excludes>
362 </filter>
363 <filter>
364 <artifact>org.apache.geronimo.gshell.support:gshell-interpolation</artifact>
365 <excludes>
366 <exclude>org/apache/geronimo/gshell/**</exclude>
367 </excludes>
368 </filter>
369 <filter>
370 <artifact>org.apache.geronimo.gshell.support:gshell-io</artifact>
371 <excludes>
372 <exclude>org/apache/geronimo/gshell/**</exclude>
373 </excludes>
374 </filter>
375 <filter>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000376 <artifact>org.apache.geronimo.gshell.support:gshell-spring</artifact>
377 <excludes>
378 <exclude>org/apache/geronimo/gshell/**</exclude>
379 </excludes>
380 </filter>
381 <filter>
382 <artifact>org.apache.geronimo.gshell.support:gshell-terminal</artifact>
383 <excludes>
384 <exclude>org/apache/geronimo/gshell/**</exclude>
385 </excludes>
386 </filter>
387 <filter>
388 <artifact>org.apache.geronimo.gshell.support:gshell-vfs</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-meta</artifact>
395 <excludes>
396 <exclude>org/apache/geronimo/gshell/**</exclude>
397 </excludes>
398 </filter>
399 <filter>
400 <artifact>org.apache.geronimo.gshell.support:gshell-yarn</artifact>
401 <excludes>
402 <exclude>org/apache/geronimo/gshell/**</exclude>
403 </excludes>
404 </filter>
405 <filter>
406 <artifact>org.apache.geronimo.gshell.wisdom:gshell-wisdom-core</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-bootstrap</artifact>
413 <excludes>
414 <exclude>org/apache/geronimo/gshell/**</exclude>
415 </excludes>
416 </filter>
417 <filter>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000418 <artifact>org.codehaus.plexus:plexus-interpolation</artifact>
419 <excludes>
420 <exclude>org/codehaus/plexus/**</exclude>
421 </excludes>
422 </filter>
423 </filters>
424 <createSourcesJar>${createSourcesJar}</createSourcesJar>
425 <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
426 <createDependencyReducedPom>true</createDependencyReducedPom>
427 </configuration>
428 </execution>
429 </executions>
430 </plugin>
431 </plugins>
432 </build>
433</project>