| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.servicemix.kernel.gshell</groupId> |
| <artifactId>gshell</artifactId> |
| <version>1.0.0-rc2</version> |
| </parent> |
| |
| <groupId>org.apache.servicemix.kernel.gshell</groupId> |
| <artifactId>org.apache.servicemix.kernel.gshell.core</artifactId> |
| <packaging>bundle</packaging> |
| <version>1.0.0-rc2</version> |
| <name>Apache ServiceMix Kernel :: GShell Core</name> |
| |
| <description> |
| Provides the OSGi GShell integration |
| </description> |
| |
| <properties> |
| <gshell.osgi.import> |
| org.springframework.aop.framework, |
| org.aopalliance.aop, |
| org.apache.servicemix.kernel.jaas.config;resolution:=optional, |
| org.apache.servicemix.kernel.main.spi;resolution:=optional;version="1.0.0", |
| com.thoughtworks.xstream*;resolution:=optional, |
| junit.framework*;resolution:=optional, |
| org.codehaus.plexus*;resolution:=optional, |
| org.apache.maven*;resolution:=optional, |
| org.apache.mina*;resolution:=optional, |
| * |
| </gshell.osgi.import> |
| <gshell.osgi.export> |
| org.apache.geronimo.gshell*;-split-package:=merge-first, |
| </gshell.osgi.export> |
| <gshell.osgi.private> |
| jline*, |
| org.apache.commons.jexl*, |
| org.codehaus.plexus.personality.plexus.lifecycle.phase*;-split-package:=merge-first, |
| org.codehaus.plexus.util*, |
| </gshell.osgi.private> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.servicemix.kernel</groupId> |
| <artifactId>org.apache.servicemix.kernel.main</artifactId> |
| <version>${pom.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.servicemix.kernel.jaas</groupId> |
| <artifactId>org.apache.servicemix.kernel.jaas.config</artifactId> |
| <version>${pom.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.servicemix.bundles</groupId> |
| <artifactId>org.apache.servicemix.bundles.cglib</artifactId> |
| <version>${cglib.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework.osgi</groupId> |
| <artifactId>spring-osgi-core</artifactId> |
| <version>${spring.osgi.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.gshell</groupId> |
| <artifactId>gshell-core</artifactId> |
| <version>${gshell.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.gshell</groupId> |
| <artifactId>gshell-command-api</artifactId> |
| <version>${gshell.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.gshell.support</groupId> |
| <artifactId>gshell-common</artifactId> |
| <version>${gshell.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.gshell.support</groupId> |
| <artifactId>gshell-ansi</artifactId> |
| <version>${gshell.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.gshell.support</groupId> |
| <artifactId>gshell-i18n</artifactId> |
| <version>${gshell.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.gshell.support</groupId> |
| <artifactId>gshell-clp</artifactId> |
| <version>${gshell.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.gshell</groupId> |
| <artifactId>gshell-parser</artifactId> |
| <version>${gshell.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.gshell</groupId> |
| <artifactId>gshell-whisper</artifactId> |
| <version>${gshell.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.mina</groupId> |
| <artifactId>mina-filter-ssl</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.mina</groupId> |
| <artifactId>mina-core</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.gshell.remote</groupId> |
| <artifactId>gshell-remote-client</artifactId> |
| <version>${gshell.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.mina</groupId> |
| <artifactId>mina-filter-ssl</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.mina</groupId> |
| <artifactId>mina-core</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.gshell.remote</groupId> |
| <artifactId>gshell-remote-common</artifactId> |
| <version>${gshell.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.mina</groupId> |
| <artifactId>mina-filter-ssl</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.mina</groupId> |
| <artifactId>mina-core</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.gshell.remote</groupId> |
| <artifactId>gshell-remote-server</artifactId> |
| <version>${gshell.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.mina</groupId> |
| <artifactId>mina-filter-ssl</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.mina</groupId> |
| <artifactId>mina-core</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>commons-jexl</groupId> |
| <artifactId>commons-jexl</artifactId> |
| <version>1.1</version> |
| <exclusions> |
| <exclusion> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>jline</groupId> |
| <artifactId>jline</artifactId> |
| <version>${jline.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-component-api</artifactId> |
| <version>1.0-alpha-32</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-utils</artifactId> |
| <version>1.4.5</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-context</artifactId> |
| <version>${spring.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-aop</artifactId> |
| <version>${spring.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>1.4.3</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-jdk14</artifactId> |
| <version>1.4.3</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.servicemix.bundles</groupId> |
| <artifactId>org.apache.servicemix.bundles.mina</artifactId> |
| <version>${mina.version}</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <resources> |
| <resource> |
| <directory>${pom.basedir}/src/main/resources</directory> |
| <includes> |
| <include>**/*</include> |
| </includes> |
| </resource> |
| <resource> |
| <directory>${pom.basedir}/src/main/filtered-resources</directory> |
| <filtering>true</filtering> |
| <includes> |
| <include>**/*</include> |
| </includes> |
| </resource> |
| </resources> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <configuration> |
| <mainClass>Main</mainClass> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <configuration> |
| <instructions> |
| <Bundle-SymbolicName>${artifactId}</Bundle-SymbolicName> |
| <Import-Package>${gshell.osgi.import}</Import-Package> |
| <DynamicImport-Package>sun.misc.*</DynamicImport-Package> |
| <Export-Package>${gshell.osgi.export}</Export-Package> |
| <Private-Package>${gshell.osgi.private}</Private-Package> |
| <Spring-Context>*;publish-context:=false;create-asynchronously:=false</Spring-Context> |
| </instructions> |
| <unpackBundle>true</unpackBundle> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| <configuration> |
| <artifactSet> |
| <includes> |
| <include>org.apache.geronimo.gshell:gshell-cli</include> |
| <include>org.apache.geronimo.gshell:gshell-command-api</include> |
| <include>org.apache.geronimo.gshell:gshell-core</include> |
| <include>jline:jline</include> |
| <include>commons-jexl:commons-jexl</include> |
| <include>${project.groupId}:${project.artifactId}</include> |
| </includes> |
| </artifactSet> |
| <filters> |
| <filter> |
| <artifact>org.apache.geronimo.gshell:gshell-cli</artifact> |
| <excludes> |
| <exclude>org/apache/geronimo/gshell/**</exclude> |
| </excludes> |
| </filter> |
| <filter> |
| <artifact>org.apache.geronimo.gshell:gshell-command-api</artifact> |
| <excludes> |
| <exclude>org/apache/geronimo/gshell/**</exclude> |
| </excludes> |
| </filter> |
| <filter> |
| <artifact>org.apache.geronimo.gshell:gshell-core</artifact> |
| <excludes> |
| <exclude>org/apache/geronimo/gshell/**</exclude> |
| </excludes> |
| </filter> |
| <filter> |
| <artifact>jline:jline</artifact> |
| <excludes> |
| <exclude>jline/**</exclude> |
| </excludes> |
| </filter> |
| <filter> |
| <artifact>commons-jexl:commons-jexl</artifact> |
| <excludes> |
| <exclude>org/apache/commons/jexl/**</exclude> |
| </excludes> |
| </filter> |
| </filters> |
| <createSourcesJar>${createSourcesJar}</createSourcesJar> |
| <promoteTransitiveDependencies>true</promoteTransitiveDependencies> |
| <createDependencyReducedPom>true</createDependencyReducedPom> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |