<?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">
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.mule.modules</groupId>
  <artifactId>mule-soapkit-cxf</artifactId>
  <name>APIKit for SOAP CXF Server</name>
  <version>2.0.6</version>
  <scm>
    <connection>scm:git:git://github.com:mulesoft-emu/apikit-soap-cxf.git</connection>
    <developerConnection>scm:git:git@github.com:mulesoft-emu/apikit-soap-cxf.git</developerConnection>
    <url>http://github.com/mulesoft-emu/apikit-soap-cxf</url>
  </scm>
  <build>
    <pluginManagement>
      <plugins>
        <plugin>
          <artifactId>maven-release-plugin</artifactId>
          <version>2.3.2</version>
        </plugin>
        <plugin>
          <groupId>com.mycila</groupId>
          <artifactId>license-maven-plugin</artifactId>
          <version>3.0</version>
          <configuration>
            <header>${licensePath}</header>
            <excludes>
              <exclude>target/**</exclude>
              <exclude>**/.gitignore</exclude>
              <exclude>**/*.txt</exclude>
              <exclude>**/*.groovy</exclude>
              <exclude>**/*.sh</exclude>
              <exclude>**/*.bat</exclude>
              <exclude>**/*.ftl</exclude>
              <exclude>**/*.xml</exclude>
              <exclude>**/*.properties</exclude>
              <exclude>**/*.sample</exclude>
              <exclude>**/*.md</exclude>
              <exclude>**/*.xsl</exclude>
              <exclude>**/*.html</exclude>
              <exclude>**/*.css</exclude>
              <exclude>**/build-number.txt</exclude>
              <exclude>**/*.wsdl</exclude>
            </excludes>
            <includes>
              <include>**/*.java</include>
            </includes>
            <mapping>
              <java>SLASHSTAR_STYLE</java>
            </mapping>
          </configuration>
        </plugin>
        <plugin>
          <groupId>com.marvinformatics.formatter</groupId>
          <artifactId>formatter-maven-plugin</artifactId>
          <version>${formatterPluginVersion}</version>
          <executions>
            <execution>
              <id>apply-format</id>
              <phase>compile</phase>
              <goals>
                <goal>${formatterGoal}</goal>
              </goals>
              <configuration>
                <skipFormatting>${skipVerifications}</skipFormatting>
              </configuration>
            </execution>
          </executions>
          <configuration>
            <compilerCompliance>${javaVersion}</compilerCompliance>
            <compilerSource>${javaVersion}</compilerSource>
            <compilerTargetPlatform>${javaVersion}</compilerTargetPlatform>
            <configFile>${basedir}/${formatterConfigPath}</configFile>
            <configJsFile>${basedir}/${formatterConfigPath}</configJsFile>
            <aggregator>false</aggregator>
            <executionRoot>true</executionRoot>
            <encoding>UTF-8</encoding>
          </configuration>
        </plugin>
      </plugins>
    </pluginManagement>
    <plugins>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <version>${maven.shade.plugin.version}</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <artifactSet>
                <includes>
                  <include>org.springframework:spring-context</include>
                  <include>org.springframework:spring-beans</include>
                  <include>org.springframework:spring-core</include>
                  <include>org.springframework:spring-expression</include>
                  <include>org.springframework:spring-aop</include>
                  <include>org.springframework:spring-jcl</include>
                </includes>
              </artifactSet>
              <transformers>
                <transformer>
                  <resource>META-INF/spring.handlers</resource>
                </transformer>
                <transformer>
                  <resource>META-INF/spring.schemas</resource>
                </transformer>
                <transformer>
                  <resource>META-INF/spring/aot.factories</resource>
                </transformer>
              </transformers>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>${maven.surefire.plugin.version}</version>
        <dependencies>
          <dependency>
            <groupId>org.jacoco</groupId>
            <artifactId>org.jacoco.agent</artifactId>
            <version>${jacoco.version}</version>
            <classifier>runtime</classifier>
          </dependency>
        </dependencies>
        <configuration>
          <argLine>-Dfile.encoding=UTF-8 -javaagent:${settings.localRepository}/org/jacoco/org.jacoco.agent/${jacoco.version}/org.jacoco.agent-${jacoco.version}-runtime.jar=destfile=${session.executionRootDirectory}/target/jacoco.exec</argLine>
          <systemPropertyVariables>
            <mule.freePortFinder.lockPath>${java.io.tmpdir}/mule/freePortFinder</mule.freePortFinder.lockPath>
            <maven.projectVersion>${project.version}</maven.projectVersion>
          </systemPropertyVariables>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>${mavenCompilerVersion}</version>
        <configuration>
          <source>${javaVersion}</source>
          <target>${javaVersion}</target>
          <encoding>UTF-8</encoding>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-release-plugin</artifactId>
        <version>2.5.3</version>
      </plugin>
      <plugin>
        <groupId>org.mule.runtime.plugins</groupId>
        <artifactId>mule-extensions-maven-plugin</artifactId>
        <version>${mule.extensions.maven.plugin.version}</version>
      </plugin>
      <plugin>
        <groupId>com.marvinformatics.formatter</groupId>
        <artifactId>formatter-maven-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.jacoco</groupId>
        <artifactId>jacoco-maven-plugin</artifactId>
        <version>${jacoco.version}</version>
        <executions>
          <execution>
            <id>default-prepare-agent</id>
            <goals>
              <goal>prepare-agent</goal>
            </goals>
          </execution>
          <execution>
            <id>default-report</id>
            <phase>prepare-package</phase>
            <goals>
              <goal>report</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-source-plugin</artifactId>
        <version>3.3.1</version>
        <executions>
          <execution>
            <id>attach-sources</id>
            <goals>
              <goal>jar-no-fork</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>3.6.3</version>
        <executions>
          <execution>
            <id>attach-javadocs</id>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <doclint>none</doclint>
          <failOnError>false</failOnError>
          <quiet>true</quiet>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>properties-maven-plugin</artifactId>
        <version>1.0.0</version>
        <executions>
          <execution>
            <id>sfci-check-internal-deploy-skip</id>
            <phase>validate</phase>
            <goals>
              <goal>read-project-properties</goal>
            </goals>
            <configuration>
              <quiet>true</quiet>
              <files>
                <file>${project.basedir}/.sfci-internal-deploy-skip.properties</file>
              </files>
            </configuration>
          </execution>
          <execution>
            <id>sfci-check-public-deploy-skip</id>
            <phase>validate</phase>
            <goals>
              <goal>read-project-properties</goal>
            </goals>
            <configuration>
              <quiet>true</quiet>
              <files>
                <file>${project.basedir}/.sfci-public-deploy-skip.properties</file>
              </files>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <profiles>
    <profile>
      <id>release</id>
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-enforcer-plugin</artifactId>
            <version>${mavenEnforcerPluginVersion}</version>
            <executions>
              <execution>
                <id>enforce-no-snapshots-in-deps</id>
                <goals>
                  <goal>enforce</goal>
                </goals>
                <configuration>
                  <rules>
                    <requireReleaseDeps>
                      <message>No Snapshots Allowed in Deps!</message>
                      <excludes>
                        <exclude>com.mulesoft.munit:munit-runner</exclude>
                        <exclude>com.mulesoft.munit:munit-tools</exclude>
                      </excludes>
                    </requireReleaseDeps>
                    <requireReleaseVersion>
                      <message>No Snapshots Allowed in Project Version!</message>
                    </requireReleaseVersion>
                    <requirePluginVersions>
                      <message>Best Practice is to always define plugin versions!</message>
                      <unCheckedPluginList>com.mulesoft.munit:munit-extensions-maven-plugin,
                                                org.apache.maven.plugins:maven-source-plugin,
                                                org.apache.maven.plugins:maven-resources-plugin,
                                                org.apache.maven.plugins:maven-site-plugin,
                                                org.apache.maven.plugins:maven-javadoc-plugin,
                                                org.apache.maven.plugins:maven-surefire-plugin,
                                                org.apache.maven.plugins:maven-jar-plugin,
                                                org.apache.maven.plugins:maven-clean-plugin,
                                                org.apache.maven.plugins:maven-install-plugin,
                                                org.apache.maven.plugins:maven-deploy-plugin</unCheckedPluginList>
                    </requirePluginVersions>
                  </rules>
                  <skip>false</skip>
                </configuration>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
    <profile>
      <id>release-sfci</id>
      <distributionManagement>
        <repository>
          <id>project</id>
          <name>SFCI Internal Releases</name>
          <url>${env.NEXUS_BASE_URL}/repositories/releases/</url>
        </repository>
        <snapshotRepository>
          <id>project</id>
          <name>SFCI Internal Snapshots</name>
          <url>${env.NEXUS_BASE_URL}/repositories/snapshots/</url>
        </snapshotRepository>
      </distributionManagement>
    </profile>
  </profiles>
  <repositories>
    <repository>
      <releases />
      <snapshots />
      <id>mulesoft-maven-all</id>
      <name>MuleSoft Maven All (SFCI Nexus proxy)</name>
      <url>https://nexus-proxy.repo.local.sfdc.net/nexus/content/repositories/mulesoft-maven-all/</url>
    </repository>
    <repository>
      <id>mulesoft-private</id>
      <name>Mulesoft internal repository</name>
      <url>https://repository.mulesoft.org/nexus/content/repositories/private/</url>
    </repository>
  </repositories>
  <pluginRepositories>
    <pluginRepository>
      <releases />
      <snapshots />
      <id>mulesoft-maven-all</id>
      <name>MuleSoft Maven All (SFCI Nexus proxy)</name>
      <url>https://nexus-proxy.repo.local.sfdc.net/nexus/content/repositories/mulesoft-maven-all/</url>
    </pluginRepository>
    <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.wsdl</groupId>
      <artifactId>mule-wsdl-parser</artifactId>
      <version>1.4.10</version>
      <scope>compile</scope>
      <exclusions>
        <exclusion>
          <artifactId>cxf-rt-wsdle</artifactId>
          <groupId>org.apache.cxf</groupId>
        </exclusion>
        <exclusion>
          <artifactId>xerces2-xsd11</artifactId>
          <groupId>org.mule.apache</groupId>
        </exclusion>
        <exclusion>
          <artifactId>xmlbeans</artifactId>
          <groupId>org.apache.xmlbeans</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.mule.runtime</groupId>
      <artifactId>mule-metadata-model-xml</artifactId>
      <version>1.10.0</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.mule.runtime</groupId>
      <artifactId>mule-core</artifactId>
      <version>4.9.0</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.mule.connectors</groupId>
      <artifactId>mule-soap-engine</artifactId>
      <version>2.4.4</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.mule.runtime</groupId>
      <artifactId>mule-service-http-api</artifactId>
      <version>4.9.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.cxf</groupId>
      <artifactId>cxf-core</artifactId>
      <version>4.1.9</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.cxf</groupId>
      <artifactId>cxf-rt-frontend-simple</artifactId>
      <version>4.1.9</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.cxf</groupId>
      <artifactId>cxf-rt-wsdl</artifactId>
      <version>4.1.9</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.cxf</groupId>
      <artifactId>cxf-rt-transports-local</artifactId>
      <version>4.1.9</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>com.fasterxml.woodstox</groupId>
      <artifactId>woodstox-core</artifactId>
      <version>5.4.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>net.java.dev.msv</groupId>
      <artifactId>msv-core</artifactId>
      <version>2013.6.1</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>com.google.guava</groupId>
      <artifactId>guava</artifactId>
      <version>33.6.0-jre</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>commons-io</groupId>
      <artifactId>commons-io</artifactId>
      <version>2.18.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>commons-collections</groupId>
      <artifactId>commons-collections</artifactId>
      <version>3.2.2</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>net.java.dev.stax-utils</groupId>
      <artifactId>stax-utils</artifactId>
      <version>20080702</version>
      <scope>compile</scope>
      <exclusions>
        <exclusion>
          <artifactId>jsr173-ri</artifactId>
          <groupId>com.bea.xml</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.apache.xmlbeans</groupId>
      <artifactId>xmlbeans</artifactId>
      <version>5.0.3</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.mule.modules</groupId>
      <artifactId>mule-soapkit-common-test</artifactId>
      <version>1.1.14</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>xmlunit-core</artifactId>
          <groupId>org.xmlunit</groupId>
        </exclusion>
        <exclusion>
          <artifactId>hamcrest-library</artifactId>
          <groupId>org.hamcrest</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.junit.jupiter</groupId>
      <artifactId>junit-jupiter-api</artifactId>
      <version>5.9.3</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>opentest4j</artifactId>
          <groupId>org.opentest4j</groupId>
        </exclusion>
        <exclusion>
          <artifactId>junit-platform-commons</artifactId>
          <groupId>org.junit.platform</groupId>
        </exclusion>
        <exclusion>
          <artifactId>apiguardian-api</artifactId>
          <groupId>org.apiguardian</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.mockito</groupId>
      <artifactId>mockito-junit-jupiter</artifactId>
      <version>4.11.0</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.mockito</groupId>
      <artifactId>mockito-core</artifactId>
      <version>4.11.0</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>byte-buddy-agent</artifactId>
          <groupId>net.bytebuddy</groupId>
        </exclusion>
        <exclusion>
          <artifactId>objenesis</artifactId>
          <groupId>org.objenesis</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>jakarta.annotation</groupId>
      <artifactId>jakarta.annotation-api</artifactId>
      <version>2.1.1</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>jakarta.xml.ws</groupId>
      <artifactId>jakarta.xml.ws-api</artifactId>
      <version>4.0.2</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>jakarta.activation</groupId>
      <artifactId>jakarta.activation-api</artifactId>
      <version>2.1.3</version>
      <scope>compile</scope>
    </dependency>
  </dependencies>
  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>org.apache.cxf</groupId>
        <artifactId>cxf-rt-ws-rm</artifactId>
        <version>${cxfVersion}</version>
      </dependency>
      <dependency>
        <groupId>org.apache.cxf</groupId>
        <artifactId>cxf-rt-ws-addr</artifactId>
        <version>${cxfVersion}</version>
      </dependency>
      <dependency>
        <groupId>org.apache.cxf</groupId>
        <artifactId>cxf-rt-ws-policy</artifactId>
        <version>${cxfVersion}</version>
      </dependency>
      <dependency>
        <groupId>org.apache.cxf</groupId>
        <artifactId>cxf-rt-management</artifactId>
        <version>${cxfVersion}</version>
      </dependency>
      <dependency>
        <groupId>org.apache.cxf</groupId>
        <artifactId>cxf-rt-ws-security</artifactId>
        <version>${cxfVersion}</version>
      </dependency>
      <dependency>
        <groupId>org.apache.cxf</groupId>
        <artifactId>cxf-rt-security-saml</artifactId>
        <version>${cxfVersion}</version>
      </dependency>
      <dependency>
        <groupId>org.apache.cxf</groupId>
        <artifactId>cxf-rt-security</artifactId>
        <version>${cxfVersion}</version>
      </dependency>
      <dependency>
        <groupId>net.bytebuddy</groupId>
        <artifactId>byte-buddy</artifactId>
        <version>${byte.buddy.version}</version>
      </dependency>
      <dependency>
        <groupId>net.bytebuddy</groupId>
        <artifactId>byte-buddy-agent</artifactId>
        <version>${byte.buddy.version}</version>
      </dependency>
    </dependencies>
  </dependencyManagement>
  <distributionManagement>
    <repository>
      <id>mule-releases</id>
      <name>Mule Release Repository</name>
      <url>https://repository-master.mulesoft.org/nexus/content/repositories/releases</url>
    </repository>
    <snapshotRepository>
      <uniqueVersion>false</uniqueVersion>
      <id>mule-ee-snapshots</id>
      <name>Mule Snapshot Repository</name>
      <url>https://repository-master.mulesoft.org/nexus/content/repositories/ci-snapshots</url>
    </snapshotRepository>
  </distributionManagement>
  <properties>
    <byte.buddy.version>1.17.5</byte.buddy.version>
    <mule.version>4.9.0</mule.version>
    <guavaVersion>33.6.0-jre</guavaVersion>
    <staxUtilsVersion>20080702</staxUtilsVersion>
    <maven.shade.plugin.version>3.5.0</maven.shade.plugin.version>
    <muleWsdlParserVersion>1.4.10</muleWsdlParserVersion>
    <mule.extensions.soap.api.version>1.1.6</mule.extensions.soap.api.version>
    <mavenCompilerVersion>3.8.1</mavenCompilerVersion>
    <mule.tooling.api.version>1.1.5</mule.tooling.api.version>
    <mule.extensions.maven.plugin.version>1.1.6</mule.extensions.maven.plugin.version>
    <soap.engine.version>2.4.4</soap.engine.version>
    <formatterGoal>validate</formatterGoal>
    <formatterPluginVersion>1.9.2</formatterPluginVersion>
    <xmlSecVersion>2.1.4</xmlSecVersion>
    <commonsIoVersion>2.18.0</commonsIoVersion>
    <jacoco.version>0.8.14</jacoco.version>
    <springVersion>6.2.19-spring-framework-6.2.21</springVersion>
    <maven.surefire.plugin.version>3.2.2</maven.surefire.plugin.version>
    <mavenEnforcerPluginVersion>1.4.1</mavenEnforcerPluginVersion>
    <formatterConfigPath>formatter.xml</formatterConfigPath>
    <javaVersion>17</javaVersion>
    <licensePath>LICENSE_HEADER.txt</licensePath>
    <msvVersion>2013.6.1</msvVersion>
    <skipVerifications>false</skipVerifications>
    <woodstockVersion>5.4.0</woodstockVersion>
    <mule.api.version>1.1.5</mule.api.version>
    <junitVersion>5.9.3</junitVersion>
    <mockitoVersion>4.11.0</mockitoVersion>
    <cxfVersion>4.1.9</cxfVersion>
    <xmlbeansVersion>5.0.3</xmlbeansVersion>
  </properties>
</project>
