<?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>mule4-b2b-commons-parent</artifactId>
    <groupId>com.mulesoft.connectors</groupId>
    <version>1.0.5</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.mulesoft.connectors</groupId>
  <artifactId>mule4-rosettanet-support</artifactId>
  <name>Support for rosettanet connector</name>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <version>3.3.0</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <artifactSet>
            <includes>
              <include>org.bouncycastle:bcutil-jdk18on</include>
              <include>org.bouncycastle:bcmail-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>
          <filters>
            <filter>
              <artifact>*:*</artifact>
              <excludes>
                <exclude>META-INF/mailcap</exclude>
                <exclude>META-INF/*.SF</exclude>
                <exclude>META-INF/*.DSA</exclude>
                <exclude>META-INF/*.RSA</exclude>
              </excludes>
            </filter>
          </filters>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>com.sun.mail</groupId>
      <artifactId>javax.mail</artifactId>
      <version>1.6.1</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
      <version>1.7.30</version>
      <scope>compile</scope>
    </dependency>
  </dependencies>
  <properties>
    <javamail.version>1.6.1</javamail.version>
    <mule.api.version>1.4.0</mule.api.version>
    <slf4j.version>1.7.30</slf4j.version>
    <bouncycastle.version>1.73</bouncycastle.version>
  </properties>
</project>
