Guillaume Nodet | 9743103 | 2016-03-21 16:53:06 +0000 | [diff] [blame] | 1 | <!-- |
| 2 | Licensed to the Apache Software Foundation (ASF) under one |
| 3 | or more contributor license agreements. See the NOTICE file |
| 4 | distributed with this work for additional information |
| 5 | regarding copyright ownership. The ASF licenses this file |
| 6 | to you under the Apache License, Version 2.0 (the |
| 7 | "License"); you may not use this file except in compliance |
| 8 | with the License. You may obtain a copy of the License at |
| 9 | |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 12 | Unless required by applicable law or agreed to in writing, |
| 13 | software distributed under the License is distributed on an |
| 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 15 | KIND, either express or implied. See the License for the |
| 16 | specific language governing permissions and limitations |
| 17 | under the License. |
| 18 | --> |
| 19 | <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"> |
| 20 | <parent> |
| 21 | <groupId>org.apache.felix</groupId> |
| 22 | <artifactId>gogo-parent</artifactId> |
| 23 | <version>0.6.0</version> |
| 24 | <relativePath>../gogo-parent/pom.xml</relativePath> |
| 25 | </parent> |
| 26 | <modelVersion>4.0.0</modelVersion> |
| 27 | <packaging>bundle</packaging> |
| 28 | <name>Apache Felix Gogo JLine Shell</name> |
| 29 | <artifactId>org.apache.felix.gogo.jline</artifactId> |
| 30 | <version>0.11.0-SNAPSHOT</version> |
| 31 | <properties> |
| 32 | <!-- Skip because of NPE --> |
| 33 | <animal.sniffer.skip>true</animal.sniffer.skip> |
Guillaume Nodet | 36d1c79 | 2016-03-21 16:53:21 +0000 | [diff] [blame^] | 34 | <felix.java.version>8</felix.java.version> |
Guillaume Nodet | 9743103 | 2016-03-21 16:53:06 +0000 | [diff] [blame] | 35 | </properties> |
| 36 | <dependencies> |
| 37 | <dependency> |
| 38 | <groupId>org.osgi</groupId> |
| 39 | <artifactId>org.osgi.core</artifactId> |
| 40 | <version>4.2.0</version> |
| 41 | <scope>provided</scope> |
| 42 | </dependency> |
| 43 | <dependency> |
| 44 | <groupId>org.osgi</groupId> |
| 45 | <artifactId>org.osgi.compendium</artifactId> |
| 46 | <version>4.0.0</version> |
| 47 | <scope>provided</scope> |
| 48 | </dependency> |
| 49 | <dependency> |
| 50 | <groupId>org.apache.felix</groupId> |
| 51 | <artifactId>org.apache.felix.gogo.runtime</artifactId> |
| 52 | <version>0.16.3-SNAPSHOT</version> |
| 53 | </dependency> |
| 54 | <dependency> |
| 55 | <groupId>jline</groupId> |
| 56 | <artifactId>jline</artifactId> |
| 57 | <version>3.0.0-SNAPSHOT</version> |
| 58 | <optional>true</optional> |
| 59 | </dependency> |
| 60 | <dependency> |
| 61 | <groupId>org.apache.sshd</groupId> |
| 62 | <artifactId>sshd-core</artifactId> |
| 63 | <version>1.0.0</version> |
| 64 | <optional>true</optional> |
| 65 | </dependency> |
| 66 | </dependencies> |
| 67 | <build> |
| 68 | <plugins> |
| 69 | <plugin> |
| 70 | <groupId>org.apache.felix</groupId> |
| 71 | <artifactId>maven-bundle-plugin</artifactId> |
| 72 | <extensions>true</extensions> |
| 73 | <configuration> |
| 74 | <instructions> |
| 75 | <Export-Package> |
| 76 | </Export-Package> |
| 77 | <Import-Package> |
| 78 | org.apache.felix.service.command; status="provisional", |
| 79 | * |
| 80 | </Import-Package> |
| 81 | <Private-Package> |
| 82 | org.apache.felix.gogo.shell, |
| 83 | org.apache.felix.gogo.options |
| 84 | </Private-Package> |
| 85 | <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> |
| 86 | <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor> |
| 87 | <Bundle-Activator>org.apache.felix.gogo.jline.Activator</Bundle-Activator> |
| 88 | <Include-Resource>{maven-resources},META-INF/LICENSE=LICENSE,META-INF/NOTICE=NOTICE,META-INF/DEPENDENCIES=DEPENDENCIES</Include-Resource> |
| 89 | <_versionpolicy>[$(version;==;$(@)),$(version;+;$(@)))</_versionpolicy> |
| 90 | <_removeheaders>Private-Package,Ignore-Package,Include-Resource</_removeheaders> |
| 91 | </instructions> |
| 92 | </configuration> |
| 93 | </plugin> |
| 94 | <plugin> |
| 95 | <groupId>org.apache.rat</groupId> |
| 96 | <artifactId>apache-rat-plugin</artifactId> |
| 97 | <configuration> |
| 98 | <excludes> |
| 99 | <param>src/main/resources/motd</param> |
| 100 | </excludes> |
| 101 | </configuration> |
| 102 | </plugin> |
| 103 | <plugin> |
| 104 | <artifactId>maven-compiler-plugin</artifactId> |
| 105 | <configuration> |
| 106 | <source>1.8</source> |
| 107 | <target>1.8</target> |
| 108 | </configuration> |
| 109 | </plugin> |
| 110 | </plugins> |
| 111 | </build> |
| 112 | </project> |