<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>
	
	<parent>
		<groupId>org.jenkins-ci.plugins</groupId>
		<artifactId>plugin</artifactId>
		<version>2.22</version>
	</parent>
	
	<artifactId>sonargraph-integration</artifactId>
	<version>2.1.1</version>
	<name>Sonargraph Integration Jenkins Plugin</name>
	<packaging>hpi</packaging>

	<properties>
		<jenkins.version>1.609.3</jenkins.version>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<animal.sniffer.skip>true</animal.sniffer.skip>
		<findbugs.skip>true</findbugs.skip>
	</properties>	

	<distributionManagement>
		<repository>
			<id>maven.jenkins-ci.org</id>
			<url>https://repo.jenkins-ci.org/releases/</url>
		</repository>
		<snapshotRepository>
			<id>maven.jenkins-ci.org</id>
			<url>https://repo.jenkins-ci.org/snapshots/</url>
		</snapshotRepository>
	</distributionManagement>

	<!-- get every artifact through repo.jenkins-ci.org, which proxies all the 
		artifacts that we need -->
	<repositories>
		<repository>
			<id>repo.jenkins-ci.org</id>
			<url>http://repo.jenkins-ci.org/public/</url>
		</repository>
		<repository>
        	<id>central</id>
        	<name>repo</name>
        	<url>http://repo.jenkins-ci.org/repo</url>
    	</repository>
	</repositories>

	<pluginRepositories>
		<pluginRepository>
			<id>repo.jenkins-ci.org</id>
			<url>http://repo.jenkins-ci.org/public/</url>
		</pluginRepository>
		<pluginRepository>
        	<id>central</id>
        	<name>repo</name>
        	<url>http://repo.jenkins-ci.org/repo</url>
		</pluginRepository>
	</pluginRepositories>

	<dependencies>
		<dependency>
			<groupId>com.hello2morrow</groupId>
			<artifactId>sonargraph-integration-access</artifactId>
			<version>3.1.5</version>
		</dependency>
		<dependency>
			<groupId>com.opencsv</groupId>
			<artifactId>opencsv</artifactId>
			<version>3.4</version>
		</dependency>
		<dependency>
			<groupId>org.jfree</groupId>
			<artifactId>jcommon</artifactId>
			<version>1.0.23</version>
		</dependency>
		<dependency>
			<groupId>org.jfree</groupId>
			<artifactId>jfreechart</artifactId>
			<version>1.0.19</version>
		</dependency>
	</dependencies>

	<build>
		<resources>
			<resource>
				<directory>src/main/resources</directory>
				<filtering>true</filtering>
			</resource>
		</resources>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-enforcer-plugin</artifactId>
				<executions>
					<execution>
						<id>display-info</id>
						<goals>
							<goal>display-info</goal>
						</goals>
						<configuration>
							<rules>
								<enforceBytecodeVersion>
									<maxJdkVersion>1.8</maxJdkVersion>
								</enforceBytecodeVersion>
							</rules>
						</configuration>
					</execution>
					<execution>
						<id>enforce-versions</id>
						<goals>
							<goal>enforce</goal>
						</goals>
						<configuration>
							<rules>
								<requireJavaVersion>
									<version>1.8</version>
								</requireJavaVersion>
							</rules>
						</configuration>
					</execution>
				</executions>
			</plugin>
		    <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>1.8</source>
                    <target>1.8</target>
                </configuration>
            </plugin>
        </plugins>
        <pluginManagement>
        <!-- Needed to avoid error markers in Eclipse -->
          <plugins>
            <plugin>
             <groupId>org.eclipse.m2e</groupId>
             <artifactId>lifecycle-mapping</artifactId>
             <version>1.0.0</version>
             <configuration>
               <lifecycleMappingMetadata>
                 <pluginExecutions>
                   <pluginExecution>
                     <pluginExecutionFilter>
                       <groupId>org.apache.maven.plugins</groupId>
                       <artifactId>maven-enforcer-plugin</artifactId>
                       <versionRange>[1.0.0,)</versionRange>
                       <goals>
                         <goal>enforce</goal>
                         <goal>display-info</goal>
                       </goals>
                     </pluginExecutionFilter>
                     <action>
                       <ignore />
                     </action>
                   </pluginExecution>
                   <pluginExecution>
                     <pluginExecutionFilter>
                       <groupId>org.codehaus.gmaven</groupId>
                       <artifactId>gmaven-plugin</artifactId>
                       <versionRange>[1.5,)</versionRange>
                       <goals>
                         <goal>generateTestStubs</goal>
                         <goal>testCompile</goal>
                       </goals>
                     </pluginExecutionFilter>
                     <action>
                       <ignore />
                     </action>
                   </pluginExecution>
                   <pluginExecution>
                     <pluginExecutionFilter>
                       <groupId>org.apache.maven.plugins</groupId>
                       <artifactId>maven-javadoc-plugin</artifactId>
                       <versionRange>[2.10,)</versionRange>
                       <goals>
                         <goal>javadoc</goal>
                       </goals>
                     </pluginExecutionFilter>
                     <action>
                       <ignore />
                     </action>
                   </pluginExecution>
                 </pluginExecutions>
               </lifecycleMappingMetadata>
             </configuration>
            </plugin>
          </plugins>
        </pluginManagement>
	</build>

	<url>https://wiki.jenkins-ci.org/display/JENKINS/Sonargraph+Integration+Plugin</url>
	<organization>
		<name>hello2morrow GmbH, hello2morrow Inc., hello2morrow S.A.S</name>
		<url>https://www.hello2morrow.com</url>
	</organization>
	<scm>
		<connection>scm:git:https://github.com/jenkinsci/sonargraph-integration-plugin.git</connection>
		<developerConnection>scm:git:https://github.com/jenkinsci/sonargraph-integration-plugin.git</developerConnection>
		<url>https://github.com/jenkinsci/sonargraph-integration-plugin</url>
		<tag>sonargraph-integration-2.1.1</tag>
	</scm>

	<licenses>
		<license>
			<name>Apache License 2</name>
			<url>http://www.apache.org/licenses/LICENSE-2.0</url>
		</license>
	</licenses>

	<developers>
		<developer>
			<id>ingmarkellner</id>
			<name>Ingmar Kellner</name>
		</developer>
		<developer>
			<id>esteban-h2m</id>
			<name>Esteban Angee</name>
		</developer>
		<developer>
			<id>andreashoyerh2m</id>
			<name>Andreas Hoyer</name>
		</developer>
	</developers>
</project>
