<?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.1.1.9-jre16</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>interceptor-api</artifactId>
  <description>Jakarta Interceptors defines a means of interposing on business method invocations
        and specific events—such as lifecycle events and timeout events—that occur on instances
        of Jakarta EE components and other managed classes.</description>
  <url>https://github.com/eclipse-ee4j/interceptor-api</url>
  <licenses>
    <license>
      <name>EPL 2.0</name>
      <url>http://www.eclipse.org/legal/epl-2.0</url>
      <distribution>repo</distribution>
    </license>
    <license>
      <name>GPL2 w/ CPE</name>
      <url>https://www.gnu.org/software/classpath/license.html</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <scm>
    <connection>scm:git:ssh://git@github.com/eclipse-ee4j/interceptor-api.git</connection>
    <developerConnection>scm:git:ssh://git@github.com/eclipse-ee4j/interceptor-api.git</developerConnection>
    <url>https://github.com/eclipse-ee4j/interceptor-api</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.interceptor:jakarta.interceptor-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.1.1.9-jre16</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>${project.version}</version>
            <type>pom</type>
            <scope>import</scope>
          </dependency>
        </dependencies>
      </dependencyManagement>
    </profile>
  </profiles>
  <dependencies>
    <dependency>
      <groupId>com.guicedee.services</groupId>
      <artifactId>jakarta.annotation-api</artifactId>
      <version>1.1.1.9-jre16</version>
      <scope>compile</scope>
    </dependency>
  </dependencies>
</project>
