<?xml version="1.0" encoding="UTF-8"?>
<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>
        <groupId>org.jenkins-ci.plugins</groupId>
        <artifactId>plugin</artifactId>
        <version>3.37</version>
        <relativePath />
    </parent>

    <artifactId>google-kubernetes-engine</artifactId>
    <version>0.2.0</version>
    <packaging>hpi</packaging>

    <name>Google Kubernetes Engine Plugin</name>
    <description>This plugin allows Jenkins to publish build artifacts to Kubernetes clusters running on Google Kubernetes Engine.</description>
    <!-- Jenkins CI hosting -->
    <url>https://wiki.jenkins.io/display/JENKINS/Google+Kubernetes+Engine+Plugin</url>
    <organization>
      <name>Google</name>
      <url>https://www.google.com</url>
    </organization>
    <licenses>
      <license>
	<name>Apache License, Version 2.0</name>
	<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
	<distribution>repo</distribution>
      </license>
    </licenses>

    <developers>
      <developer>
	<id>stephenashank</id>
	<name>Stephen Shank</name>
	<email>stephenshank@google.com</email>
      </developer>
      <developer>
	<id>rachelyen</id>
	<name>Rachel Yen</name>
	<email>rachelyen@google.com</email>
      </developer>
      <developer>
	<id>craigatgoogle</id>
	<name>Craig Barber</name>
	<email>craigbarber@google.com</email>
      </developer>
    </developers>

    <scm>
        <connection>scm:git:git://github.com/jenkinsci/${project.artifactId}-plugin.git</connection>
        <developerConnection>scm:git:git@github.com:jenkinsci/${project.artifactId}-plugin.git</developerConnection>
        <url>https://github.com/jenkinsci/${project.artifactId}-plugin</url>
      <tag>google-kubernetes-engine-0.2.0</tag>
  </scm>

    <properties>
        <jenkins.version>2.107.1</jenkins.version>
        <java.level>8</java.level>
	<maven.compiler.source>1.8</maven.compiler.source>
	<maven.compiler.target>1.8</maven.compiler.target>
    </properties>

    <dependencies>
      <dependency>
  <groupId>org.jenkins-ci.plugins</groupId>
  <artifactId>git</artifactId>
  <version>3.9.3</version>
      </dependency>
      <dependency>
  <groupId>org.jenkins-ci.plugins</groupId>
  <artifactId>google-oauth-plugin</artifactId>
  <version>0.7</version>
      </dependency>
      <dependency>
        <groupId>org.jenkins-ci</groupId>
        <artifactId>annotation-indexer</artifactId>
        <version>1.12</version>
      </dependency>
      <dependency>
	<groupId>org.mockito</groupId>
	<artifactId>mockito-core</artifactId>
	<version>2.10.0</version>
	<scope>test</scope>
      </dependency>
      <dependency>
	<groupId>junit</groupId>
	<artifactId>junit</artifactId>
	<version>4.12</version>
	<scope>test</scope>
      </dependency>
      <dependency>
	<groupId>org.jenkins-ci.plugins</groupId>
	<artifactId>junit</artifactId>
	<version>1.3</version>
      </dependency>
      <dependency>
	<groupId>com.google.apis</groupId>
	<artifactId>google-api-services-container</artifactId>
	<version>v1-rev57-1.25.0</version>
      </dependency>
      <dependency>
  <groupId>com.google.apis</groupId>
  <artifactId>google-api-services-compute</artifactId>
  <version>v1-rev199-1.22.0</version>
      </dependency>
      <dependency>
        <groupId>com.google.apis</groupId>
        <artifactId>google-api-services-cloudresourcemanager</artifactId>
        <version>v1-rev535-1.25.0</version>
      </dependency>
      <dependency>
  <groupId>com.google.api-client</groupId>
  <artifactId>google-api-client</artifactId>
  <version>1.25.0</version>
      </dependency>
      <dependency>
  <groupId>com.google.http-client</groupId>
  <artifactId>google-http-client</artifactId>
  <version>1.25.0</version>
      </dependency>
      <dependency>
  <groupId>com.google.guava</groupId>
  <artifactId>guava</artifactId>
  <version>19.0</version>
      </dependency>
      <dependency>
	<groupId>org.yaml</groupId>
	<artifactId>snakeyaml</artifactId>
	<version>1.19</version>
      </dependency>
    </dependencies>

    <repositories>
        <repository>
            <id>repo.jenkins-ci.org</id>
            <url>https://repo.jenkins-ci.org/public/</url>
        </repository>
    </repositories>
    <pluginRepositories>
        <pluginRepository>
            <id>repo.jenkins-ci.org</id>
            <url>https://repo.jenkins-ci.org/public/</url>
        </pluginRepository>
    </pluginRepositories>

    <build>
      <plugins>
	<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-compiler-plugin</artifactId>
  <version>3.8.0</version>
  <configuration>
    <compilerArgument>-Xlint:all</compilerArgument>
	  </configuration>
	</plugin>
	<plugin>
  <groupId>org.codehaus.mojo</groupId>
  <artifactId>tidy-maven-plugin</artifactId>
  <version>1.1.0</version>
  <executions>
	    <execution>
	      <id>validate</id>
	      <phase>validate</phase>
	      <goals>
    		<goal>pom</goal> 
	      </goals>
	    </execution>
	  </executions>
	</plugin>
  	<plugin>
  <groupId>com.coveo</groupId>
  <artifactId>fmt-maven-plugin</artifactId>
  <version>2.6.0</version>
  <executions>
  	    <execution>
  	      <goals>
  		<goal>format</goal>
  	      </goals>
  	    </execution>
  	  </executions>
  	</plugin>
  	<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-failsafe-plugin</artifactId>
  <version>2.20.1</version>
  <executions>
	    <execution>
	      <goals>
		<goal>integration-test</goal>
		<goal>verify</goal>
	      </goals>
	    </execution>
	  </executions>
	  <configuration>
	    <disableXmlReport>true</disableXmlReport>
	    <useFile>false</useFile>
	  </configuration>
	</plugin>
  	<plugin>
  <artifactId>maven-surefire-plugin</artifactId>
  <version>2.20.1</version>
  <configuration>
  	    <skipTests>${skip.surefire.tests}</skipTests>
  	  </configuration>
  	</plugin>
  	<plugin>
  <groupId>org.codehaus.mojo</groupId>
  <artifactId>findbugs-maven-plugin</artifactId>
  <version>3.0.1</version>
  <configuration>
  	    <skip>true</skip>
  	    <effort>Max</effort>
  	    <threshold>Medium</threshold>
  	    <xmlOutput>true</xmlOutput>
  	  </configuration>
  	  <executions>
  	    <execution>
  	      <goals>
  		<goal>check</goal>
  	      </goals>
  	    </execution>
  	  </executions>
  	</plugin>
	<plugin>
  <groupId>org.codehaus.mojo</groupId>
  <artifactId>cobertura-maven-plugin</artifactId>
  <version>2.7</version>
  <configuration>
	    <instrumentation>
	      <excludes>
	      </excludes>
	    </instrumentation>
	    <formats>
	      <format>html</format>
	      <format>xml</format>
	    </formats>
	  </configuration>
	</plugin>
      </plugins>
    </build>
</project>
