Pom of com.nepaliapps:EpikosRestService:0.0.7.5.1

Back to com.nepaliapps:EpikosRestService:0.0.7.5.1

<!--
Copyright (c) [2016] [epikosrest@gmail.com]

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.>
-->

<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>
        <groupId>com.nepaliapps</groupId>
        <artifactId>EpikosRestService</artifactId>
        <version>0.0.7.5.1</version>
        <name>Epikos</name>
    <description>Epikos is a Rest Serivce framework which can be extend to develop any other Rest API/Services. For more
    detail please checkout github (https://github.com/epikosrest/epikos.git)</description>
    <url>https://github.com/epikosrest</url>

        <licenses>
                <license>
                        <name>MIT License</name>
                        <url>https://opensource.org/licenses/MIT</url>
                </license>
        </licenses>

    <scm>
        <connection>scm:git:git@github.com:epikosrest/epikos.git</connection>
        <developerConnection>scm:git:git@github.com:epikosrest/epikos.git</developerConnection>
        <url>https://github.com/epikosrest/epikos.git</url>
    </scm>

    <distributionManagement>
        <snapshotRepository>
            <id>ossrh</id>
            <url>https://oss.sonatype.org/content/repositories/snapshots</url>
        </snapshotRepository>
        <repository>
            <id>ossrh</id>
            <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
        </repository>
    </distributionManagement>


    <dependencies>
        <!-- To register MoxyJsonConfig for JSON support as provider -->
                <dependency>
                        <groupId>org.glassfish.jersey.media</groupId>
                        <artifactId>jersey-media-moxy</artifactId>
                        <version>2.6</version>
                </dependency>
                <dependency>
                        <groupId>org.glassfish.jersey.containers</groupId>
                        <artifactId>jersey-container-grizzly2-http</artifactId>
                        <version>2.6</version>
                </dependency>
                <dependency>
                        <groupId>org.slf4j</groupId>
                        <artifactId>slf4j-api</artifactId>
                        <version>1.7.5</version>
                </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-simple</artifactId>
            <version>1.6.4</version>
        </dependency>

                <dependency>
                        <groupId>com.yammer.metrics</groupId>
                        <artifactId>metrics-core</artifactId>
                        <version>${yammer.metrics.version}</version>
                </dependency>

                <dependency>
                        <groupId>io.swagger</groupId>
                        <artifactId>swagger-jersey2-jaxrs</artifactId>
                        <version>1.5.8</version>
                </dependency>

        <dependency>
            <groupId>com.wordnik</groupId>
            <artifactId>swagger-jersey2-jaxrs_2.10</artifactId>
            <version>${swagger.version}</version>
            <scope>compile</scope>
        </dependency>

        <dependency>
            <groupId>org.yaml</groupId>
            <artifactId>snakeyaml</artifactId>
            <version>1.17</version>
        </dependency>

                <dependency>
                        <groupId>junit</groupId>
                        <artifactId>junit</artifactId>
                        <version>${junit.version}</version>
                </dependency>

                <dependency>
                        <groupId>org.projectlombok</groupId>
                        <artifactId>lombok</artifactId>
                        <version>1.16.10</version>
                        <scope>provided</scope>
                </dependency>

        <!-- https://mvnrepository.com/artifact/net.openhft/chronicle -->
        <dependency>
            <groupId>net.openhft</groupId>
            <artifactId>chronicle</artifactId>
                        <scope>compile</scope>
            <version>3.6.4</version>
        </dependency>

    </dependencies>


        <build>
                <resources>
                        <resource>
                                <directory>${basedir}/src/main/resources</directory>
                                <filtering>true</filtering>
                        </resource>
                        <resource>
                                <directory>${basedir}/src/main/java</directory>
                        </resource>
                        <resource>
                                <directory>${basedir}/generated</directory>
                        </resource>
                        <resource>
                                <directory>${basedir}/Config</directory>
                                <excludes>
                                        <exclude>*.override.properties</exclude>
                                </excludes>
                        </resource>
                </resources>

                <pluginManagement>
                        <plugins>

                                <plugin>
                                        <artifactId>maven-clean-plugin</artifactId>
                                        <version>2.5</version>
                                        <configuration>
                                                <filesets>
                                                        <fileset>
                                                                <directory>generated</directory>
                                                                <includes>
                                                                        <include>**/*</include>
                                                                </includes>
                                                        </fileset>
                                                </filesets>
                                        </configuration>
                                </plugin>

                                <plugin>
                                        <groupId>org.eclipse.m2e</groupId>
                                        <artifactId>lifecycle-mapping</artifactId>
                                        <version>1.0.0</version>
                                        <configuration>
                                                <lifecycleMappingMetadata>
                                                        <pluginExecutions>
                                                                <pluginExecution>
                                                                        <pluginExecutionFilter>
                                                                                <groupId>
                                                                                        org.jvnet.jaxb2.maven2
                                                                                </groupId>
                                                                                <artifactId>
                                                                                        maven-jaxb2-plugin
                                                                                </artifactId>
                                                                                <versionRange>
                                                                                        [0.8.3,)
                                                                                </versionRange>
                                                                                <goals>
                                                                                        <goal>generate</goal>
                                                                                </goals>
                                                                        </pluginExecutionFilter>
                                                                        <pluginExecutionFilter>
                                                                                <groupId>org.apache.maven.plugins</groupId>
                                                                                <artifactId>maven-dependency-plugin</artifactId>
                                                                                <versionRange>[2.0,)</versionRange>
                                                                                <goals>
                                                                                        <goal>copy-dependencies</goal>
                                                                                </goals>
                                                                        </pluginExecutionFilter>
                                                                        <action>
                                                                                <ignore></ignore>
                                                                        </action>
                                                                </pluginExecution>
                                                        </pluginExecutions>
                                                </lifecycleMappingMetadata>
                                        </configuration>
                                </plugin>

                        </plugins>

                </pluginManagement>

                <plugins>

            <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>
                <configuration>
                    <additionalparam>-Xdoclint:none</additionalparam>
                </configuration>
            </plugin>

                        <plugin>
                                <artifactId>maven-assembly-plugin</artifactId>
                                <executions>
                                        <execution>
                                                <phase>package</phase>
                                                <goals>
                                                        <goal>single</goal>
                                                </goals>
                                        </execution>
                                </executions>
                                <configuration>

                                        <archive>
                                                <manifest>
                                                        <addClasspath>true</addClasspath>
                                                        <mainClass>restserver.Service</mainClass>
                                                </manifest>
                                        </archive>

                                        <descriptorRefs>
                                                <descriptorRef>jar-with-dependencies</descriptorRef>
                                        </descriptorRefs>

                                </configuration>
                        </plugin>

                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-dependency-plugin</artifactId>
                                <executions>
                                        <execution>
                                                <id>copy-dependencies</id>
                                                <phase>prepare-package</phase>
                                                <goals>
                                                        <goal>copy-dependencies</goal>
                                                </goals>
                                                <configuration>
                                                        <outputDirectory>${project.build.directory}/${project.build.finalName}.lib</outputDirectory>
                                                </configuration>
                                        </execution>
                                </executions>
                        </plugin>

                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-jar-plugin</artifactId>
                                <configuration>
                                        <archive>
                                                <manifest>
                                                        <addClasspath>true</addClasspath>
                                                        <classpathPrefix>${project.build.finalName}.lib/</classpathPrefix>
                                                        <mainClass>restserver.Service</mainClass>
                                                </manifest>
                                        </archive>
                                </configuration>
                        </plugin>

                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-compiler-plugin</artifactId>
                                <version>3.3</version>
                                <inherited>true</inherited>
                                <configuration>
                                        <source>1.8</source>
                                        <target>1.8</target>
                                </configuration>
                        </plugin>

                        <plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>cobertura-maven-plugin</artifactId>
                                <version>2.7</version>
                                <configuration>
                                        <formats>
                                                <format>html</format>
                                                <format>xml</format>
                                        </formats>
                                        <check />
                                </configuration>
                        </plugin>

                        <plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>appassembler-maven-plugin</artifactId>
                                <version>1.1.1</version>
                                <executions>
                                        <execution>
                                                <phase>package</phase>
                                                <goals>
                                                        <goal>assemble</goal>
                                                </goals>
                                                <configuration>
                                                        <assembleDirectory>target</assembleDirectory>
                                                        <programs>
                                                                <program>
                                                                        <mainClass>restserver.Service</mainClass>
                                                                        <name>Service</name>
                                                                </program>
                                                        </programs>
                                                </configuration>
                                        </execution>
                                </executions>
                        </plugin>
                        <!-- Plugin to support command line support to run project for maven e.g. mvn exec:java -->
                        <plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>exec-maven-plugin</artifactId>
                                <version>1.2.1</version>
                                <executions>
                                        <execution>
                                                <goals>
                                                        <goal>java</goal>
                                                </goals>
                                        </execution>
                                </executions>
                                <configuration>
                                        <mainClass>restserver.Service</mainClass>
                    <classpathScope combine.children="override"></classpathScope>
                                </configuration>
                        </plugin>

                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-site-plugin</artifactId>
                                <version>3.3</version>
                                <executions>
                                        <execution>
                                                <id>attach-descriptor</id>
                                                <goals>
                                                        <goal>attach-descriptor</goal>
                                                </goals>
                                        </execution>
                                </executions>
                        </plugin>

            <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.jacoco</groupId>
                                <artifactId>jacoco-maven-plugin</artifactId>
                                <version>0.7.7.201606060606</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>
                                <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>

            <!-- Plugin for compile time static analysis by Google ref: http://errorprone.info/ -->
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-compiler-plugin</artifactId>
                                <version>3.3</version>
                                <configuration>
                                        <compilerId>javac-with-errorprone</compilerId>
                                        <forceJavacCompilerUse>true</forceJavacCompilerUse>
                                        <!-- maven-compiler-plugin defaults to targeting Java 5, but our javac
                         only supports >=6 -->
                                        <source>8</source>
                                        <target>8</target>
                                </configuration>
                                <dependencies>
                                        <dependency>
                                                <groupId>org.codehaus.plexus</groupId>
                                                <artifactId>plexus-compiler-javac-errorprone</artifactId>
                                                <version>2.8</version>
                                        </dependency>
                                        <!-- override plexus-compiler-javac-errorprone's dependency on
                         Error Prone with the latest version -->
                                        <dependency>
                                                <groupId>com.google.errorprone</groupId>
                                                <artifactId>error_prone_core</artifactId>
                                                <version>2.0.19</version>
                                        </dependency>
                                </dependencies>
                        </plugin>

                </plugins>
        </build>

        <properties>
                <jersey.version>2.8</jersey.version>
                <spring.version>2.5.6</spring.version>
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
                <metrics.version>3.1.0</metrics.version>
                <yammer.metrics.version>2.2.0</yammer.metrics.version>
        <swagger.version>1.3.12</swagger.version>
                <junit.version>4.12</junit.version>
        </properties>

    <developers>
        <developer>
            <name>Nitin Raj Aryal</name>
            <email>nitinrajaryal@gmail.com</email>
            <organization>nepaliapps.com</organization>
            <organizationUrl>http://www.nepaliapps.com</organizationUrl>
        </developer>
    </developers>
</project>