534 lines
20 KiB
XML
534 lines
20 KiB
XML
<?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/maven-v4_0_0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>su.tiburon.atlassian.jira</groupId>
|
|
<artifactId>rest-extender</artifactId>
|
|
<version>1.1.0</version>
|
|
<packaging>atlassian-plugin</packaging>
|
|
|
|
<name>REST API extender for JIRA</name>
|
|
<description>REST API extender for JIRA.</description>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>BSD 3-Clause License</name>
|
|
<url>https://opensource.org/licenses/BSD-3-Clause</url>
|
|
</license>
|
|
</licenses>
|
|
|
|
<issueManagement>
|
|
<system>Github</system>
|
|
<url>https://github.com/tiburon-777/rest-extender/issues</url>
|
|
</issueManagement>
|
|
|
|
<scm>
|
|
<connection>scm:git:git://github.com/tiburon-777/rest-extender.git</connection>
|
|
<developerConnection>scm:git:git@github.com:tiburon-777/rest-extender.git</developerConnection>
|
|
<url>https://github.com/tiburon-777/rest-extender</url>
|
|
</scm>
|
|
|
|
<organization>
|
|
<name>OCTOPUS CodeWare</name>
|
|
<url>http://www.tiburon.su/</url>
|
|
</organization>
|
|
|
|
<developers>
|
|
<developer>
|
|
<name>Andrey Ivanov</name>
|
|
<email>ya@tiburon.su</email>
|
|
<organization>OCTOPUS CodeWare</organization>
|
|
<organizationUrl>https://www.tiburon.su</organizationUrl>
|
|
</developer>
|
|
</developers>
|
|
|
|
<properties>
|
|
<!-- General properties -->
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
<!-- Atlassian properties -->
|
|
<jira.version>8.0.1</jira.version>
|
|
<!-- Be careful with changing the data version -->
|
|
<jira.data.version>7.5.0</jira.data.version>
|
|
<atlassian.amps.version>8.0.2</atlassian.amps.version>
|
|
<amps.version>8.0.2</amps.version>
|
|
<atlassian.project.templates.version>6.2.0</atlassian.project.templates.version>
|
|
<atlassian.sal.version>3.1.0</atlassian.sal.version>
|
|
<atlassian.plugins.rest.version>5.0.1</atlassian.plugins.rest.version>
|
|
<atlassian.quick.reload.version>2.0.0</atlassian.quick.reload.version>
|
|
<atlassian.spring.scanner.version>2.1.5</atlassian.spring.scanner.version>
|
|
<atlassian.crowdapi.version>2.10.2-rc04</atlassian.crowdapi.version>
|
|
<upm.license.compatibility.version>2.15.3</upm.license.compatibility.version>
|
|
|
|
<!-- Other properties -->
|
|
<slf4j.version>1.7.9</slf4j.version>
|
|
<javax.servlet.version>2.4</javax.servlet.version>
|
|
<javax.ws.version>1.1.1</javax.ws.version>
|
|
<javax.xml.version>2.1</javax.xml.version>
|
|
|
|
<!-- Test properties -->
|
|
<junit.version>4.12</junit.version>
|
|
<mockito.version>1.10.19</mockito.version>
|
|
<jacoco.version>0.8.1</jacoco.version>
|
|
<coveralls.version>4.3.0</coveralls.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<!-- Atlassian dependencies -->
|
|
|
|
<dependency>
|
|
<groupId>com.atlassian.jira</groupId>
|
|
<artifactId>jira-api</artifactId>
|
|
<version>${jira.version}</version>
|
|
<scope>provided</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>jta</groupId>
|
|
<artifactId>jta</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.atlassian.jira</groupId>
|
|
<artifactId>jira-core</artifactId>
|
|
<version>${jira.version}</version>
|
|
<scope>provided</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>jndi</groupId>
|
|
<artifactId>jndi</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>jta</groupId>
|
|
<artifactId>jta</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.atlassian.jira.plugins</groupId>
|
|
<artifactId>project-templates-api</artifactId>
|
|
<version>${atlassian.project.templates.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.atlassian.jira</groupId>
|
|
<artifactId>jira-rest-api</artifactId>
|
|
<version>${jira.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.atlassian.plugins.rest</groupId>
|
|
<artifactId>atlassian-rest-common</artifactId>
|
|
<version>${atlassian.plugins.rest.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.atlassian.plugins.rest</groupId>
|
|
<artifactId>atlassian-rest-doclet</artifactId>
|
|
<version>${atlassian.plugins.rest.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.atlassian.plugin</groupId>
|
|
<artifactId>atlassian-spring-scanner-annotation</artifactId>
|
|
<version>${atlassian.spring.scanner.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.atlassian.templaterenderer</groupId>
|
|
<artifactId>atlassian-template-renderer-api</artifactId>
|
|
<version>3.0.0</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.atlassian.sal</groupId>
|
|
<artifactId>sal-api</artifactId>
|
|
<version>${atlassian.sal.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.atlassian.crowd</groupId>
|
|
<artifactId>crowd-api</artifactId>
|
|
<version>${atlassian.crowdapi.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.atlassian.upm</groupId>
|
|
<artifactId>plugin-license-storage-lib</artifactId>
|
|
<version>${upm.license.compatibility.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.atlassian.upm</groupId>
|
|
<artifactId>plugin-license-storage-plugin</artifactId>
|
|
<version>${upm.license.compatibility.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.atlassian.upm</groupId>
|
|
<artifactId>licensing-api</artifactId>
|
|
<version>${upm.license.compatibility.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.atlassian.upm</groupId>
|
|
<artifactId>upm-api</artifactId>
|
|
<version>${upm.license.compatibility.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- Other dependencies -->
|
|
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>javax.ws.rs</groupId>
|
|
<artifactId>jsr311-api</artifactId>
|
|
<version>${javax.ws.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>javax.xml.bind</groupId>
|
|
<artifactId>jaxb-api</artifactId>
|
|
<version>${javax.xml.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- Test dependencies -->
|
|
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>${junit.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-core</artifactId>
|
|
<version>${mockito.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.atlassian.jira</groupId>
|
|
<artifactId>jira-tests</artifactId>
|
|
<version>${jira.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.atlassian.maven.plugins</groupId>
|
|
<artifactId>jira-maven-plugin</artifactId>
|
|
<version>${atlassian.amps.version}</version>
|
|
<extensions>true</extensions>
|
|
<configuration>
|
|
<productVersion>${jira.version}</productVersion>
|
|
<enableFastdev>false</enableFastdev>
|
|
<enableDevToolbox>false</enableDevToolbox>
|
|
<enablePde>false</enablePde>
|
|
<!-- <extractDependencies>false</extractDependencies> -->
|
|
<skipRestDocGeneration>true</skipRestDocGeneration>
|
|
<skipManifestValidation>true</skipManifestValidation>
|
|
<allowGoogleTracking>false</allowGoogleTracking>
|
|
<systemPropertyVariables>
|
|
<atlassian.mail.senddisabled>false</atlassian.mail.senddisabled>
|
|
</systemPropertyVariables>
|
|
<applications>
|
|
<application>
|
|
<applicationKey>jira-software</applicationKey>
|
|
<version>${jira.version}</version>
|
|
</application>
|
|
</applications>
|
|
<pluginArtifacts>
|
|
<pluginArtifact>
|
|
<groupId>com.atlassian.labs.plugins</groupId>
|
|
<artifactId>quickreload</artifactId>
|
|
<version>${atlassian.quick.reload.version}</version>
|
|
</pluginArtifact>
|
|
</pluginArtifacts>
|
|
<instructions>
|
|
<Atlassian-Plugin-Key>${project.groupId}.${project.artifactId}</Atlassian-Plugin-Key>
|
|
<Spring-Context>*</Spring-Context>
|
|
<Import-Package>
|
|
org.springframework.*;resolution:="optional",
|
|
org.eclipse.gemini.*;resolution:="optional",
|
|
sun.misc;resolution:=optional,
|
|
*
|
|
</Import-Package>
|
|
<Export-Package/>
|
|
</instructions>
|
|
<products>
|
|
<product>
|
|
<id>crowd</id>
|
|
<instanceId>crowd</instanceId>
|
|
<version>3.1.3</version>
|
|
</product>
|
|
<product>
|
|
<id>confluence</id>
|
|
<instanceId>confluence</instanceId>
|
|
<version>6.8.0</version>
|
|
</product>
|
|
</products>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>com.atlassian.plugin</groupId>
|
|
<artifactId>atlassian-spring-scanner-maven-plugin</artifactId>
|
|
<version>${atlassian.spring.scanner.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>atlassian-spring-scanner</goal>
|
|
</goals>
|
|
<phase>process-classes</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
<version>${jacoco.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>prepare-agent</id>
|
|
<goals>
|
|
<goal>prepare-agent</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>report</id>
|
|
<phase>test</phase>
|
|
<goals>
|
|
<goal>report</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.eluder.coveralls</groupId>
|
|
<artifactId>coveralls-maven-plugin</artifactId>
|
|
<version>${coveralls.version}</version>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<distributionManagement>
|
|
<snapshotRepository>
|
|
<id>sonatype-nexus-snapshots</id>
|
|
<name>Sonatype Nexus snapshot repository</name>
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
|
</snapshotRepository>
|
|
|
|
<repository>
|
|
<id>sonatype-nexus-staging</id>
|
|
<name>Sonatype Nexus release staging repository</name>
|
|
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
|
</repository>
|
|
</distributionManagement>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>release</id>
|
|
<activation>
|
|
<activeByDefault>true</activeByDefault>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
<version>1.6</version>
|
|
<executions>
|
|
<execution>
|
|
<id>sign-artifacts</id>
|
|
<phase>deploy</phase>
|
|
<goals>
|
|
<goal>sign</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<keyname>${gpg.keyname}</keyname>
|
|
<passphrase>${gpg.passphrase}</passphrase>
|
|
<executable>${gpg.executable}</executable>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
<version>2.8.2</version>
|
|
<configuration>
|
|
<!-- Deployment is already handled by nexus-staging-maven-plugin -->
|
|
<skip>true</skip>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.sonatype.plugins</groupId>
|
|
<artifactId>nexus-staging-maven-plugin</artifactId>
|
|
<version>1.6.8</version>
|
|
<extensions>true</extensions>
|
|
<executions>
|
|
<execution>
|
|
<id>default-deploy</id>
|
|
<phase>deploy</phase>
|
|
<goals>
|
|
<goal>deploy</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<serverId>sonatype-nexus-staging</serverId>
|
|
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
|
|
<autoReleaseAfterClose>true</autoReleaseAfterClose>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>sources</id>
|
|
<activation>
|
|
<activeByDefault>true</activeByDefault>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>3.0.1</version>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-sources</id>
|
|
<phase>install</phase>
|
|
<goals>
|
|
<goal>jar-no-fork</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>javadoc</id>
|
|
<activation>
|
|
<activeByDefault>true</activeByDefault>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>3.0.1</version>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-javadocs</id>
|
|
<phase>install</phase>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>atlassian-public</id>
|
|
<url>https://packages.atlassian.com/maven/repository/public</url>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
<updatePolicy>never</updatePolicy>
|
|
<checksumPolicy>warn</checksumPolicy>
|
|
</snapshots>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
<checksumPolicy>warn</checksumPolicy>
|
|
</releases>
|
|
</repository>
|
|
|
|
<repository>
|
|
<id>sonatype-oss</id>
|
|
<url>https://oss.sonatype.org/content/groups/public</url>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
<updatePolicy>never</updatePolicy>
|
|
<checksumPolicy>warn</checksumPolicy>
|
|
</snapshots>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
<checksumPolicy>warn</checksumPolicy>
|
|
</releases>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>atlassian-public</id>
|
|
<url>https://packages.atlassian.com/maven/repository/public</url>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
<updatePolicy>never</updatePolicy>
|
|
<checksumPolicy>warn</checksumPolicy>
|
|
</snapshots>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
<checksumPolicy>warn</checksumPolicy>
|
|
</releases>
|
|
</pluginRepository>
|
|
|
|
<pluginRepository>
|
|
<id>sonatype-oss</id>
|
|
<url>https://oss.sonatype.org/content/groups/public</url>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
<updatePolicy>never</updatePolicy>
|
|
<checksumPolicy>warn</checksumPolicy>
|
|
</snapshots>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
<checksumPolicy>warn</checksumPolicy>
|
|
</releases>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
|
|
</project>
|