<?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>bundles-pom</artifactId>
    <groupId>org.apache.camel.tests.bundles</groupId>
    <version>3.19.0</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.apache.camel.tests</groupId>
  <artifactId>org.apache.camel.tests.mock-javamail_1.7</artifactId>
  <name>Camel :: Integration Tests :: Test Bundles: ${pkgArtifactId}-${pkgVersion}</name>
  <description>This bundle simply wraps ${pkgArtifactId}-${pkgVersion}.jar.</description>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <artifactSet>
                <includes>
                  <include>${pkgGroupId}:${pkgArtifactId}</include>
                </includes>
              </artifactSet>
              <filters>
                <filter>
                  <artifact>${pkgGroupId}:${pkgArtifactId}</artifact>
                  <excludes>
                    <exclude>**</exclude>
                    <exclude>META-INF/javamail.default.providers</exclude>
                  </excludes>
                </filter>
              </filters>
              <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
              <createDependencyReducedPom>true</createDependencyReducedPom>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <profiles>
    <profile>
      <id>apache-release</id>
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-javadoc-plugin</artifactId>
            <version>3.2.0</version>
            <executions>
              <execution>
                <id>attach-javadocs</id>
                <goals>
                  <goal>jar</goal>
                </goals>
                <configuration>
                  <failOnError>false</failOnError>
                  <source>8</source>
                  <additionalOptions>${javadoc.opts}</additionalOptions>
                  <doclint>none</doclint>
                  <attach>true</attach>
                  <quiet>true</quiet>
                  <bottom>Apache Camel</bottom>
                  <detectOfflineLinks>false</detectOfflineLinks>
                  <javadocVersion>1.8.0</javadocVersion>
                  <encoding>UTF-8</encoding>
                  <notimestamp>true</notimestamp>
                </configuration>
              </execution>
            </executions>
            <configuration>
              <failOnError>false</failOnError>
              <source>8</source>
              <additionalOptions>${javadoc.opts}</additionalOptions>
              <doclint>none</doclint>
              <attach>true</attach>
              <quiet>true</quiet>
              <bottom>Apache Camel</bottom>
              <detectOfflineLinks>false</detectOfflineLinks>
              <javadocVersion>1.8.0</javadocVersion>
              <encoding>UTF-8</encoding>
              <notimestamp>true</notimestamp>
            </configuration>
          </plugin>
        </plugins>
      </build>
      <properties>
        <os.detected.arch>x86_64</os.detected.arch>
        <os.detected.release.version>20.04</os.detected.release.version>
        <os.detected.release.like.debian>true</os.detected.release.like.debian>
        <os.detected.bitness>64</os.detected.bitness>
        <os.detected.name>linux</os.detected.name>
        <os.detected.release.like.ubuntu>true</os.detected.release.like.ubuntu>
        <os.detected.classifier>linux-x86_64</os.detected.classifier>
        <os.detected.release>ubuntu</os.detected.release>
      </properties>
    </profile>
  </profiles>
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.13.2</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.hamcrest</groupId>
      <artifactId>hamcrest-core</artifactId>
      <version>1.3</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>com.sun.mail</groupId>
      <artifactId>jakarta.mail</artifactId>
      <version>1.6.7</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>com.sun.activation</groupId>
      <artifactId>jakarta.activation</artifactId>
      <version>1.2.1</version>
      <scope>compile</scope>
    </dependency>
  </dependencies>
  <properties>
    <pkgGroupId>org.jvnet.mock-javamail</pkgGroupId>
    <camel.osgi.private.pkg>META-INF;-split-package:=merge-first,
            META-INF.services;-split-package:=merge-first
            META-INF.maven.org.apache.camel.tests*;-split-package:=merge-first</camel.osgi.private.pkg>
    <camel.osgi.export.pkg>org.jvnet.mock_javamail*</camel.osgi.export.pkg>
    <pkgArtifactId>mock-javamail</pkgArtifactId>
    <servicemix.legal.version>1.0</servicemix.legal.version>
    <camel.osgi.import.pkg>*</camel.osgi.import.pkg>
    <camel.osgi.export>${camel.osgi.export.pkg}*;version=${pkgVersion};-split-package:=merge-first</camel.osgi.export>
    <pkgVersion>1.7</pkgVersion>
  </properties>
</project>
