Advertisement
andreybotanic

pom.xml

Dec 6th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 9.89 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <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">
  4.     <modelVersion>4.0.0</modelVersion>
  5.     <groupId>com.atlassian.hclass.limitedUserPickerPlugin</groupId>
  6.     <artifactId>limitedUserPicker</artifactId>
  7.     <version>1.0.0-SNAPSHOT</version>
  8.     <organization>
  9.         <name>Example Company</name>
  10.         <url>http://www.example.com/</url>
  11.     </organization>
  12.     <name>limitedUserPicker</name>
  13.     <description>This is the com.atlassian.hclass.limitedUserPickerPlugin:limitedUserPicker plugin for Atlassian JIRA.</description>
  14.     <packaging>atlassian-plugin</packaging>
  15.     <repositories>
  16.         <repository>
  17.             <id>atlassian-public</id>
  18.             <url>https://maven.atlassian.com/repository/public</url>
  19.             <snapshots>
  20.                 <enabled>true</enabled>
  21.                 <updatePolicy>never</updatePolicy>
  22.                 <checksumPolicy>warn</checksumPolicy>
  23.             </snapshots>
  24.             <releases>
  25.                 <enabled>true</enabled>
  26.                 <checksumPolicy>warn</checksumPolicy>
  27.             </releases>
  28.         </repository>
  29.     </repositories>
  30.     <dependencies>
  31.         <dependency>
  32.             <groupId>com.atlassian.jira</groupId>
  33.             <artifactId>jira-api</artifactId>
  34.             <version>${jira.version}</version>
  35.             <scope>provided</scope>
  36.         </dependency>
  37.         <!-- Add dependency on jira-core if you want access to JIRA implementation classes as well as the sanctioned API. -->
  38.         <!-- This is not normally recommended, but may be required eg when migrating a plugin originally developed against JIRA 4.x -->
  39.         <!--
  40.        <dependency>
  41.            <groupId>com.atlassian.jira</groupId>
  42.            <artifactId>jira-core</artifactId>
  43.            <version>${jira.version}</version>
  44.            <scope>provided</scope>
  45.        </dependency>
  46.        -->
  47.         <dependency>
  48.             <groupId>junit</groupId>
  49.             <artifactId>junit</artifactId>
  50.             <version>4.10</version>
  51.             <scope>test</scope>
  52.         </dependency>
  53.         <dependency>
  54.             <groupId>com.atlassian.plugin</groupId>
  55.             <artifactId>atlassian-spring-scanner-annotation</artifactId>
  56.             <version>${atlassian.spring.scanner.version}</version>
  57.             <scope>compile</scope>
  58.         </dependency>
  59.         <dependency>
  60.             <groupId>com.atlassian.plugin</groupId>
  61.             <artifactId>atlassian-spring-scanner-runtime</artifactId>
  62.             <version>${atlassian.spring.scanner.version}</version>
  63.             <scope>runtime</scope>
  64.         </dependency>
  65.         <dependency>
  66.             <groupId>javax.inject</groupId>
  67.             <artifactId>javax.inject</artifactId>
  68.             <version>1</version>
  69.             <scope>provided</scope>
  70.         </dependency>
  71.         <!-- WIRED TEST RUNNER DEPENDENCIES -->
  72.         <dependency>
  73.             <groupId>com.atlassian.plugins</groupId>
  74.             <artifactId>atlassian-plugins-osgi-testrunner</artifactId>
  75.             <version>${plugin.testrunner.version}</version>
  76.             <scope>test</scope>
  77.         </dependency>
  78.         <dependency>
  79.             <groupId>javax.ws.rs</groupId>
  80.             <artifactId>jsr311-api</artifactId>
  81.             <version>1.1.1</version>
  82.             <scope>provided</scope>
  83.         </dependency>
  84.         <dependency>
  85.             <groupId>com.google.code.gson</groupId>
  86.             <artifactId>gson</artifactId>
  87.             <version>2.2.2-atlassian-1</version>
  88.         </dependency>
  89.         <!-- Uncomment to use TestKit in your project. Details at https://bitbucket.org/atlassian/jira-testkit -->
  90.         <!-- You can read more about TestKit at https://developer.atlassian.com/display/JIRADEV/Plugin+Tutorial+-+Smarter+integration+testing+with+TestKit -->
  91.         <!--
  92.        <dependency>
  93.            <groupId>com.atlassian.jira.tests</groupId>
  94.            <artifactId>jira-testkit-client</artifactId>
  95.            <version>${testkit.version}</version>
  96.            <scope>test</scope>
  97.        </dependency>
  98.        -->
  99.         <dependency>
  100.             <groupId>org.slf4j</groupId>
  101.             <artifactId>slf4j-api</artifactId>
  102.             <version>1.6.6</version>
  103.             <scope>provided</scope>
  104.         </dependency>
  105.         <dependency>
  106.             <groupId>org.mockito</groupId>
  107.             <artifactId>mockito-all</artifactId>
  108.             <version>1.8.5</version>
  109.             <scope>test</scope>
  110.         </dependency>
  111.         <dependency>
  112.             <groupId>javax.servlet</groupId>
  113.             <artifactId>servlet-api</artifactId>
  114.             <version>2.4</version>
  115.             <scope>provided</scope>
  116.         </dependency>
  117.         <dependency>
  118.             <groupId>javax.xml.bind</groupId>
  119.             <artifactId>jaxb-api</artifactId>
  120.             <version>2.1</version>
  121.             <scope>provided</scope>
  122.         </dependency>
  123.         <dependency>
  124.             <groupId>com.atlassian.plugins.rest</groupId>
  125.             <artifactId>atlassian-rest-common</artifactId>
  126.             <version>1.0.2</version>
  127.             <scope>provided</scope>
  128.         </dependency>
  129.         <dependency>
  130.             <groupId>com.atlassian.sal</groupId>
  131.             <artifactId>sal-api</artifactId>
  132.             <version>2.6.0</version>
  133.             <scope>provided</scope>
  134.         </dependency>
  135.         <dependency>
  136.             <groupId>org.apache.wink</groupId>
  137.             <artifactId>wink-client</artifactId>
  138.             <version>1.1.3-incubating</version>
  139.             <scope>test</scope>
  140.         </dependency>
  141.         <dependency>
  142.             <groupId>com.atlassian.activeobjects</groupId>
  143.             <artifactId>activeobjects-plugin</artifactId>
  144.             <version>1.1.0</version>
  145.             <scope>provided</scope>
  146.         </dependency>
  147.     </dependencies>
  148.     <build>
  149.         <plugins>
  150.             <plugin>
  151.                 <groupId>com.atlassian.maven.plugins</groupId>
  152.                 <artifactId>maven-jira-plugin</artifactId>
  153.                 <version>${amps.version}</version>
  154.                 <extensions>true</extensions>
  155.                 <configuration>
  156.                     <productVersion>${jira.version}</productVersion>
  157.                     <productDataVersion>${jira.version}</productDataVersion>
  158.                     <!-- Uncomment to install TestKit backdoor in JIRA. -->
  159.                     <!--
  160.                    <pluginArtifacts>
  161.                        <pluginArtifact>
  162.                            <groupId>com.atlassian.jira.tests</groupId>
  163.                            <artifactId>jira-testkit-plugin</artifactId>
  164.                            <version>${testkit.version}</version>
  165.                        </pluginArtifact>
  166.                    </pluginArtifacts>
  167.                    -->
  168.                     <enableQuickReload>true</enableQuickReload>
  169.                     <enableFastdev>false</enableFastdev>
  170.                     <!-- See here for an explanation of default instructions: -->
  171.                     <!-- https://developer.atlassian.com/docs/advanced-topics/configuration-of-instructions-in-atlassian-plugins -->
  172.                     <instructions>
  173.                         <Atlassian-Plugin-Key>${atlassian.plugin.key}</Atlassian-Plugin-Key>
  174.                         <!-- Add package to export here -->
  175.                         <Export-Package>com.atlassian.hclass.limitedUserPickerPlugin.api,</Export-Package>
  176.                         <!-- Add package import here -->
  177.                         <Import-Package>org.springframework.osgi.*;resolution:="optional", org.eclipse.gemini.blueprint.*;resolution:="optional", *</Import-Package>
  178.                         <!-- Ensure plugin is spring powered -->
  179.                         <Spring-Context>*</Spring-Context>
  180.                     </instructions>
  181.                 </configuration>
  182.             </plugin>
  183.             <plugin>
  184.                 <groupId>com.atlassian.plugin</groupId>
  185.                 <artifactId>atlassian-spring-scanner-maven-plugin</artifactId>
  186.                 <version>${atlassian.spring.scanner.version}</version>
  187.                 <executions>
  188.                     <execution>
  189.                         <goals>
  190.                             <goal>atlassian-spring-scanner</goal>
  191.                         </goals>
  192.                         <phase>process-classes</phase>
  193.                     </execution>
  194.                 </executions>
  195.                 <configuration>
  196.                     <scannedDependencies>
  197.                         <dependency>
  198.                             <groupId>com.atlassian.plugin</groupId>
  199.                             <artifactId>atlassian-spring-scanner-external-jar</artifactId>
  200.                         </dependency>
  201.                     </scannedDependencies>
  202.                     <verbose>false</verbose>
  203.                 </configuration>
  204.             </plugin>
  205.             <plugin>
  206.                 <groupId>org.apache.maven.plugins</groupId>
  207.                 <artifactId>maven-compiler-plugin</artifactId>
  208.                 <configuration>
  209.                     <source>1.8</source>
  210.                     <target>1.8</target>
  211.                 </configuration>
  212.             </plugin>
  213.         </plugins>
  214.     </build>
  215.     <properties>
  216.         <jira.version>7.2.2</jira.version>
  217.         <amps.version>6.2.11</amps.version>
  218.         <plugin.testrunner.version>1.2.3</plugin.testrunner.version>
  219.         <atlassian.spring.scanner.version>1.2.13</atlassian.spring.scanner.version>
  220.         <!-- This key is used to keep the consistency between the key in atlassian-plugin.xml and the key to generate bundle. -->
  221.         <atlassian.plugin.key>${project.groupId}.${project.artifactId}</atlassian.plugin.key>
  222.         <!-- TestKit version 6.x for JIRA 6.x -->
  223.         <testkit.version>6.3.11</testkit.version>
  224.     </properties>
  225. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement