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. Hall7bf7a4d2010-08-03 13:25:34 +000020 <parent>
21 <groupId>org.apache.felix</groupId>
22 <artifactId>felix-parent</artifactId>
Guillaume Nodetf9379dd2012-04-17 16:25:00 +000023 <version>2</version>
Richard S. Hall7bf7a4d2010-08-03 13:25:34 +000024 <relativePath>../pom/pom.xml</relativePath>
25 </parent>
Clement Escoffier81466522009-05-03 08:15:51 +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 Escoffier81466522009-05-03 08:15:51 +000031 <url>http://felix.apache.org/site/apache-felix-file-install.html</url>
Guillaume Nodet629d1f52012-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 Nodet67b0ff52012-04-18 07:09:54 +000034 <scm>
Guillaume Nodet629d1f52012-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 Nodet67b0ff52012-04-18 07:09:54 +000038 </scm>
Richard S. Hallb63426f2008-03-05 20:03:55 +000039 <dependencies>
40 <dependency>
Guillaume Nodet93c943e2009-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 Nodet7e690952009-12-16 12:16:23 +000043 <version>4.1.0</version>
Guillaume Nodet13bce9c2012-03-16 08:17:34 +000044 <scope>provided</scope>
Richard S. Hallb63426f2008-03-05 20:03:55 +000045 </dependency>
46 <dependency>
Guillaume Nodet93c943e2009-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 Nodet7e690952009-12-16 12:16:23 +000049 <version>4.1.0</version>
Guillaume Nodet13bce9c2012-03-16 08:17:34 +000050 <scope>provided</scope>
Richard S. Hallb63426f2008-03-05 20:03:55 +000051 </dependency>
Carsten Ziegelerc6e24392010-08-06 14:33:43 +000052 <dependency>
53 <groupId>org.apache.felix</groupId>
54 <artifactId>org.apache.felix.configadmin</artifactId>
Guillaume Nodet3d144cd2010-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 Nodet1fa7fd972012-06-12 07:03:16 +000061 <version>1.2.0</version>
Carsten Ziegelerc6e24392010-08-06 14:33:43 +000062 <scope>provided</scope>
63 </dependency>
Guillaume Nodeta6cb91a2012-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 Nodet3d144cd2010-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 Nodet472d23a2009-09-03 13:39:34 +000089 <Export-Package>
Guillaume Nodeta2861572009-10-14 13:00:51 +000090 org.apache.felix.fileinstall;version=${project.version}
Guillaume Nodet472d23a2009-09-03 13:39:34 +000091 </Export-Package>
Stuart McCullocha96eeef2009-09-03 17:22:01 +000092 <Private-Package>
Guillaume Nodet3d144cd2010-10-25 20:19:04 +000093 org.apache.felix.fileinstall.internal,
Guillaume Nodet10127002012-03-16 14:56:39 +000094 org.apache.felix.utils.manifest,
Guillaume Nodet3d144cd2010-10-25 20:19:04 +000095 org.apache.felix.utils.properties,
Guillaume Nodet10127002012-03-16 14:56:39 +000096 org.apache.felix.utils.version,
Stuart McCullocha96eeef2009-09-03 17:22:01 +000097 </Private-Package>
Guillaume Nodet472d23a2009-09-03 13:39:34 +000098 <Import-Package>
99 org.osgi.service.log;resolution:=optional,
Guillaume Nodeta2861572009-10-14 13:00:51 +0000100 org.osgi.service.cm;resolution:=optional,
Guillaume Nodet472d23a2009-09-03 13:39:34 +0000101 *
102 </Import-Package>
Guillaume Nodet67bfa5f2009-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 Ziegelercf6e51b2008-04-17 06:33:59 +0000105 <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
Guillaume Nodetf9379dd2012-04-17 16:25:00 +0000106 <Bundle-DocURL>
107 http://felix.apache.org/site/apache-felix-file-install.html
108 </Bundle-DocURL>
Guillaume Nodet472d23a2009-09-03 13:39:34 +0000109 <_versionpolicy>[$(version;==;$(@)),$(version;+;$(@)))</_versionpolicy>
Carsten Ziegelerc6e24392010-08-06 14:33:43 +0000110 <Embed-Dependency>
Guillaume Nodet3d144cd2010-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 Ziegelerc6e24392010-08-06 14:33:43 +0000113 </Embed-Dependency>
Richard S. Hallb63426f2008-03-05 20:03:55 +0000114 </instructions>
115 </configuration>
116 </plugin>
Richard S. Hall7bf7a4d2010-08-03 13:25:34 +0000117 <plugin>
Guillaume Nodeta6cb91a2012-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. Hall7bf7a4d2010-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>