<?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>xts-all</artifactId>
    <groupId>org.jboss.narayana.xts</groupId>
    <version>5.13.1.Final</version>
    <relativePath>../../pom.xml</relativePath>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>jbossxts</artifactId>
  <name>Narayana: XTS jbossxts</name>
  <description>Narayana: XTS jbossxts</description>
  <build>
    <plugins>
      <plugin>
        <groupId>org.sonatype.plugins</groupId>
        <artifactId>nexus-staging-maven-plugin</artifactId>
        <inherited>false</inherited>
      </plugin>
      <plugin>
        <artifactId>maven-jar-plugin</artifactId>
        <configuration>
          <archive>
            <manifestEntries>
              <Specification-Title>WS-T/WS-C/WSAS/WSCF/WSTX</Specification-Title>
              <Specification-Version>1.1</Specification-Version>
              <Specification-Vendor>Oasis</Specification-Vendor>
              <Implementation-Version>${project.version} (revision: ${buildNumber})</Implementation-Version>
              <arjuna-scm-revision>${buildNumber}</arjuna-scm-revision>
              <arjuna-properties-file>jbossts-properties.xml</arjuna-properties-file>
              <arjuna-builder>JBoss Inc. [${user.name}] ${os.name} ${os.version} ${buildproperty.date}</arjuna-builder>
            </manifestEntries>
          </archive>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>build-helper-maven-plugin</artifactId>
        <executions>
          <execution>
            <id>add-source</id>
            <phase>generate-sources</phase>
            <goals>
              <goal>add-source</goal>
            </goals>
            <configuration>
              <sources>
                <source>../WSAS/classes</source>
                <source>../WSCF/classes</source>
                <source>../WS-C/dev/src</source>
                <source>../WS-T/dev/src</source>
                <source>../WSTX/classes</source>
                <source>../WS-C/dev/src11</source>
                <source>../WS-T/dev/src11</source>
                <source>../WSTX/classes11</source>
                <source>../recovery/src</source>
                <source>../sar/src</source>
              </sources>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <excludes>
            <exclude>**/*.*</exclude>
          </excludes>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <executions>
          <execution>
            <id>apijar</id>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <shadedClassifierName>api</shadedClassifierName>
              <shadedArtifactAttached>true</shadedArtifactAttached>
              <createDependencyReducedPom>true</createDependencyReducedPom>
              <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
              <artifactSet>
                <includes>
                  <include>org.jboss.narayana.xts:ws-c11:jar:api:${project.version}</include>
                  <include>org.jboss.narayana.xts:ws-t11:jar:api:${project.version}</include>
                  <include>org.jboss.narayana.xts:wstx11:jar:api:${project.version}</include>
                  <include>org.jboss.narayana.xts:bridge:jar:api:${project.version}</include>
                </includes>
              </artifactSet>
            </configuration>
          </execution>
          <execution>
            <id>mainjar</id>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <createDependencyReducedPom>true</createDependencyReducedPom>
              <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
              <artifactSet>
                <includes>
                  <include>org.jboss.narayana.xts</include>
                </includes>
              </artifactSet>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>buildnumber-maven-plugin</artifactId>
        <executions>
          <execution>
            <phase>validate</phase>
            <goals>
              <goal>create</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <doCheck>false</doCheck>
          <doUpdate>false</doUpdate>
          <shortRevisionLength>5</shortRevisionLength>
          <revisionOnScmFailure>${project.version}-noscm</revisionOnScmFailure>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <profiles>
    <profile>
      <id>release</id>
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-install-plugin</artifactId>
            <version>2.5.2</version>
            <executions>
              <execution>
                <id>default-install</id>
                <phase>install</phase>
                <goals>
                  <goal>install</goal>
                </goals>
              </execution>
            </executions>
            <inherited>false</inherited>
          </plugin>
          <plugin>
            <artifactId>maven-javadoc-plugin</artifactId>
            <version>3.0.1</version>
            <executions>
              <execution>
                <id>attach-javadocs</id>
                <goals>
                  <goal>jar</goal>
                </goals>
                <configuration>
                  <source>8</source>
                  <detectOfflineLinks>false</detectOfflineLinks>
                  <excludePackageNames>org.*:com.arjuna.services.*:com.arjuna.webservices*:com.arjuna.mwlabs.*:com.arjuna.webservices11*:com.arjuna.schemas:com.arjuna.mw.wstx</excludePackageNames>
                  <header>&lt;b&gt;Narayana: XTS jbossxts 5.13.1.Final&lt;/b&gt;</header>
                  <footer>&lt;b&gt;Narayana: XTS jbossxts 5.13.1.Final&lt;/b&gt;</footer>
                  <archive>
                    <index>true</index>
                    <manifest>
                      <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
                      <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                    </manifest>
                    <manifestEntries>
                      <Implementation-URL>https://narayana.io/xts-all/jbossxts</Implementation-URL>
                      <Java-Version>11.0.16.1</Java-Version>
                      <Java-Vendor>Red Hat, Inc.</Java-Vendor>
                      <Os-Name>Linux</Os-Name>
                      <Os-Arch>amd64</Os-Arch>
                      <Os-Version>5.19.7-100.fc35.x86_64</Os-Version>
                      <Scm-Url>https://github.com/jbosstm/narayana/xts-all/jbossxts</Scm-Url>
                      <Scm-Connection>scm:git:git@github.com:jbosstm/narayana.git/xts-all/jbossxts</Scm-Connection>
                      <Scm-Revision>${buildNumber}</Scm-Revision>
                    </manifestEntries>
                  </archive>
                  <additionalparam>-Xdoclint:none</additionalparam>
                  <additionalOptions>-Xdoclint:none</additionalOptions>
                </configuration>
              </execution>
            </executions>
            <configuration>
              <source>8</source>
              <detectOfflineLinks>false</detectOfflineLinks>
              <excludePackageNames>org.*:com.arjuna.services.*:com.arjuna.webservices*:com.arjuna.mwlabs.*:com.arjuna.webservices11*:com.arjuna.schemas:com.arjuna.mw.wstx</excludePackageNames>
              <header>&lt;b&gt;Narayana: XTS jbossxts 5.13.1.Final&lt;/b&gt;</header>
              <footer>&lt;b&gt;Narayana: XTS jbossxts 5.13.1.Final&lt;/b&gt;</footer>
              <archive>
                <index>true</index>
                <manifest>
                  <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
                  <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                </manifest>
                <manifestEntries>
                  <Implementation-URL>https://narayana.io/xts-all/jbossxts</Implementation-URL>
                  <Java-Version>11.0.16.1</Java-Version>
                  <Java-Vendor>Red Hat, Inc.</Java-Vendor>
                  <Os-Name>Linux</Os-Name>
                  <Os-Arch>amd64</Os-Arch>
                  <Os-Version>5.19.7-100.fc35.x86_64</Os-Version>
                  <Scm-Url>https://github.com/jbosstm/narayana/xts-all/jbossxts</Scm-Url>
                  <Scm-Connection>scm:git:git@github.com:jbosstm/narayana.git/xts-all/jbossxts</Scm-Connection>
                  <Scm-Revision>${buildNumber}</Scm-Revision>
                </manifestEntries>
              </archive>
              <additionalparam>-Xdoclint:none</additionalparam>
              <additionalOptions>-Xdoclint:none</additionalOptions>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
</project>
