blob: f9a357cdc8d2fd05cab4f23258c47e028e404234 [file] [log] [blame]
Richard S. Hallb63426f2008-03-05 20:03:55 +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-->
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">
Richard S. Hall46e748d2010-08-03 13:25:34 +000020 <parent>
21 <groupId>org.apache.felix</groupId>
22 <artifactId>felix-parent</artifactId>
Guillaume Nodetc713aa02012-04-17 16:25:00 +000023 <version>2</version>
Richard S. Hall46e748d2010-08-03 13:25:34 +000024 <relativePath>../pom/pom.xml</relativePath>
25 </parent>
Clement Escoffier19ba2f22009-05-03 08:16:01 +000026
Richard S. Hallb63426f2008-03-05 20:03:55 +000027 <modelVersion>4.0.0</modelVersion>
28 <packaging>bundle</packaging>
29 <name>Apache Felix File Install</name>
30 <description>A utility to automatically install bundles from a directory.</description>
Clement Escoffier19ba2f22009-05-03 08:16:01 +000031 <url>http://felix.apache.org/site/apache-felix-file-install.html</url>
Guillaume Nodet73dd2772012-09-25 13:02:49 +000032 <version>3.3.0-SNAPSHOT</version>
Richard S. Hallb63426f2008-03-05 20:03:55 +000033 <artifactId>org.apache.felix.fileinstall</artifactId>
Guillaume Nodet754dcb32012-04-18 07:09:54 +000034 <scm>
Guillaume Nodet73dd2772012-09-25 13:02:49 +000035 <connection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk/fileinstall</connection>
36 <developerConnection>scm:svn:https://svn.apache.org/repos/asf/felix/trunk/fileinstall</developerConnection>
37 <url>http://svn.apache.org/repos/asf/felix/fileinstall</url>
Guillaume Nodet754dcb32012-04-18 07:09:54 +000038 </scm>
Richard S. Hallb63426f2008-03-05 20:03:55 +000039 <dependencies>
40 <dependency>
Guillaume Nodetfb35af12009-12-16 09:28:31 +000041 <groupId>org.osgi</groupId>
Richard S. Hallb63426f2008-03-05 20:03:55 +000042 <artifactId>org.osgi.core</artifactId>
Guillaume Nodetf29e3482009-12-16 12:16:23 +000043 <version>4.1.0</version>
Guillaume Nodet98695372012-03-16 08:17:34 +000044 <scope>provided</scope>
Richard S. Hallb63426f2008-03-05 20:03:55 +000045 </dependency>
46 <dependency>
Guillaume Nodetfb35af12009-12-16 09:28:31 +000047 <groupId>org.osgi</groupId>
Richard S. Hallb63426f2008-03-05 20:03:55 +000048 <artifactId>org.osgi.compendium</artifactId>
Guillaume Nodetf29e3482009-12-16 12:16:23 +000049 <version>4.1.0</version>
Guillaume Nodet98695372012-03-16 08:17:34 +000050 <scope>provided</scope>
Richard S. Hallb63426f2008-03-05 20:03:55 +000051 </dependency>
Carsten Ziegeler8c2f61e2010-08-06 14:33:43 +000052 <dependency>
53 <groupId>org.apache.felix</groupId>
54 <artifactId>org.apache.felix.configadmin</artifactId>
Guillaume Nodet213efef2010-10-25 20:19:04 +000055 <version>1.2.8</version>
56 <scope>provided</scope>
57 </dependency>
58 <dependency>
59 <groupId>org.apache.felix</groupId>
60 <artifactId>org.apache.felix.utils</artifactId>
Guillaume Nodet1993d362012-06-12 07:03:16 +000061 <version>1.2.0</version>
Carsten Ziegeler8c2f61e2010-08-06 14:33:43 +000062 <scope>provided</scope>
63 </dependency>
Guillaume Nodet2f457d02012-09-03 13:08:02 +000064 <!-- sources -->
65 <dependency>
66 <groupId>org.apache.felix</groupId>
67 <artifactId>org.apache.felix.configadmin</artifactId>
68 <version>1.2.8</version>
69 <classifier>sources</classifier>
70 <optional>true</optional>
71 </dependency>
72 <dependency>
73 <groupId>org.apache.felix</groupId>
74 <artifactId>org.apache.felix.utils</artifactId>
75 <version>1.2.0</version>
76 <classifier>sources</classifier>
77 <optional>true</optional>
78 </dependency>
Richard S. Hallb63426f2008-03-05 20:03:55 +000079 </dependencies>
80 <build>
81 <plugins>
82 <plugin>
83 <groupId>org.apache.felix</groupId>
84 <artifactId>maven-bundle-plugin</artifactId>
Guillaume Nodet213efef2010-10-25 20:19:04 +000085 <version>2.1.0</version>
Richard S. Hallb63426f2008-03-05 20:03:55 +000086 <extensions>true</extensions>
87 <configuration>
88 <instructions>
Guillaume Nodeta4afb792009-09-03 13:39:34 +000089 <Export-Package>
Guillaume Nodetd567a242009-10-14 13:00:51 +000090 org.apache.felix.fileinstall;version=${project.version}
Guillaume Nodeta4afb792009-09-03 13:39:34 +000091 </Export-Package>
Stuart McCullochf3af5892009-09-03 17:22:01 +000092 <Private-Package>
Guillaume Nodet213efef2010-10-25 20:19:04 +000093 org.apache.felix.fileinstall.internal,
Guillaume Nodeta6a78f12012-03-16 14:56:39 +000094 org.apache.felix.utils.manifest,
Guillaume Nodet213efef2010-10-25 20:19:04 +000095 org.apache.felix.utils.properties,
Guillaume Nodeta6a78f12012-03-16 14:56:39 +000096 org.apache.felix.utils.version,
Stuart McCullochf3af5892009-09-03 17:22:01 +000097 </Private-Package>
Guillaume Nodeta4afb792009-09-03 13:39:34 +000098 <Import-Package>
99 org.osgi.service.log;resolution:=optional,
Guillaume Nodetd567a242009-10-14 13:00:51 +0000100 org.osgi.service.cm;resolution:=optional,
Guillaume Nodeta4afb792009-09-03 13:39:34 +0000101 *
102 </Import-Package>
Guillaume Nodet32a23242009-09-03 15:39:17 +0000103 <Bundle-Activator>org.apache.felix.fileinstall.internal.FileInstall</Bundle-Activator>
Richard S. Hallb63426f2008-03-05 20:03:55 +0000104 <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
Carsten Ziegeler90f0b9f2008-04-17 06:33:59 +0000105 <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
Guillaume Nodetc713aa02012-04-17 16:25:00 +0000106 <Bundle-DocURL>
107 http://felix.apache.org/site/apache-felix-file-install.html
108 </Bundle-DocURL>
Guillaume Nodeta4afb792009-09-03 13:39:34 +0000109 <_versionpolicy>[$(version;==;$(@)),$(version;+;$(@)))</_versionpolicy>
Carsten Ziegeler8c2f61e2010-08-06 14:33:43 +0000110 <Embed-Dependency>
Guillaume Nodet213efef2010-10-25 20:19:04 +0000111 org.apache.felix.configadmin;inline="org/apache/felix/cm/file/ConfigurationHandler.*",
112 org.apache.felix.utils;inline="org/apache/felix/utils/collections/DictionaryAsMap*.*"
Carsten Ziegeler8c2f61e2010-08-06 14:33:43 +0000113 </Embed-Dependency>
Richard S. Hallb63426f2008-03-05 20:03:55 +0000114 </instructions>
115 </configuration>
116 </plugin>
Richard S. Hall46e748d2010-08-03 13:25:34 +0000117 <plugin>
Guillaume Nodet2f457d02012-09-03 13:08:02 +0000118 <groupId>org.apache.maven.plugins</groupId>
119 <artifactId>maven-source-plugin</artifactId>
120 <executions>
121 <execution>
122 <id>attach-sources</id>
123 <goals>
124 <goal>jar</goal>
125 </goals>
126 </execution>
127 </executions>
128 </plugin>
129 <plugin>
130 <groupId>org.apache.maven.plugins</groupId>
131 <artifactId>maven-shade-plugin</artifactId>
132 <executions>
133 <execution>
134 <phase>package</phase>
135 <goals>
136 <goal>shade</goal>
137 </goals>
138 <configuration>
139 <artifactSet>
140 <includes>
141 <include>org.apache.felix:org.apache.felix.configadmin</include>
142 <include>org.apache.felix:org.apache.felix.utils</include>
143 </includes>
144 </artifactSet>
145 <filters>
146 <filter>
147 <artifact>org.apache.felix:org.apache.felix.configadmin</artifact>
148 <includes>
149 <include>**/ConfigurationHandler.*</include>
150 </includes>
151 </filter>
152 <filter>
153 <artifact>org.apache.felix:org.apache.felix.utils</artifact>
154 <includes>
155 <include>**/DictionaryAsMap.*</include>
156 </includes>
157 </filter>
158 </filters>
159 <createSourcesJar>true</createSourcesJar>
160 <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
161 <createDependencyReducedPom>true</createDependencyReducedPom>
162 </configuration>
163 </execution>
164 </executions>
165 </plugin>
166 <plugin>
Richard S. Hall46e748d2010-08-03 13:25:34 +0000167 <groupId>org.codehaus.mojo</groupId>
168 <artifactId>rat-maven-plugin</artifactId>
169 <configuration>
170 <excludeSubProjects>false</excludeSubProjects>
171 <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes>
172 <useMavenDefaultExcludes>true</useMavenDefaultExcludes>
173 <excludes>
174 <param>doc/*</param>
175 <param>maven-eclipse.xml</param>
176 <param>.checkstyle</param>
177 <param>.externalToolBuilders/*</param>
178 </excludes>
179 </configuration>
180 </plugin>
Richard S. Hallb63426f2008-03-05 20:03:55 +0000181 </plugins>
182 </build>
Richard S. Hallb63426f2008-03-05 20:03:55 +0000183</project>