<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/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <relativePath>../</relativePath>
        <groupId>org.lsst</groupId>
        <artifactId>org-lsst-ccs-image-utilities-parent</artifactId>
        <version>3.1.26</version>
    </parent>
    
    <artifactId>org-lsst-ccs-image-utilities-war</artifactId>
    <version>3.1.26</version>
    <packaging>war</packaging>
    <name>LSST CCS - Image Utilities war</name>
    <description>CCS Image Utilities library war</description>
    <url>${org.lsst.ccs.site.url.base}${org.lsst.ccs.site.dir}</url>
    
    <repositories>
        <repository>
            <id>lsst-maven2-public</id>
            <name>LSST Maven 2 central repository</name>
            <url>https://repo-nexus.lsst.org/nexus/content/groups/ccs-maven2-public/</url>
        </repository>
    </repositories>

    <scm>
        <url>https://github.com/lsst-camera-ccs/org-lsst-ccs-image-utilities</url>
        <connection>scm:git:git://github.com/lsst-camera-ccs/org-lsst-ccs-image-utilities.git</connection>
        <developerConnection>scm:git:https://${env.GIT_USERNAME}:${env.GIT_PASSWORD}@github.com/lsst-camera-ccs/org-lsst-ccs-image-utilities.git</developerConnection>
        <tag>org-lsst-ccs-image-utilities-parent-3.1.26</tag>
    </scm>
    
    <distributionManagement>
        <site>
            <id>github</id>
            <name>LSST Public pages in github</name>
            <url>scm:git:https://${env.GIT_USERNAME}:${env.GIT_PASSWORD}@github.com/lsst-camera-ccs/org-lsst-ccs-site.git</url>
        </site>
    </distributionManagement>

    <properties>
        <org_lsst_ccs_project_type>utility</org_lsst_ccs_project_type>
        <org_lsst_ccs_project_jira_prefix>image-utilities</org_lsst_ccs_project_jira_prefix>
        <org.lsst.ccs.site.dir>site-root/utilities/${project.parent.artifactId}/${project.version}/${project.artifactId}</org.lsst.ccs.site.dir>
    </properties>
    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.glassfish.jersey</groupId>
                <artifactId>jersey-bom</artifactId>
                <version>2.31</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.lsst</groupId>
            <artifactId>org-lsst-ccs-image-utilities</artifactId>
            <version>3.1.26</version>
            <exclusions>
                <exclusion>
                    <groupId>org.lsst</groupId>
                    <artifactId>org-lsst-ccs-bootstrap</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.lsst</groupId>
                    <artifactId>org-lsst-ccs-command</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.lsst</groupId>
                    <artifactId>org-lsst-ccs-commons</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.lsst</groupId>
                    <artifactId>org-lsst-ccs-utilities</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.lsst</groupId>
                    <artifactId>org-lsst-ccs-utilities-taitime</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>gov.nasa.gsfc.heasarc</groupId>
                    <artifactId>nom-tam-fits</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>com.h2database</groupId>
            <artifactId>h2</artifactId>
            <version>1.4.191</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.glassfish.jersey.containers</groupId>
            <artifactId>jersey-container-jdk-http</artifactId>
        </dependency>
        <dependency>
            <groupId>org.glassfish.jersey.containers</groupId>
            <artifactId>jersey-container-servlet</artifactId>
        </dependency>        
        <dependency>
            <groupId>org.glassfish.jersey.media</groupId>
            <artifactId>jersey-media-json-jackson</artifactId>
        </dependency>
        <dependency>
            <groupId>org.glassfish.jersey.media</groupId>
            <artifactId>jersey-media-multipart</artifactId>
        </dependency>
        <dependency>
            <groupId>org.glassfish.jersey.media</groupId>
            <artifactId>jersey-media-sse</artifactId>
        </dependency>
        <dependency>
            <groupId>org.glassfish.jersey.inject</groupId>
            <artifactId>jersey-hk2</artifactId>
        </dependency>
        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>javax.servlet-api</artifactId>
            <version>3.1.0</version>
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>org.glassfish.jersey.core</groupId>
            <artifactId>jersey-client</artifactId>
        </dependency>
        <dependency>
            <groupId>org.glassfish.jersey.media</groupId>
            <artifactId>jersey-media-json-jackson</artifactId>
        </dependency>
        <dependency>
            <groupId>org.glassfish.jersey.inject</groupId>
            <artifactId>jersey-hk2</artifactId>
        </dependency>
    </dependencies>   
    
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-war-plugin</artifactId>
                <version>3.3.1</version>
                <configuration>
                    <failOnMissingWebXml>false</failOnMissingWebXml>
                    <attachClasses>true</attachClasses>
                    <classesClassifier>classes</classesClassifier>
                </configuration>
            </plugin>
        </plugins>    
    </build>

</project>
