<?xml version="1.0" encoding="UTF-8"?>
<!--

  Copyright (C) 2003-2023 eXo Platform SAS.

  This program is free software; you can redistribute it and/or
  modify it under the terms of the GNU Affero General Public License
  as published by the Free Software Foundation; either version 3
  of the License, or (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program; if not, see<http://www.gnu.org/licenses />.

-->
<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">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.exoplatform.addons.sso</groupId>
    <artifactId>saml2-addon-parent</artifactId>
    <version>7.3.0-20261126</version>
  </parent>
  <artifactId>saml2-addon-service</artifactId>
  <name>eXo Add-on:: SAML2 add-on Service</name>
  <description>The SAML2 add-on Service</description>
  <dependencies>
    <dependency>
      <groupId>io.meeds.gatein.sso</groupId>
      <artifactId>sso-saml-plugin</artifactId>
    </dependency>
    <dependency>
      <groupId>io.meeds.portal</groupId>
      <artifactId>portal.component.web.security</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.junit.jupiter</groupId>
      <artifactId>junit-jupiter</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.mockito</groupId>
      <artifactId>mockito-core</artifactId>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <build>
    <finalName>${project.artifactId}</finalName>
    <plugins>
      <plugin>
        <artifactId>maven-jar-plugin</artifactId>
        <configuration>
          <!-- The test jar is published: the test-only DNS resolver (a JVM-wide service) must not be in it -->
          <excludes>
            <exclude>META-INF/services/java.net.spi.InetAddressResolverProvider</exclude>
            <exclude>**/RecordingResolverProvider*</exclude>
          </excludes>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>
