<?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.3-jre17-rc1</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>javax.security.jacc</artifactId>
  <name>java.security.jacc</name>
  <description>JSR-000115 Java(TM) Authorization Contract for Containers API</description>
  <licenses>
    <license>
      <name>Common Development and Distribution License</name>
      <url>http://repository.jboss.org/licenses/cddl.txt</url>
      <distribution>repo</distribution>
    </license>
    <license>
      <name>GNU General Public License, Version 2 with the Classpath Exception</name>
      <url>http://repository.jboss.org/licenses/gpl-2.0-ce.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <scm>
    <connection>scm:git:git@github.com:jboss/jboss-jacc-api_spec.git</connection>
    <developerConnection>scm:git:git@github.com:jboss/jboss-jacc-api_spec.git</developerConnection>
    <url>https://github.com/jboss/jboss-jacc-api_spec</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>jakarta.security.jacc:jakarta.security.jacc-api:*</include>
                </includes>
              </artifactSet>
            </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>jakarta-bom</artifactId>
            <version>1.2.0.3-jre17-rc1</version>
            <type>pom</type>
            <scope>import</scope>
          </dependency>
        </dependencies>
      </dependencyManagement>
    </profile>
    <profile>
      <id>jdk8</id>
      <dependencyManagement>
        <dependencies>
          <dependency>
            <groupId>com.guicedee</groupId>
            <artifactId>jakarta-bom</artifactId>
            <version>${guicedee.version}</version>
            <type>pom</type>
            <scope>import</scope>
          </dependency>
        </dependencies>
      </dependencyManagement>
    </profile>
  </profiles>
  <dependencies>
    <dependency>
      <groupId>com.guicedee.services</groupId>
      <artifactId>jakarta.servlet-api</artifactId>
      <version>1.2.0.3-jre17-rc1</version>
      <scope>compile</scope>
    </dependency>
  </dependencies>
</project>
