<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://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>
  <groupId>de.codecentric.reedelk</groupId>
  <artifactId>module-parent</artifactId>
  <version>1.1.0</version>
  <packaging>pom</packaging>
  <name>module-parent</name>
  <description>Reedelk Runtime</description>
  <url>https://github.com/codecentric/reedelk-runtime/module-parent</url>
  <licenses>
    <license>
      <name>Apache License, Version 2.0</name>
      <url>http://opensource.org/licenses/Apache-2.0</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <developers>
    <developer>
      <name>Daniel Kocot</name>
      <email>daniel.kocot@codecentric.de</email>
      <organization>codecentric AG</organization>
      <organizationUrl>http://www.codecentric.de</organizationUrl>
    </developer>
  </developers>
  <scm>
    <connection>scm:git:git://github.com/codecentric/reedelk-runtime.git/module-parent</connection>
    <developerConnection>scm:git:ssh://git@github.com/reedelk-runtime.git/module-parent</developerConnection>
    <url>https://github.com/codecentric/reedelk-runtime/tree/master/module-parent</url>
  </scm>
  <distributionManagement>
    <repository>
      <id>oss.sonatype.org</id>
      <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
    </repository>
    <snapshotRepository>
      <id>github</id>
      <name>GitHub Packages</name>
      <url>https://maven.pkg.github.com/codecentric/reedelk-runtime</url>
    </snapshotRepository>
  </distributionManagement>
  <dependencies>
    <dependency>
      <groupId>de.codecentric.reedelk</groupId>
      <artifactId>runtime-api</artifactId>
      <version>1.1.0</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.osgi</groupId>
      <artifactId>org.osgi.core</artifactId>
      <version>6.0.0</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.osgi</groupId>
      <artifactId>org.osgi.service.cm</artifactId>
      <version>1.6.0</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.osgi</groupId>
      <artifactId>org.osgi.service.component.annotations</artifactId>
      <version>1.4.0</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.ops4j.pax.logging</groupId>
      <artifactId>pax-logging-logback</artifactId>
      <version>1.10.1</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>io.projectreactor</groupId>
      <artifactId>reactor-core</artifactId>
      <version>3.3.6.RELEASE</version>
      <scope>provided</scope>
    </dependency>
  </dependencies>
  <build>
    <pluginManagement>
      <plugins>
        <plugin>
          <artifactId>maven-compiler-plugin</artifactId>
          <version>3.8.1</version>
        </plugin>
        <plugin>
          <artifactId>maven-resources-plugin</artifactId>
          <version>3.1.0</version>
        </plugin>
        <plugin>
          <artifactId>maven-surefire-plugin</artifactId>
          <version>3.0.0-M4</version>
        </plugin>
        <plugin>
          <artifactId>maven-install-plugin</artifactId>
          <version>3.0.0-M1</version>
        </plugin>
      </plugins>
    </pluginManagement>
  </build>
  <profiles>
    <profile>
      <id>module-build</id>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.felix</groupId>
            <artifactId>maven-bundle-plugin</artifactId>
            <version>4.2.1</version>
            <extensions>true</extensions>
            <configuration>
              <instructions>
                <Bundle-Name>module-parent</Bundle-Name>
                <Bundle-SymbolicName>module-parent</Bundle-SymbolicName>
                <Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
                <Embed-Transitive>true</Embed-Transitive>
                <Integration-Module>true</Integration-Module>
                <_noee>true</_noee>
                <Import-Package>de.codecentric.reedelk.runtime.api.*,
                                    org.osgi.*,
                                    org.reactivestreams.*,
                                    reactor.*;resolution:="optional",
                                    org.apache.http.*,
                                    org.slf4j,
                                    org.slf4j.helpers,
                                    org.slf4j.spi,
                                    org.json.*;resolution:="optional",
                                    sun.misc.*;resolution:="optional",
                                    org.w3c.*;resolution:="optional",
                                    javax.*;resolution:="optional",
                                    org.xml.*;resolution:="optional",
                                    com.intellij.rt.debugger.agent,
                                    ${import.package.extra}</Import-Package>
              </instructions>
            </configuration>
          </plugin>
          <plugin>
            <groupId>de.codecentric.reedelk</groupId>
            <artifactId>module-maven-plugin</artifactId>
            <version>1.1.0</version>
            <executions>
              <execution>
                <phase>process-classes</phase>
                <goals>
                  <goal>generate-module-descriptor</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
</project>
