<?xml version="1.0"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>ch.sourcepond.io</groupId>
    <artifactId>fileobserver</artifactId>
    <version>1.0.0</version>
  </parent>
  <artifactId>fileobserver-impl</artifactId>
  <packaging>bundle</packaging>
  <description>Default fileobserver implementation to watch changes on files/directories and deliver events for those changes
        to listeners.</description>
  <url>https://sourcepond.github.io/${repo.project}</url>
  <scm>
    <connection>scm:git:${project.scm.url}.git</connection>
    <developerConnection>scm:git:ssh://${repo.domain}/${repo.path}.git</developerConnection>
    <url>https://${repo.domain}/${repo.path}</url>
  </scm>
  <ciManagement>
    <system>Jenkins</system>
    <url>${jenkins.baseurl}/job/${project.artifactId}</url>
  </ciManagement>
  <distributionManagement>
    <site>
      <id>www.sourcepond.ch</id>
      <url>${site.distribution.url}/${project.groupId}/${project.artifactId}/${project.version}/</url>
    </site>
  </distributionManagement>
  <dependencies>
    <dependency>
      <groupId>ch.sourcepond.io</groupId>
      <artifactId>fileobserver-api</artifactId>
      <version>1.0.0</version>
    </dependency>
    <dependency>
      <groupId>ch.sourcepond.io</groupId>
      <artifactId>fileobserver-spi</artifactId>
      <version>1.0.0</version>
    </dependency>
    <dependency>
      <groupId>org.osgi</groupId>
      <artifactId>org.osgi.core</artifactId>
    </dependency>
    <dependency>
      <groupId>ch.sourcepond.commons</groupId>
      <artifactId>smartswitch-api</artifactId>
      <version>${smartswitch.version}</version>
    </dependency>
    <dependency>
      <groupId>ch.sourcepond.io</groupId>
      <artifactId>checksum-api</artifactId>
      <version>${checksum.version}</version>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
    </dependency>
    <dependency>
      <groupId>org.osgi</groupId>
      <artifactId>osgi.cmpn</artifactId>
    </dependency>
    <dependency>
      <groupId>com.google.guava</groupId>
      <artifactId>guava</artifactId>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <configuration>
          <instructions>
            <_dsannotations>*</_dsannotations>
            <_metatypeannotations>*</_metatypeannotations>
            <Require-Capability>osgi.extender;filter:="(&amp;(osgi.extender=osgi.component)(version>=1.3)(!(version>=2.0)))"</Require-Capability>
          </instructions>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>
