blob: e3b83e4d1e0213dfb6cd76ac679a4e0d32a6baf3 [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 Nodet7b76c0a2013-12-05 23:01:03 +000023 <version>2.1</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>
Guillaume Nodet7b76c0a2013-12-05 23:01:03 +000028 <packaging>jar</packaging>
Richard S. Hallb63426f2008-03-05 20:03:55 +000029 <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 Nodet414f16e2013-12-09 08:30:29 +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 Nodet414f16e2013-12-09 08:30:29 +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>
Guillaume Nodet3d144cd2010-10-25 20:19:04 +000056 </dependency>
57 <dependency>
58 <groupId>org.apache.felix</groupId>
59 <artifactId>org.apache.felix.utils</artifactId>
Guillaume Nodet3c54ee72013-12-09 08:28:09 +000060 <version>1.4.2</version>
Carsten Ziegelerc6e24392010-08-06 14:33:43 +000061 </dependency>
Richard S. Hallb63426f2008-03-05 20:03:55 +000062 </dependencies>
63 <build>
64 <plugins>
65 <plugin>
Guillaume Nodet0aebbe92013-12-06 09:07:13 +000066 <artifactId>maven-jar-plugin</artifactId>
67 <configuration>
68 <archive>
69 <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
70 </archive>
71 </configuration>
72 </plugin>
73 <plugin>
Richard S. Hallb63426f2008-03-05 20:03:55 +000074 <groupId>org.apache.felix</groupId>
75 <artifactId>maven-bundle-plugin</artifactId>
Guillaume Nodet3d144cd2010-10-25 20:19:04 +000076 <version>2.1.0</version>
Richard S. Hallb63426f2008-03-05 20:03:55 +000077 <extensions>true</extensions>
78 <configuration>
79 <instructions>
Guillaume Nodet472d23a2009-09-03 13:39:34 +000080 <Export-Package>
Guillaume Nodeta2861572009-10-14 13:00:51 +000081 org.apache.felix.fileinstall;version=${project.version}
Guillaume Nodet472d23a2009-09-03 13:39:34 +000082 </Export-Package>
Stuart McCullocha96eeef2009-09-03 17:22:01 +000083 <Private-Package>
Guillaume Nodet3d144cd2010-10-25 20:19:04 +000084 org.apache.felix.fileinstall.internal,
Guillaume Nodet10127002012-03-16 14:56:39 +000085 org.apache.felix.utils.manifest,
Guillaume Nodet3d144cd2010-10-25 20:19:04 +000086 org.apache.felix.utils.properties,
Guillaume Nodet10127002012-03-16 14:56:39 +000087 org.apache.felix.utils.version,
Stuart McCullocha96eeef2009-09-03 17:22:01 +000088 </Private-Package>
Guillaume Nodet472d23a2009-09-03 13:39:34 +000089 <Import-Package>
90 org.osgi.service.log;resolution:=optional,
Guillaume Nodeta2861572009-10-14 13:00:51 +000091 org.osgi.service.cm;resolution:=optional,
Guillaume Nodet0aebbe92013-12-06 09:07:13 +000092 !org.apache.felix.fileinstall,
93 !org.apache.felix.cm.file,
94 !org.apache.felix.utils.*,
Guillaume Nodet472d23a2009-09-03 13:39:34 +000095 *
96 </Import-Package>
Guillaume Nodet67bfa5f2009-09-03 15:39:17 +000097 <Bundle-Activator>org.apache.felix.fileinstall.internal.FileInstall</Bundle-Activator>
Richard S. Hallb63426f2008-03-05 20:03:55 +000098 <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
Carsten Ziegelercf6e51b2008-04-17 06:33:59 +000099 <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
Guillaume Nodetf9379dd2012-04-17 16:25:00 +0000100 <Bundle-DocURL>
101 http://felix.apache.org/site/apache-felix-file-install.html
102 </Bundle-DocURL>
Guillaume Nodet472d23a2009-09-03 13:39:34 +0000103 <_versionpolicy>[$(version;==;$(@)),$(version;+;$(@)))</_versionpolicy>
Carsten Ziegelerc6e24392010-08-06 14:33:43 +0000104 <Embed-Dependency>
Guillaume Nodet7b76c0a2013-12-05 23:01:03 +0000105 org.apache.felix.configadmin;inline="org/apache/felix/cm/file/ConfigurationHandler.class",
106 org.apache.felix.utils;inline="org/apache/felix/utils/collections/DictionaryAsMap*.class"
Carsten Ziegelerc6e24392010-08-06 14:33:43 +0000107 </Embed-Dependency>
Richard S. Hallb63426f2008-03-05 20:03:55 +0000108 </instructions>
109 </configuration>
Guillaume Nodet7b76c0a2013-12-05 23:01:03 +0000110 <executions>
111 <execution>
112 <id>bundle-manifest</id>
113 <phase>process-classes</phase>
114 <goals>
115 <goal>manifest</goal>
116 </goals>
117 </execution>
118 </executions>
Richard S. Hallb63426f2008-03-05 20:03:55 +0000119 </plugin>
Richard S. Hall7bf7a4d2010-08-03 13:25:34 +0000120 <plugin>
Guillaume Nodeta6cb91a2012-09-03 13:08:02 +0000121 <groupId>org.apache.maven.plugins</groupId>
122 <artifactId>maven-source-plugin</artifactId>
Guillaume Nodet7b76c0a2013-12-05 23:01:03 +0000123 <version>2.2.1</version>
Guillaume Nodeta6cb91a2012-09-03 13:08:02 +0000124 <executions>
125 <execution>
126 <id>attach-sources</id>
Guillaume Nodet7b76c0a2013-12-05 23:01:03 +0000127 <phase>prepare-package</phase>
Guillaume Nodeta6cb91a2012-09-03 13:08:02 +0000128 <goals>
Guillaume Nodet7b76c0a2013-12-05 23:01:03 +0000129 <goal>jar-no-fork</goal>
Guillaume Nodeta6cb91a2012-09-03 13:08:02 +0000130 </goals>
131 </execution>
132 </executions>
133 </plugin>
134 <plugin>
135 <groupId>org.apache.maven.plugins</groupId>
136 <artifactId>maven-shade-plugin</artifactId>
Guillaume Nodet7b76c0a2013-12-05 23:01:03 +0000137 <version>2.2</version>
Guillaume Nodeta6cb91a2012-09-03 13:08:02 +0000138 <executions>
139 <execution>
140 <phase>package</phase>
141 <goals>
142 <goal>shade</goal>
143 </goals>
144 <configuration>
145 <artifactSet>
146 <includes>
147 <include>org.apache.felix:org.apache.felix.configadmin</include>
148 <include>org.apache.felix:org.apache.felix.utils</include>
149 </includes>
150 </artifactSet>
151 <filters>
152 <filter>
153 <artifact>org.apache.felix:org.apache.felix.configadmin</artifact>
154 <includes>
155 <include>**/ConfigurationHandler.*</include>
156 </includes>
157 </filter>
158 <filter>
159 <artifact>org.apache.felix:org.apache.felix.utils</artifact>
160 <includes>
Guillaume Nodet0aebbe92013-12-06 09:07:13 +0000161 <include>**/DictionaryAsMap*.*</include>
Guillaume Nodet7b76c0a2013-12-05 23:01:03 +0000162 <include>org/apache/felix/utils/manifest/**</include>
163 <include>org/apache/felix/utils/properties/**</include>
164 <include>org/apache/felix/utils/version/**</include>
Guillaume Nodeta6cb91a2012-09-03 13:08:02 +0000165 </includes>
166 </filter>
167 </filters>
168 <createSourcesJar>true</createSourcesJar>
169 <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
170 <createDependencyReducedPom>true</createDependencyReducedPom>
171 </configuration>
172 </execution>
173 </executions>
174 </plugin>
175 <plugin>
Richard S. Hall7bf7a4d2010-08-03 13:25:34 +0000176 <groupId>org.codehaus.mojo</groupId>
177 <artifactId>rat-maven-plugin</artifactId>
178 <configuration>
179 <excludeSubProjects>false</excludeSubProjects>
180 <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes>
181 <useMavenDefaultExcludes>true</useMavenDefaultExcludes>
182 <excludes>
183 <param>doc/*</param>
184 <param>maven-eclipse.xml</param>
185 <param>.checkstyle</param>
186 <param>.externalToolBuilders/*</param>
187 </excludes>
188 </configuration>
189 </plugin>
Richard S. Hallb63426f2008-03-05 20:03:55 +0000190 </plugins>
191 </build>
Richard S. Hallb63426f2008-03-05 20:03:55 +0000192</project>