<?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>mule-ee-core-modules-parent</artifactId>
    <groupId>org.mule.extensions</groupId>
    <version>1.1.9</version>
    <relativePath>../pom.xml/pom.xml</relativePath>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.mulesoft.modules</groupId>
  <artifactId>mule-cryptography-module</artifactId>
  <packaging>mule-extension</packaging>
  <name>Mule Cryptography Module</name>
  <version>1.3.22</version>
  <description>A Mule extension that provides functionality to encrypt and sign data</description>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-dependency-plugin</artifactId>
        <version>${maven.dependency.plugin.version}</version>
        <configuration>
          <usedDependencies>
            <dependency>org.apache.commons:commons-lang3</dependency>
            <dependency>com.github.ben-manes.caffeine:caffeine</dependency>
          </usedDependencies>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.mule.runtime.plugins</groupId>
        <artifactId>mule-extensions-shade-plugin</artifactId>
        <version>${muleExtensionsShadeVersion}</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <artifactSet>
            <includes>
              <include>org.bouncycastle:bcpg-jdk18on</include>
              <include>org.bouncycastle:bcprov-jdk18on</include>
              <include>org.bouncycastle:bcpkix-jdk18on</include>
            </includes>
          </artifactSet>
          <relocations>
            <relocation>
              <pattern>org.bouncycastle</pattern>
              <shadedPattern>org.bouncycastle.shaded</shadedPattern>
            </relocation>
          </relocations>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.mule.runtime.plugins</groupId>
        <artifactId>mule-plugin-maven-plugin</artifactId>
        <version>${mule.app.plugins.maven.plugin.version}</version>
        <extensions>true</extensions>
      </plugin>
      <plugin>
        <artifactId>maven-resources-plugin</artifactId>
        <version>${mavenResources.version}</version>
        <executions>
          <execution>
            <id>copy-munit-resources</id>
            <phase>process-test-resources</phase>
            <goals>
              <goal>copy-resources</goal>
            </goals>
            <configuration>
              <outputDirectory>${munit.output.directory}</outputDirectory>
              <resources>
                <resource>
                  <directory>${munit.input.directory}</directory>
                  <filtering>true</filtering>
                </resource>
              </resources>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>com.mulesoft.munit</groupId>
        <artifactId>munit-extensions-maven-plugin</artifactId>
        <version>${munit.extensions.maven.plugin.version}</version>
        <executions>
          <execution>
            <phase>integration-test</phase>
            <goals>
              <goal>test</goal>
            </goals>
          </execution>
        </executions>
        <dependencies>
          <dependency>
            <groupId>com.mulesoft.munit</groupId>
            <artifactId>munit-runner</artifactId>
            <version>${munit.version}</version>
            <classifier>mule-plugin</classifier>
          </dependency>
          <dependency>
            <groupId>com.mulesoft.munit</groupId>
            <artifactId>munit-tools</artifactId>
            <version>${munit.version}</version>
            <classifier>mule-plugin</classifier>
          </dependency>
          <dependency>
            <groupId>org.mule.module</groupId>
            <artifactId>mule-java-module</artifactId>
            <version>1.2.12</version>
            <classifier>mule-plugin</classifier>
          </dependency>
        </dependencies>
        <configuration>
          <runtimeConfiguration>
            <discoverRuntimes>
              <includeSnapshots>false</includeSnapshots>
              <product>EE</product>
              <minMuleVersion>${minVersion}</minMuleVersion>
            </discoverRuntimes>
          </runtimeConfiguration>
          <argLines>
            <argLine>-javaagent:${settings.localRepository}/org/jacoco/org.jacoco.agent/${jacoco.version}/org.jacoco.agent-${jacoco.version}-runtime.jar=destfile=${session.executionRootDirectory}/target/jacoco-munit.exec</argLine>
          </argLines>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <repositories>
    <repository>
      <id>mulesoft-private</id>
      <name>Mulesoft internal repository</name>
      <url>https://repository.mulesoft.org/nexus/content/repositories/private/</url>
    </repository>
    <repository>
      <id>mule</id>
      <name>Mule Repository</name>
      <url>https://repository.mulesoft.org/nexus/content/repositories/public/</url>
    </repository>
  </repositories>
  <pluginRepositories>
    <pluginRepository>
      <id>mulesoft-private</id>
      <name>Mulesoft internal repository</name>
      <url>https://repository.mulesoft.org/nexus/content/repositories/private/</url>
    </pluginRepository>
  </pluginRepositories>
  <dependencies>
    <dependency>
      <groupId>org.mule.runtime</groupId>
      <artifactId>mule-module-tls</artifactId>
      <version>4.1.1</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.mule</groupId>
      <artifactId>mule-encryption</artifactId>
      <version>1.2.9</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.commons</groupId>
      <artifactId>commons-lang3</artifactId>
      <version>3.17.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>commons-io</groupId>
      <artifactId>commons-io</artifactId>
      <version>2.17.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>commons-codec</groupId>
      <artifactId>commons-codec</artifactId>
      <version>1.15</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.santuario</groupId>
      <artifactId>xmlsec</artifactId>
      <version>2.3.4</version>
      <scope>compile</scope>
      <exclusions>
        <exclusion>
          <artifactId>xalan</artifactId>
          <groupId>xalan</groupId>
        </exclusion>
        <exclusion>
          <artifactId>woodstox-core</artifactId>
          <groupId>com.fasterxml.woodstox</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>com.fasterxml.woodstox</groupId>
      <artifactId>woodstox-core</artifactId>
      <version>6.5.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.mule.tests</groupId>
      <artifactId>mule-tests-model</artifactId>
      <version>4.1.1</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.mule.tests.plugin</groupId>
      <artifactId>mule-tests-component-plugin</artifactId>
      <version>4.1.1</version>
      <classifier>mule-plugin</classifier>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>mule-core-deprecated-schema-plugin</artifactId>
          <groupId>org.mule.tests.plugin</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>xmlunit</groupId>
      <artifactId>xmlunit</artifactId>
      <version>1.6</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.mule.modules</groupId>
      <artifactId>mule-xml-module</artifactId>
      <version>1.4.2</version>
      <classifier>mule-plugin</classifier>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>Saxon-HE</artifactId>
          <groupId>net.sf.saxon</groupId>
        </exclusion>
        <exclusion>
          <artifactId>Saxon-HE</artifactId>
          <groupId>net.sf.saxon</groupId>
        </exclusion>
        <exclusion>
          <artifactId>xqj-api</artifactId>
          <groupId>javax.xml.xquery</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>com.github.ben-manes.caffeine</groupId>
      <artifactId>caffeine</artifactId>
      <version>2.9.3</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>xml-apis</groupId>
      <artifactId>xml-apis</artifactId>
      <version>2.0.2</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.mule.sdk</groupId>
      <artifactId>mule-sdk-api</artifactId>
      <version>0.9.2</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.mule.services</groupId>
      <artifactId>mule-service-scheduler</artifactId>
      <version>1.1.11</version>
      <classifier>mule-service</classifier>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>io.qameta.allure</groupId>
      <artifactId>allure-junit4</artifactId>
      <version>2.0-BETA17</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>allure-java-commons</artifactId>
          <groupId>io.qameta.allure</groupId>
        </exclusion>
        <exclusion>
          <artifactId>junit</artifactId>
          <groupId>junit</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.mule.runtime</groupId>
      <artifactId>mule-extensions-api</artifactId>
      <version>1.1.5</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.mule.runtime</groupId>
      <artifactId>mule-api</artifactId>
      <version>1.1.1</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.mule.runtime</groupId>
      <artifactId>mule-core</artifactId>
      <version>4.1.1</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.mule.runtime</groupId>
      <artifactId>mule-module-extensions-spring-support</artifactId>
      <version>4.1.1</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.mule.runtime</groupId>
      <artifactId>mule-extension-ast-loader</artifactId>
      <version>1.0.1</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.mule.runtime</groupId>
      <artifactId>mule-metadata-model-xml</artifactId>
      <version>1.1.1</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.mule.runtime</groupId>
      <artifactId>mule-metadata-model-java</artifactId>
      <version>1.1.1</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.mule.runtime</groupId>
      <artifactId>mule-metadata-model-json</artifactId>
      <version>1.1.1</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.mule.runtime</groupId>
      <artifactId>mule-module-service</artifactId>
      <version>4.1.1</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.mule.services</groupId>
      <artifactId>mule-service-weave</artifactId>
      <version>2.1.2</version>
      <classifier>mule-service</classifier>
      <scope>provided</scope>
      <exclusions>
        <exclusion>
          <artifactId>mail</artifactId>
          <groupId>javax.mail</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.mule.tests</groupId>
      <artifactId>mule-tests-functional</artifactId>
      <version>4.1.1</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>mule-module-service</artifactId>
          <groupId>org.mule.runtime</groupId>
        </exclusion>
        <exclusion>
          <artifactId>mule-module-artifact</artifactId>
          <groupId>org.mule.runtime</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.mule.tests</groupId>
      <artifactId>mule-tests-runner</artifactId>
      <version>4.1.1</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>mule-maven-client-api</artifactId>
          <groupId>org.mule</groupId>
        </exclusion>
        <exclusion>
          <artifactId>mule-maven-client-impl</artifactId>
          <groupId>org.mule</groupId>
        </exclusion>
        <exclusion>
          <artifactId>junit</artifactId>
          <groupId>junit</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.mule.tests</groupId>
      <artifactId>mule-tests-unit</artifactId>
      <version>4.1.1</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>mule-module-logging</artifactId>
          <groupId>org.mule.runtime</groupId>
        </exclusion>
        <exclusion>
          <artifactId>mockito-core</artifactId>
          <groupId>org.mockito</groupId>
        </exclusion>
        <exclusion>
          <artifactId>hamcrest-library</artifactId>
          <groupId>org.hamcrest</groupId>
        </exclusion>
        <exclusion>
          <artifactId>junit</artifactId>
          <groupId>junit</groupId>
        </exclusion>
      </exclusions>
    </dependency>
  </dependencies>
  <properties>
    <muleEncryptionVersion>1.2.9</muleEncryptionVersion>
    <mule-sdk-api.version>0.9.2</mule-sdk-api.version>
    <formatterConfigPath>formatter.xml</formatterConfigPath>
    <xmlsecVersion>2.3.4</xmlsecVersion>
    <type>extension</type>
    <commonsLangVersion>3.17.0</commonsLangVersion>
    <commonsCodecVersion>1.15</commonsCodecVersion>
    <maven.dependency.plugin.version>2.8</maven.dependency.plugin.version>
    <muleXmlModuleVersion>1.4.2</muleXmlModuleVersion>
    <xmlApiVersion>2.0.2</xmlApiVersion>
    <bouncycastleVersion>1.74</bouncycastleVersion>
    <woodstoxVersion>6.5.0</woodstoxVersion>
    <caffeineVersion>2.9.3</caffeineVersion>
    <xmlunitVersion>1.6</xmlunitVersion>
    <munit.output.directory>${basedir}/target/test-mule/munit</munit.output.directory>
    <commonsIoVersion>2.17.0</commonsIoVersion>
    <licenseYear>2021</licenseYear>
    <jacoco.version>0.8.10</jacoco.version>
    <muleExtensionsShadeVersion>1.0.4</muleExtensionsShadeVersion>
    <munit.input.directory>src/test/munit</munit.input.directory>
    <mavenResources.version>3.3.0</mavenResources.version>
    <munit.extensions.maven.plugin.version>1.3.0</munit.extensions.maven.plugin.version>
    <munit.version>3.2.0</munit.version>
  </properties>
</project>
