<?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>security-connectors-parent</artifactId>
    <groupId>fish.payara.security.connectors</groupId>
    <version>2.0.0</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>openid-standalone</artifactId>
  <licenses>
    <license>
      <name>CDDL + GPLv2 with classpath exception</name>
      <url>https://raw.githubusercontent.com/payara/Payara/master/LICENSE.txt</url>
      <distribution>repo</distribution>
      <comments>A business-friendly OSS license</comments>
    </license>
    <license>
      <name>Apache License, Version 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>repo</distribution>
      <comments>Includes third-party libraries distributed under ASL2</comments>
    </license>
  </licenses>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <version>3.2.4</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <shadeSourcesContent>true</shadeSourcesContent>
          <createSourcesJar>true</createSourcesJar>
          <relocations>
            <relocation>
              <pattern>fish.payara.security</pattern>
              <shadedPattern>fish.payara.security.connectors</shadedPattern>
            </relocation>
            <relocation>
              <pattern>com</pattern>
              <shadedPattern>fish.payara.security.connectors.shaded</shadedPattern>
            </relocation>
            <relocation>
              <pattern>net</pattern>
              <shadedPattern>fish.payara.security.connectors.shaded</shadedPattern>
            </relocation>
          </relocations>
          <transformers>
            <transformer />
            <transformer />
          </transformers>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>flatten-maven-plugin</artifactId>
        <version>1.2.7</version>
        <executions>
          <execution>
            <id>flatten</id>
            <phase>process-resources</phase>
            <goals>
              <goal>flatten</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <flattenMode>ossrh</flattenMode>
          <pomElements>
            <developers>resolve</developers>
            <build>remove</build>
            <dependencies>remove</dependencies>
          </pomElements>
          <flattenedPomFilename>target/flattened-pom.xml</flattenedPomFilename>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-jar-plugin</artifactId>
        <executions>
          <execution>
            <id>empty-javadoc-jar</id>
            <phase>package</phase>
            <goals>
              <goal>jar</goal>
            </goals>
            <configuration>
              <classifier>javadoc</classifier>
              <classesDirectory>${basedir}/javadoc</classesDirectory>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>jakarta.platform</groupId>
      <artifactId>jakarta.jakartaee-api</artifactId>
      <version>8.0.0</version>
      <scope>provided</scope>
    </dependency>
  </dependencies>
</project>
