blob: ba9d68443680982ddf3998924b8be3f9bfe346dd [file] [log] [blame]
Guillaume Nodet907d4b12009-06-30 20:52:04 +00001<!--
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-->
Guillaume Nodetcf6fe212009-09-08 20:19:54 +000019<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">
Guillaume Nodet907d4b12009-06-30 20:52:04 +000020 <parent>
21 <groupId>org.apache.felix.gogo</groupId>
22 <artifactId>gogo</artifactId>
Guillaume Nodetaa83cca2010-04-29 18:34:05 +000023 <version>0.5.0-SNAPSHOT</version>
Guillaume Nodet907d4b12009-06-30 20:52:04 +000024 </parent>
25 <modelVersion>4.0.0</modelVersion>
26 <packaging>bundle</packaging>
27 <name>Apache Felix Gogo Shell Launcher</name>
28 <artifactId>org.apache.felix.gogo.launcher</artifactId>
Guillaume Nodetaa83cca2010-04-29 18:34:05 +000029 <version>0.5.0-SNAPSHOT</version>
Guillaume Nodet907d4b12009-06-30 20:52:04 +000030 <dependencies>
31 <dependency>
32 <groupId>org.apache.felix</groupId>
Richard S. Hall0b118e62009-07-03 19:42:04 +000033 <artifactId>org.apache.felix.framework</artifactId>
Guillaume Nodet907d4b12009-06-30 20:52:04 +000034 <scope>provided</scope>
35 </dependency>
36 <dependency>
37 <groupId>org.apache.felix.gogo</groupId>
38 <artifactId>org.apache.felix.gogo.console</artifactId>
39 </dependency>
40 <dependency>
41 <groupId>junit</groupId>
42 <artifactId>junit</artifactId>
43 <scope>test</scope>
44 </dependency>
45 </dependencies>
46 <build>
47 <plugins>
48 <plugin>
49 <groupId>org.apache.felix</groupId>
50 <artifactId>maven-bundle-plugin</artifactId>
Guillaume Nodet907d4b12009-06-30 20:52:04 +000051 <extensions>true</extensions>
52 <configuration>
53 <instructions>
54 <Export-Package>
Guillaume Nodet46c90a92009-09-02 06:46:25 +000055 org.osgi.service.command; version=${project.version},
56 org.osgi.service.threadio; version=${project.version},
Guillaume Nodet907d4b12009-06-30 20:52:04 +000057 org.apache.felix.gogo.commands; version=${project.version}
58 </Export-Package>
59 <Import-Package>
60 org.osgi.service.component*; resolution:=optional,
61 org.osgi.service.log*; resolution:=optional,
62 org.osgi.service.packageadmin*; resolution:=optional,
63 org.osgi.service.startlevel*; resolution:=optional,
64 *
65 </Import-Package>
66 <Private-Package>org.apache.felix.gogo.*</Private-Package>
67 <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
68 <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
69 <Bundle-Activator>org.apache.felix.gogo.runtime.Activator</Bundle-Activator>
Guillaume Nodet9d4d14b2009-09-10 16:25:00 +000070 <Include-Resource>{maven-resources},META-INF/NOTICE=NOTICE</Include-Resource>
Guillaume Nodet46c90a92009-09-02 06:46:25 +000071 <_versionpolicy>[$(version;==;$(@)),$(version;+;$(@)))</_versionpolicy>
Guillaume Nodet44d9d022009-09-08 20:09:15 +000072 <_removeheaders>Private-Package,Ignore-Package,Include-Resource</_removeheaders>
Guillaume Nodet907d4b12009-06-30 20:52:04 +000073 </instructions>
74 </configuration>
75 </plugin>
76 <plugin>
77 <groupId>org.codehaus.mojo</groupId>
78 <artifactId>rat-maven-plugin</artifactId>
79 <configuration>
80 <excludeSubProjects>false</excludeSubProjects>
81 <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes>
82 <useMavenDefaultExcludes>true</useMavenDefaultExcludes>
83 <excludes>
84 <param>doc/*</param>
85 <param>maven-eclipse.xml</param>
86 <param>.checkstyle</param>
87 <param>.externalToolBuilders/*</param>
88 </excludes>
89 </configuration>
90 </plugin>
91 <plugin>
92 <artifactId>maven-compiler-plugin</artifactId>
93 <configuration>
94 <source>1.5</source>
95 <target>1.5</target>
96 </configuration>
97 </plugin>
98 </plugins>
99 </build>
100</project>