<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.hpccsystems</groupId>
    <artifactId>wsclient</artifactId>
    <packaging>jar</packaging>
    <version>7.4.0</version>
    <name>HPCC Web Services Client API</name>
    <description>This project allows a user to interact with ESP services in a controlled manner. The API calls available under org.hpccsystems.ws.client.platform allow for a user to target ESP's across multiple environments running a range of hpccsystems-platform versions. There is no guarantee that if a user utilizes org.hpccsystems.ws.client.gen generated stub code from wsdl, that the calls will be backwards compatible with older hpccsystems-platform versions.</description>
    <url>https://hpccsystems.com</url>
    <licenses>
        <license>
            <name>Apache License, Version 2.0</name>
            <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
            <distribution>repo</distribution>
        </license>
    </licenses>
    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>
    <scm>
        <connection>scm:git:https://github.com/hpcc-systems/HPCC-JAPIs.git</connection>
        <developerConnection>scm:git:https://github.com/hpcc-systems/HPCC-JAPIs.git</developerConnection>
        <url>scm:git:https://github.com/hpcc-systems/HPCC-JAPIs.git</url>
        <tag>HEAD</tag>
    </scm>
    <distributionManagement>
        <snapshotRepository>
            <id>ossrh</id>
            <url>https://oss.sonatype.org/content/repositories/snapshots</url>
        </snapshotRepository>
    </distributionManagement>
    <repositories>
        <repository>
            <id>ossrh</id>
            <name>Ossrh Snapshot Repository</name>
            <url>https://oss.sonatype.org/content/repositories/snapshots</url>
            <layout>default</layout>
            <releases>
                <enabled>false</enabled>
                <updatePolicy>never</updatePolicy>
            </releases>
            <snapshots>
                <enabled>true</enabled>
                <updatePolicy>always</updatePolicy>
                <checksumPolicy>warn</checksumPolicy>
            </snapshots>
        </repository>
    </repositories>
    <build>
        <plugins>
            <plugin>
                <groupId>org.sonatype.plugins</groupId>
                <artifactId>nexus-staging-maven-plugin</artifactId>
                <version>1.6.7</version>
                <extensions>true</extensions>
                <configuration>
                    <serverId>ossrh</serverId>
                    <nexusUrl>https://oss.sonatype.org/</nexusUrl>
                    <autoReleaseAfterClose>false</autoReleaseAfterClose>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.1</version>
                <configuration>
                    <excludes>
                        <exclude>org/hpccsystems/ws/client/gen/extended/wssql/v1_0/**/*</exclude>
                        <exclude>org/hpccsystems/ws/client/gen/extended/wssql/v3_03/**/*</exclude>
                        <exclude>org/hpccsystems/ws/client/gen/extended/wssql/v3_04/**/*</exclude>
                        <exclude>org/hpccsystems/ws/client/gen/filespray/v1_06/**/*</exclude>
                        <exclude>org/hpccsystems/ws/client/gen/filespray/v1_13/**/*</exclude>
                        <exclude>org/hpccsystems/ws/client/gen/filespray/v1_15/**/*</exclude>
                        <exclude>org/hpccsystems/ws/client/gen/filespray/v1_16/**/*</exclude>
                        <exclude>org/hpccsystems/ws/client/gen/wsdfu/v1_24/**/*</exclude>
                        <exclude>org/hpccsystems/ws/client/gen/wsdfu/v1_29/**/*</exclude>
                        <exclude>org/hpccsystems/ws/client/gen/wsdfu/v1_34/**/*</exclude>
                        <exclude>org/hpccsystems/ws/client/gen/wsdfu/v1_36/**/*</exclude>
                        <exclude>org/hpccsystems/ws/client/gen/wsdfu/v1_38/**/*</exclude>
                        <exclude>org/hpccsystems/ws/client/gen/wsesdlconfig/v1_0/**/*</exclude>
                        <exclude>org/hpccsystems/ws/client/gen/wsesdlconfig/v1_2/**/*</exclude>
                        <exclude>org/hpccsystems/ws/client/gen/wsesdlconfig/v1_3/**/*</exclude>
                        <exclude>org/hpccsystems/ws/client/gen/wsfileio/v0_0/**/*</exclude>
                        <exclude>org/hpccsystems/ws/client/gen/wssmc/v1_19/**/*</exclude>
                        <exclude>org/hpccsystems/ws/client/gen/wssmc/v1_2/**/*</exclude>
                        <exclude>org/hpccsystems/ws/client/gen/wstopology/v1_19/**/*</exclude>
                        <exclude>org/hpccsystems/ws/client/gen/wstopology/v1_23/**/*</exclude>
                        <exclude>org/hpccsystems/ws/client/gen/wstopology/v1_25/**/*</exclude>
                        <exclude>org/hpccsystems/ws/client/gen/wstopology/v1_26/**/*</exclude>
                        <exclude>org/hpccsystems/ws/client/gen/wstopology/v1_27/**/*</exclude>
                        <exclude>org/hpccsystems/ws/client/gen/wsworkunits/v1_46/**/*</exclude>
                        <!-- As of 7.2.0 v156, v158, v162, v169 required for backward compatibility -->
                        <!-- exclude>org/hpccsystems/ws/client/gen/wsworkunits/v1_56/**/*</exclude-->
                        <!-- exclude>org/hpccsystems/ws/client/gen/wsworkunits/v1_58/**/*</exclude-->
                        <!-- exclude>org/hpccsystems/ws/client/gen/wsworkunits/v1_62/**/*</exclude-->
                        <!-- exclude>org/hpccsystems/ws/client/gen/wsworkunits/v1_69/**/*</exclude-->
                        <exclude>org/hpccsystems/ws/client/gen/wsworkunits/v1_71/**/*</exclude>
                        <exclude>org/hpccsystems/ws/client/gen/wsworkunits/v1_73/**/*</exclude>
                    </excludes>
                    <source>1.6</source>
                    <target>1.6</target>
                    <groups>${test.groups}</groups>
                    <excludedGroups>${test.exclude.groups}</excludedGroups>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-assembly-plugin</artifactId>
                <version>2.4.1</version>
                <configuration>
                    <descriptorRefs>
                        <descriptorRef>jar-with-dependencies</descriptorRef>
                    </descriptorRefs>
                </configuration>
                <executions>
                    <execution>
                        <id>wsclient</id>
                        <phase>package</phase>
                        <goals>
                            <goal>single</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.antlr</groupId>
                <artifactId>antlr4-maven-plugin</artifactId>
                <version>4.7</version>
                <executions>
                    <execution>
                        <id>build-latest</id>
                        <goals>
                            <goal>antlr4</goal>
                        </goals>
                        <configuration>
                            <sourceDirectory>${project.basedir}/src/main/java/org/hpccsystems/ws/client/antlr</sourceDirectory>
                            <outputDirectory>${project.basedir}/src/main/java/org/hpccsystems/ws/client/antlr</outputDirectory>
                            <arguments>
                                <argument>-package</argument>
                                <argument>org.hpccsystems.ws.client.antlr</argument>
                            </arguments>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
    <dependencies>
        <dependency>
            <groupId>axis</groupId>
            <artifactId>axis</artifactId>
            <version>1.4</version>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.12</version>
        </dependency>
        <dependency>
            <groupId>org.antlr</groupId>
            <artifactId>antlr4</artifactId>
            <version>4.7</version>
        </dependency>
        <dependency>
            <groupId>org.antlr</groupId>
            <artifactId>antlr4-runtime</artifactId>
            <version>4.7</version>
        </dependency>
        <dependency>
            <groupId>commons-io</groupId>
            <artifactId>commons-io</artifactId>
            <version>2.4</version>
        </dependency>
        <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-lang3</artifactId>
            <version>3.4</version>
        </dependency>
        <dependency>
            <groupId>com.jcraft</groupId>
            <artifactId>jsch</artifactId>
            <version>0.1.54</version>
        </dependency>
        <dependency>
            <groupId>javax.mail</groupId>
            <artifactId>mail</artifactId>
            <version>1.4</version>
        </dependency>
        <dependency>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
            <version>1.2.17</version>
        </dependency>
    </dependencies>

    <profiles>
        <profile>
            <id>default</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-surefire-plugin</artifactId>
                        <version>2.15</version>
                        <configuration>
                            <argLine>${argLine}</argLine>
                            <groups></groups>
                            <includes>
                                <include>**/*.class</include>
                            </includes>
                            <excludedGroups>org.hpccsystems.ws.client.IntegrationTest,org.hpccsystems.ws.client.ManualUnitTest,org.hpccsystems.ws.client.RemoteTest</excludedGroups>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
        </profile>
        <profile>
            <id>integrationtests</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-surefire-plugin</artifactId>
                        <version>2.15</version>
                        <configuration>
                            <excludedGroups></excludedGroups>
                            <groups>org.hpccsystems.ws.client.IntegrationTest</groups>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
        </profile>
        <profile>
            <id>release</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-source-plugin</artifactId>
                        <version>2.2.1</version>
                        <executions>
                            <execution>
                                <id>attach-sources</id>
                                <goals>
                                    <goal>jar-no-fork</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-javadoc-plugin</artifactId>
                        <version>2.9.1</version>
                        <executions>
                            <execution>
                                <id>attach-javadocs</id>
                                <goals>
                                    <goal>jar</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-gpg-plugin</artifactId>
                        <version>1.5</version>
                        <executions>
                            <execution>
                                <id>sign-artifacts</id>
                                <phase>verify</phase>
                                <goals>
                                    <goal>sign</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
            <properties>
                <test.groups></test.groups>
                <test.exclude.groups>org.hpccsystems.ws.client.ManualUnitTest,org.hpccsystems.ws.client.IntegrationTest</test.exclude.groups>
            </properties>
        </profile>
    </profiles>
    <developers>
        <developer>
            <id>rpastrana</id>
            <name>Rodrigo Pastrana</name>
            <email>rodrigo.pastrana@lexisnexis.com</email>
            <organization>LexisNexis Risk</organization>
            <organizationUrl>https://hpccsystems.com</organizationUrl>
            <roles>
                <role>architect</role>
                <role>developer</role>
            </roles>
            <timezone>America/New_York</timezone>
        </developer>
        <developer>
            <id>mgardner</id>
            <name>Michael Gardner</name>
            <email>michael.gardner@lexisnexis.com</email>
            <organization>LexisNexis Risk</organization>
            <organizationUrl>https://hpccsystems.com</organizationUrl>
            <roles>
                <role>developer</role>
            </roles>
            <timezone>America/New_York</timezone>
        </developer>
    </developers>
    <issueManagement>
        <system>Jira</system>
        <url>https://track.hpccsystems.com/browse/JAPI</url>
    </issueManagement>
</project>
