Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 1 | <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.felix.karaf.gshell</groupId> |
| 26 | <artifactId>gshell</artifactId> |
| 27 | <version>1.2.0-SNAPSHOT</version> |
| 28 | </parent> |
| 29 | |
| 30 | <groupId>org.apache.felix.karaf.gshell</groupId> |
| 31 | <artifactId>org.apache.felix.karaf.gshell.console</artifactId> |
| 32 | <packaging>bundle</packaging> |
| 33 | <version>1.2.0-SNAPSHOT</version> |
| 34 | <name>Apache Felix Karaf :: GShell Console</name> |
| 35 | |
| 36 | <description> |
| 37 | Provides the OSGi GShell integration |
| 38 | </description> |
| 39 | |
| 40 | <dependencies> |
| 41 | <dependency> |
Guillaume Nodet | cb2db1b | 2009-07-10 06:56:47 +0000 | [diff] [blame] | 42 | <groupId>jline</groupId> |
| 43 | <artifactId>jline</artifactId> |
| 44 | </dependency> |
| 45 | <dependency> |
| 46 | <groupId>org.fusesource.jansi</groupId> |
| 47 | <artifactId>jansi</artifactId> |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 48 | </dependency> |
| 49 | <dependency> |
| 50 | <groupId>org.apache.felix</groupId> |
| 51 | <artifactId>org.osgi.core</artifactId> |
| 52 | <scope>provided</scope> |
| 53 | </dependency> |
| 54 | <dependency> |
| 55 | <groupId>org.apache.felix</groupId> |
| 56 | <artifactId>org.osgi.compendium</artifactId> |
| 57 | <scope>provided</scope> |
| 58 | </dependency> |
| 59 | <dependency> |
| 60 | <groupId>org.apache.geronimo</groupId> |
| 61 | <artifactId>blueprint-bundle</artifactId> |
| 62 | </dependency> |
| 63 | <dependency> |
| 64 | <groupId>org.apache.felix.gogo</groupId> |
| 65 | <artifactId>org.apache.felix.gogo.runtime</artifactId> |
| 66 | </dependency> |
| 67 | <dependency> |
| 68 | <groupId>org.apache.felix.gogo</groupId> |
| 69 | <artifactId>org.apache.felix.gogo.commands</artifactId> |
| 70 | </dependency> |
| 71 | </dependencies> |
| 72 | |
| 73 | <build> |
| 74 | <resources> |
| 75 | <resource> |
| 76 | <directory>${pom.basedir}/src/main/resources</directory> |
| 77 | <includes> |
| 78 | <include>**/*</include> |
| 79 | </includes> |
| 80 | </resource> |
| 81 | <resource> |
| 82 | <directory>${pom.basedir}/src/main/filtered-resources</directory> |
| 83 | <filtering>true</filtering> |
| 84 | <includes> |
| 85 | <include>**/*</include> |
| 86 | </includes> |
| 87 | </resource> |
| 88 | </resources> |
| 89 | <plugins> |
| 90 | <plugin> |
| 91 | <groupId>org.codehaus.mojo</groupId> |
| 92 | <artifactId>exec-maven-plugin</artifactId> |
| 93 | <configuration> |
| 94 | <mainClass>Main</mainClass> |
| 95 | </configuration> |
| 96 | </plugin> |
| 97 | <plugin> |
| 98 | <groupId>org.apache.felix</groupId> |
| 99 | <artifactId>maven-bundle-plugin</artifactId> |
| 100 | <configuration> |
| 101 | <instructions> |
| 102 | <Bundle-SymbolicName>${artifactId}</Bundle-SymbolicName> |
| 103 | <Import-Package> |
| 104 | !javax.swing, |
Guillaume Nodet | cb2db1b | 2009-07-10 06:56:47 +0000 | [diff] [blame] | 105 | !org.apache.felix.karaf.gshell.console*, |
| 106 | !org.fusesource.jansi*, |
| 107 | !org.apache.felix.gogo.commands*, |
| 108 | !jline, |
| 109 | com.sun.jna*;resolution:=optional, |
Guillaume Nodet | e668bc3 | 2009-07-27 08:03:39 +0000 | [diff] [blame] | 110 | org.apache.felix.karaf.branding;resolution:=optional, |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 111 | * |
| 112 | </Import-Package> |
| 113 | <Export-Package> |
Guillaume Nodet | cb2db1b | 2009-07-10 06:56:47 +0000 | [diff] [blame] | 114 | org.apache.felix.gogo.commands*;version=${felix.gogo.version}, |
| 115 | org.apache.felix.karaf.gshell.console*;version=${pom.version}, |
| 116 | org.fusesource.jansi;version=${jansi.version}, |
| 117 | jline;version=${jline.version}, |
| 118 | |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 119 | </Export-Package> |
Guillaume Nodet | cb2db1b | 2009-07-10 06:56:47 +0000 | [diff] [blame] | 120 | <Private-Package> |
| 121 | org.fusesource.jansi.internal |
| 122 | </Private-Package> |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 123 | <_versionpolicy>${bnd.version.policy}</_versionpolicy> |
| 124 | </instructions> |
| 125 | <unpackBundle>true</unpackBundle> |
| 126 | </configuration> |
| 127 | </plugin> |
| 128 | </plugins> |
| 129 | </build> |
| 130 | </project> |