<!--
 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.0</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>1.3.0-SNAPSHOT</version>
  <artifactId>org.apache.felix.fileinstall</artifactId>
  <dependencies>
    <dependency>
      <groupId>${pom.groupId}</groupId>
      <artifactId>org.osgi.core</artifactId>
      <version>1.0.0</version>
    </dependency>
    <dependency>
      <groupId>${pom.groupId}</groupId>
      <artifactId>org.osgi.compendium</artifactId>
      <version>1.0.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*,
                org.osgi.service.cm
            </Export-Package>
            <Import-Package>
                org.osgi.service.log;resolution:=optional,
                *
            </Import-Package>
            <Bundle-Activator>org.apache.felix.fileinstall.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>
