<?xml version="1.0" encoding="UTF-8"?>
<!--

    SmartSprites Project

    Copyright (C) 2007-2009, Stanisław Osiński.
    All rights reserved.

    Redistribution and use in source and binary forms, with or without modification,
    are permitted provided that the following conditions are met:

    - Redistributions of  source code must  retain the above  copyright notice, this
      list of conditions and the following disclaimer.

    - Redistributions in binary form must reproduce the above copyright notice, this
      list of conditions and the following  disclaimer in  the documentation  and/or
      other materials provided with the distribution.

    - Neither the name of the SmartSprites Project nor the names of its contributors
      may  be used  to endorse  or  promote  products derived   from  this  software
      without specific prior written permission.

    - We kindly request that you include in the end-user documentation provided with
      the redistribution and/or in the software itself an acknowledgement equivalent
      to  the  following: "This product includes software developed by the SmartSprites
      Project."

    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"  AND
    ANY EXPRESS OR  IMPLIED WARRANTIES, INCLUDING,  BUT NOT LIMITED  TO, THE IMPLIED
    WARRANTIES  OF  MERCHANTABILITY  AND  FITNESS  FOR  A  PARTICULAR  PURPOSE   ARE
    DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE  FOR
    ANY DIRECT, INDIRECT, INCIDENTAL,  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL  DAMAGES
    (INCLUDING, BUT  NOT LIMITED  TO, PROCUREMENT  OF SUBSTITUTE  GOODS OR SERVICES;
    LOSS OF USE, DATA, OR PROFITS;  OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND  ON
    ANY  THEORY  OF  LIABILITY,  WHETHER  IN  CONTRACT,  STRICT  LIABILITY,  OR TORT
    (INCLUDING NEGLIGENCE OR OTHERWISE)  ARISING IN ANY WAY  OUT OF THE USE  OF THIS
    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-->
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">

    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>com.github.hazendaz</groupId>
        <artifactId>base-parent</artifactId>
        <version>42</version>
        <relativePath />
    </parent>

    <!-- Project info. -->
    <groupId>com.github.hazendaz</groupId>
    <artifactId>smartsprites</artifactId>
    <version>0.2.16</version>

    <name>SmartSprites</name>
    <description>CSS Sprites Generator Done Right. SmartSprites maintains CSS sprites in your designs,
    fully automatically. No tedious copying and pasting to your CSS when adding or changing
    sprited images.</description>
    <url>https://github.com/carrotsearch/smartsprites/wiki/Documentation</url>

    <organization>
        <name>Carrot Search s.c.</name>
        <url>https://www.carrotsearch.com/</url>
    </organization>

    <!-- Extended project info. -->
    <licenses>
        <license>
            <name>BSD license</name>
            <url>https://github.com/hazendaz/smartsprites/blob/master/LICENSE</url>
            <distribution>repo</distribution>
        </license>
    </licenses>

    <developers>
        <developer>
            <id>stanislaw.osinski</id>
            <name>Stanisław Osiński</name>
            <email>stanislaw.osinski@carrotsearch.com</email>
        </developer>

        <developer>
            <id>dawid.weiss</id>
            <name>Dawid Weiss</name>
            <email>dawid.weiss@carrotsearch.com</email>
        </developer>
    </developers>

    <mailingLists>
        <mailingList>
            <name>Announcements and bug reports mailing list</name>
            <subscribe>smartsprites-css-sprite-generator+subscribe@googlegroups.com</subscribe>
            <unsubscribe>smartsprites-css-sprite-generator+unsubscribe@googlegroups.com</unsubscribe>
            <post>smartsprites-css-sprite-generator@googlegroups.com</post>
        </mailingList>
    </mailingLists>

    <scm>
        <connection>scm:git:ssh://git@github.com/hazendaz/smartsprites.git</connection>
        <developerConnection>scm:git:ssh://git@github.com/hazendaz/smartsprites.git</developerConnection>
        <tag>smartsprites-0.2.16</tag>
        <url>https://github.com/hazendaz/smartsprites</url>
    </scm>

    <issueManagement>
        <system>Github</system>
        <url>https://github.com/hazendaz/smartsprites/issues</url>
    </issueManagement>
    <distributionManagement>
        <site>
            <id>gh-pages-scm</id>
            <name>GitHub Pages</name>
            <url>scm:git:ssh://git@github.com/hazendaz/smartsprites.git</url>
        </site>
    </distributionManagement>

    <!-- Global properties. -->
    <properties>
        <maven.compiler.source>1.8</maven.compiler.source>
        <maven.compiler.target>1.8</maven.compiler.target>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
    </properties>

    <!-- Dependencies. -->
    <dependencies>
        <dependency>
            <groupId>com.google.guava</groupId>
            <artifactId>guava</artifactId>
            <version>32.1.3-jre</version>
        </dependency>

        <dependency>
            <groupId>args4j</groupId>
            <artifactId>args4j</artifactId>
            <version>2.33</version>
        </dependency>

        <!-- Only used in SpriteImageBuilder -->
        <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-math3</artifactId>
            <version>3.6.1</version>
        </dependency>

        <dependency>
            <groupId>commons-io</groupId>
            <artifactId>commons-io</artifactId>
            <version>2.15.0</version>
        </dependency>

        <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-lang3</artifactId>
            <version>3.13.0</version>
        </dependency>

        <dependency>
            <groupId>org.apache.ant</groupId>
            <artifactId>ant</artifactId>
            <version>1.10.14</version>
            <scope>provided</scope>
            <optional>true</optional>
        </dependency>

        <dependency>
            <groupId>org.junit.jupiter</groupId>
            <artifactId>junit-jupiter-engine</artifactId>
            <version>5.10.1</version>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>org.assertj</groupId>
            <artifactId>assertj-core</artifactId>
            <version>3.24.2</version>
            <scope>test</scope>
        </dependency>
    </dependencies>

    <!-- Build tuning. -->
    <build>
        <defaultGoal>install</defaultGoal>
    </build>

    <profiles>
        <!-- Release mode. -->
        <profile>
            <id>release</id>
            <build>
                <plugins>
                    <!-- Attach and modify JavaDocs. -->
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-javadoc-plugin</artifactId>
                        <configuration>
                            <encoding>${project.build.sourceEncoding}</encoding>
                            <stylesheetfile>${project.basedir}/src/main/javadoc/stylesheet.css</stylesheetfile>
                            <docfilessubdirs>true</docfilessubdirs>
                            <windowtitle>SmartSprites v${project.version} API Documentation (JavaDoc)</windowtitle>
                            <doctitle>SmartSprites v${project.version} API Documentation</doctitle>
                            <header><![CDATA[<div id='header'><a class='logo' target='_top' href='http://labs.carrotsearch.com'><img src='resources/logo.png'></a>SmartSprites v${project.version} <br>API Documentation</div>]]></header>
                        </configuration>
                        <executions>
                            <execution>
                                <id>attach-javadocs</id>
                                <goals>
                                    <goal>jar</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>

                    <!-- Configure assembly of ZIP and TAR.GZ bundles (stand-alone distributions). -->
                    <plugin>
                        <artifactId>maven-assembly-plugin</artifactId>
                        <configuration>
                            <descriptors>
                                <descriptor>${project.basedir}/src/main/assembly/bin.xml</descriptor>
                            </descriptors>
                            <attach>true</attach>
                            <appendAssemblyId>false</appendAssemblyId>
                        </configuration>
                        <executions>
                            <execution>
                                <id>make-assembly</id>
                                <goals>
                                    <goal>single</goal>
                                </goals>
                                <phase>package</phase>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>

</project>
