<?xml version="1.0" encoding="UTF-8"?>
<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>
    <artifactId>services-parent</artifactId>
    <groupId>com.guicedee.services</groupId>
    <version>1.2.0.2-jre16</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>slf4j</artifactId>
  <name>slf4j</name>
  <url>https://github.com/qos-ch/slf4j</url>
  <developers>
    <developer>
      <url>http://java.net/projects/jms-spec/pages/Home/</url>
      <organization>Oracle Corporation</organization>
    </developer>
  </developers>
  <licenses>
    <license>
      <name>CDDL + GPLv2 with classpath exception</name>
      <url>https://glassfish.java.net/nonav/public/CDDL+GPL_1_1.html</url>
      <distribution>repo</distribution>
      <comments>A business-friendly OSS license</comments>
    </license>
  </licenses>
  <scm>
    <connection>https://github.com/qos-ch/slf4j</connection>
    <developerConnection>scm:svn:https://svn.java.net/svn/glassfish~svn/trunk/api/javaee-api/javax.jms</developerConnection>
    <url>http://java.net/projects/glassfish/sources/svn/show/trunk/api/javaee-api/javax.jms</url>
  </scm>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <executions>
          <execution>
            <id>shade</id>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <artifactSet>
                <includes>
                  <include>org.slf4j:*:*</include>
                  <include>org.apache.logging.log4j:log4j-slf4j-impl:*</include>
                </includes>
              </artifactSet>
              <filters>
                <filter>
                  <artifact>*:*</artifact>
                  <excludes>
                    <exclude>META-INF/*.SF</exclude>
                    <exclude>META-INF/*.DSA</exclude>
                    <exclude>META-INF/*.RSA</exclude>
                    <exclude>META-INF/versions/9/module-info.class</exclude>
                  </excludes>
                </filter>
              </filters>
              <relocations>
                <relocation>
                  <pattern>org.apache.logging</pattern>
                  <shadedPattern>org.slf4j.shade.log4j2</shadedPattern>
                </relocation>
              </relocations>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.moditect</groupId>
        <artifactId>moditect-maven-plugin</artifactId>
      </plugin>
    </plugins>
  </build>
  <profiles>
    <profile>
      <id>jdk9</id>
      <dependencyManagement>
        <dependencies>
          <dependency>
            <groupId>com.guicedee</groupId>
            <artifactId>standalone-bom</artifactId>
            <version>1.2.0.2-jre16</version>
            <type>pom</type>
            <scope>import</scope>
          </dependency>
          <dependency>
            <groupId>com.guicedee</groupId>
            <artifactId>apache-bom</artifactId>
            <version>1.2.0.2-jre16</version>
            <type>pom</type>
            <scope>import</scope>
          </dependency>
          <dependency>
            <groupId>com.guicedee</groupId>
            <artifactId>jboss-bom</artifactId>
            <version>1.2.0.2-jre16</version>
            <type>pom</type>
            <scope>import</scope>
          </dependency>
        </dependencies>
      </dependencyManagement>
    </profile>
    <profile>
      <id>jdk8</id>
      <dependencyManagement>
        <dependencies>
          <dependency>
            <groupId>com.guicedee</groupId>
            <artifactId>standalone-bom</artifactId>
            <version>${guicedee.version}</version>
            <type>pom</type>
            <scope>import</scope>
          </dependency>
          <dependency>
            <groupId>com.guicedee</groupId>
            <artifactId>apache-bom</artifactId>
            <version>${guicedee.version}</version>
            <type>pom</type>
            <scope>import</scope>
          </dependency>
          <dependency>
            <groupId>com.guicedee</groupId>
            <artifactId>jboss-bom</artifactId>
            <version>${guicedee.version}</version>
            <type>pom</type>
            <scope>import</scope>
          </dependency>
        </dependencies>
      </dependencyManagement>
    </profile>
  </profiles>
</project>
