<!--
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file
 distributed with this work for additional information
 regarding copyright ownership.  The ASF licenses this file
 to you under the Apache License, Version 2.0 (the
 "License"); you may not use this file except in compliance
 with the License.  You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing,
 software distributed under the License is distributed on an
 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 KIND, either express or implied.  See the License for the
 specific language governing permissions and limitations
 under the License.
-->
<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">
	<parent>
		<groupId>org.apache.felix</groupId>
		<artifactId>felix-parent</artifactId>
		<version>1.2.1</version>
		<relativePath>../../pom/pom.xml</relativePath>
	</parent>
	
  <modelVersion>4.0.0</modelVersion>
  <packaging>bundle</packaging>
  <name>Apache Felix File Install</name>
  <description>A utility to automatically install bundles from a directory.</description>
  <url>http://felix.apache.org/site/apache-felix-file-install.html</url>
  <version>2.0.11-SNAPSHOT</version>
  <artifactId>org.apache.felix.fileinstall</artifactId>
  <dependencies>
    <dependency>
      <groupId>org.osgi</groupId>
      <artifactId>org.osgi.core</artifactId>
      <version>4.1.0</version>
    </dependency>
    <dependency>
      <groupId>org.osgi</groupId>
      <artifactId>org.osgi.compendium</artifactId>
      <version>4.1.0</version>
    </dependency>
  </dependencies>
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <version>2.0.0</version>
        <extensions>true</extensions>
        <configuration>
          <instructions>
            <Export-Package>
                org.apache.felix.fileinstall;version=${project.version}
            </Export-Package>
            <Private-Package>
                org.apache.felix.fileinstall.internal
            </Private-Package>
            <Import-Package>
                org.osgi.service.log;resolution:=optional,
                org.osgi.service.cm;resolution:=optional,
                *
            </Import-Package>
            <Bundle-Activator>org.apache.felix.fileinstall.internal.FileInstall</Bundle-Activator>
            <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
            <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
            <_versionpolicy>[$(version;==;$(@)),$(version;+;$(@)))</_versionpolicy>
          </instructions>
        </configuration>
      </plugin>
       <plugin>
		<groupId>org.codehaus.mojo</groupId>
		<artifactId>rat-maven-plugin</artifactId>
		<configuration>
			<excludeSubProjects>false</excludeSubProjects>
			<useEclipseDefaultExcludes>true</useEclipseDefaultExcludes>
			<useMavenDefaultExcludes>true</useMavenDefaultExcludes>
			<excludes>
				<param>doc/*</param>
				<param>maven-eclipse.xml</param>
				<param>.checkstyle</param>
				<param>.externalToolBuilders/*</param>
			</excludes>
		</configuration>
	   </plugin>
    </plugins>
  </build>
</project>
