268 lines
8.6 KiB
XML
268 lines
8.6 KiB
XML
<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.3</version>
|
|
</parent>
|
|
|
|
<properties>
|
|
<jenkins.version>1.609.3</jenkins.version>
|
|
<hpi-plugin.version>1.115</hpi-plugin.version>
|
|
<jenkins-test-harness.version>${jenkins.version}</jenkins-test-harness.version>
|
|
<findbugs.failOnError>false</findbugs.failOnError>
|
|
</properties>
|
|
|
|
<artifactId>gitee</artifactId>
|
|
<version>1.2.5-SNAPSHOT</version>
|
|
<name>Gitee Plugin</name>
|
|
<description>This plugin integrates Gitee to Jenkins by faking a Gitee CI Server. This plugin allows Gitee to trigger builds in Jenkins when code is committed or pull requests are opened/updated. It can also send build status back to Gitee.</description>
|
|
<url>https://wiki.jenkins.io/display/JENKINS/Gitee+Plugin</url>
|
|
<packaging>hpi</packaging>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>GPL v2.0 License</name>
|
|
<url>http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html</url>
|
|
</license>
|
|
</licenses>
|
|
|
|
<developers>
|
|
<developer>
|
|
<id>Yashin</id>
|
|
<name>Yashin Luo</name>
|
|
<email>Yashin.luo@foxmail.com</email>
|
|
</developer>
|
|
</developers>
|
|
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>maven.jenkins-ci.org</id>
|
|
<name>jenkinsci-releases</name>
|
|
<url>https://repo.jenkins-ci.org/releases</url>
|
|
</repository>
|
|
<snapshotRepository>
|
|
<id>maven.jenkins-ci.org</id>
|
|
<name>jenkinsci-snapshots</name>
|
|
<url>https://repo.jenkins-ci.org/snapshots</url>
|
|
</snapshotRepository>
|
|
</distributionManagement>
|
|
|
|
<scm>
|
|
<connection>scm:git:ssh://github.com:jenkinsci/gitee-plugin.git</connection>
|
|
<developerConnection>scm:git:git@github.com:jenkinsci/gitee-plugin.git</developerConnection>
|
|
<url>https://github.com/jenkinsci/gitee-plugin</url>
|
|
<tag>HEAD</tag>
|
|
</scm>
|
|
<!--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>https://repo.jenkins-ci.org/public/</url>
|
|
</repository>
|
|
<repository>
|
|
<id>jgit-repository</id>
|
|
<name>Eclipse JGit Repository</name>
|
|
<url>http://download.eclipse.org/jgit/maven</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>repo.jenkins-ci.org</id>
|
|
<url>https://repo.jenkins-ci.org/public/</url>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
|
|
<build>
|
|
<defaultGoal>clean install</defaultGoal>
|
|
<directory>${project.basedir}/target</directory>
|
|
<outputDirectory>${project.build.directory}/classes</outputDirectory>
|
|
<finalName>${project.artifactId}-${project.version}</finalName>
|
|
<testOutputDirectory>${project.build.directory}/test-classes</testOutputDirectory>
|
|
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
|
|
<scriptSourceDirectory>${project.basedir}/src/main/scripts</scriptSourceDirectory>
|
|
<testSourceDirectory>${project.basedir}/src/test/java</testSourceDirectory>
|
|
<resources>
|
|
<resource>
|
|
<directory>${project.basedir}/src/main/resources</directory>
|
|
</resource>
|
|
</resources>
|
|
<testResources>
|
|
<testResource>
|
|
<directory>${project.basedir}/src/test/resources</directory>
|
|
</testResource>
|
|
</testResources>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>findbugs-maven-plugin</artifactId>
|
|
<version>3.0.4</version>
|
|
<configuration>
|
|
<failOnError>false</failOnError>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
</build>
|
|
|
|
<dependencies>
|
|
<!-- Jenkins dependencies -->
|
|
<dependency>
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
<artifactId>git</artifactId>
|
|
<version>2.4.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
<artifactId>git-client</artifactId>
|
|
<version>1.19.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jenkins-ci.plugins.workflow</groupId>
|
|
<artifactId>workflow-step-api</artifactId>
|
|
<version>1.15</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jenkins-ci.plugins.workflow</groupId>
|
|
<artifactId>workflow-job</artifactId>
|
|
<version>1.15</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
<artifactId>credentials</artifactId>
|
|
<version>2.1.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
<artifactId>plain-credentials</artifactId>
|
|
<version>1.1</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jenkins-ci</groupId>
|
|
<artifactId>symbol-annotation</artifactId>
|
|
<version>1.5</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jgit</groupId>
|
|
<artifactId>org.eclipse.jgit</artifactId>
|
|
<version>3.5.2.201411120430-r</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
<artifactId>matrix-project</artifactId>
|
|
<version>1.10</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jenkins-ci.plugins</groupId>
|
|
<artifactId>display-url-api</artifactId>
|
|
<version>1.1.1</version>
|
|
</dependency>
|
|
|
|
|
|
<!-- REST client dependencies -->
|
|
<dependency>
|
|
<groupId>org.jboss.spec.javax.ws.rs</groupId>
|
|
<artifactId>jboss-jaxrs-api_2.0_spec</artifactId>
|
|
<version>1.0.0.Final</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jboss.resteasy</groupId>
|
|
<artifactId>resteasy-client</artifactId>
|
|
<version>3.0.16.Final</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.jaxrs</groupId>
|
|
<artifactId>jackson-jaxrs-json-provider</artifactId>
|
|
<version>2.9.9</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
<version>2.9.9.3</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpclient</artifactId>
|
|
<version>4.3.1</version>
|
|
</dependency>
|
|
|
|
<!-- util dependencies -->
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
<version>18.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.karneim</groupId>
|
|
<artifactId>pojobuilder</artifactId>
|
|
<version>3.4.0</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- test dependencies -->
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.12</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hamcrest</groupId>
|
|
<artifactId>hamcrest-all</artifactId>
|
|
<version>1.3</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-all</artifactId>
|
|
<version>1.9.5</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.powermock</groupId>
|
|
<artifactId>powermock-api-mockito</artifactId>
|
|
<version>1.6.1</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.powermock</groupId>
|
|
<artifactId>powermock-module-junit4</artifactId>
|
|
<version>1.6.1</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mock-server</groupId>
|
|
<artifactId>mockserver-netty</artifactId>
|
|
<version>3.10.2</version>
|
|
<scope>test</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.bouncycastle</groupId>
|
|
<artifactId>bcmail-jdk15on</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.bouncycastle</groupId>
|
|
<artifactId>bcprov-jdk15on</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.bouncycastle</groupId>
|
|
<artifactId>bcpkix-jdk15on</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.postgresql</groupId>
|
|
<artifactId>postgresql</artifactId>
|
|
<version>9.4.1208</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</project>
|