<?xml version="1.0" encoding="UTF-8"?>
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ~ This Source Code Form is copyright of 51Degrees Mobile Experts Limited.
  ~ Copyright 2017 51Degrees Mobile Experts Limited, 5 Charlotte Close,
  ~ Caversham, Reading, Berkshire, United Kingdom RG4 7BY
  ~
  ~ This Source Code Form is the subject of the following patents and patent
  ~ applications, owned by 51Degrees Mobile Experts Limited of 5 Charlotte
  ~ Close, Caversham, Reading, Berkshire, United Kingdom RG4 7BY:
  ~ European Patent No. 2871816;
  ~ European Patent Application No. 17184134.9;
  ~ United States Patent Nos. 9,332,086 and 9,350,823; and
  ~ United States Patent Application No. 15/686,066.
  ~
  ~ This Source Code Form is subject to the terms of the Mozilla Public
  ~ License, v. 2.0.
  ~
  ~ If a copy of the MPL was not distributed with this file, You can obtain
  ~ one at http://mozilla.org/MPL/2.0/.
  ~
  ~ This Source Code Form is "Incompatible With Secondary Licenses", as
  ~ defined by the Mozilla Public License, v. 2.0.
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->

<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns="http://maven.apache.org/POM/4.0.0"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <parent>
        <artifactId>pipeline</artifactId>
        <groupId>com.51degrees</groupId>
        <version>4.2.2</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>

    <artifactId>pipeline.common</artifactId>
    <name>51Degrees :: Pipeline :: Common</name>
    <url>https:51degrees.com</url>

    <dependencies>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
            <version>${slf4j-api.version}</version>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <executions>
                    <execution>
                        <id>Jar Tests Package</id>
                        <phase>package</phase>
                        <goals>
                            <goal>test-jar</goal>
                        </goals>
                    </execution>
                </executions>
         </plugin>
         <plugin>
  			   <groupId>org.apache.maven.plugins</groupId>
  			   <artifactId>maven-compiler-plugin</artifactId>
  			   <version>${maven-compiler-plugin.version}</version>
               <configuration>
        	        <source>${maven.compiler.source}</source>
        	        <target>${maven.compiler.target}</target>       		
          			<showWarnings>true</showWarnings>
            		<compilerArgs>
                	<arg>-Xlint:all,-try,-options</arg>
                	<arg>-Werror</arg>
            		</compilerArgs>
        		</configuration>
       	 </plugin>
    </plugins>
    </build>

    <licenses>
        <license>
            <name>European Union Public License 1.2</name>
            <url>https://opensource.org/licenses/EUPL-1.2</url>
        </license>
    </licenses>
</project>