Advertisement
Guest User

Untitled

a guest
Nov 18th, 2021
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.21 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <project xmlns="http://maven.apache.org/POM/4.0.0"
  4. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  5. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  6.  
  7. <modelVersion>4.0.0</modelVersion>
  8. <groupId>de.myCompany.mbhBridge.plugin</groupId>
  9. <artifactId>mbh-bridge-plugin</artifactId>
  10. <version>1.0.0-SNAPSHOT</version>
  11.  
  12. <organization>
  13. <name>Example Company</name>
  14. <url>http://www.example.com/</url>
  15. </organization>
  16.  
  17. <name>mbh-bridge-plugin</name>
  18. <description>This is the de.myCompany.mbhBridge.plugin:mbh-bridge-plugin plugin for Atlassian JIRA.</description>
  19. <packaging>atlassian-plugin</packaging>
  20.  
  21. <dependencies>
  22. <dependency>
  23. <groupId>com.atlassian.jira</groupId>
  24. <artifactId>jira-api</artifactId>
  25. <version>${jira.version}</version>
  26. <scope>provided</scope>
  27. </dependency>
  28. <!-- Add dependency on jira-core if you want access to JIRA implementation classes as well as the sanctioned API. -->
  29. <!-- This is not normally recommended, but may be required eg when migrating a plugin originally developed against JIRA 4.x -->
  30. <!--
  31. <dependency>
  32. <groupId>com.atlassian.jira</groupId>
  33. <artifactId>jira-core</artifactId>
  34. <version>${jira.version}</version>
  35. <scope>provided</scope>
  36. </dependency>
  37. -->
  38. <dependency>
  39. <groupId>junit</groupId>
  40. <artifactId>junit</artifactId>
  41. <version>4.10</version>
  42. <scope>test</scope>
  43. </dependency>
  44.  
  45. <dependency>
  46. <groupId>com.atlassian.plugins</groupId>
  47. <artifactId>atlassian-plugins-osgi-javaconfig</artifactId>
  48. <version>${osgi.javaconfig.version}</version>
  49. </dependency>
  50. <!-- OSGi Java Config dependencies -->
  51. <dependency>
  52. <groupId>org.apache.felix</groupId>
  53. <artifactId>org.apache.felix.framework</artifactId>
  54. <version>4.0.0</version>
  55. <scope>provided</scope>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.springframework</groupId>
  59. <artifactId>spring-beans</artifactId>
  60. <version>${spring.version}</version>
  61. <scope>provided</scope>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.springframework</groupId>
  65. <artifactId>spring-context</artifactId>
  66. <version>${spring.version}</version>
  67. <scope>provided</scope>
  68. </dependency>
  69.  
  70. <dependency>
  71. <groupId>com.atlassian.plugin</groupId>
  72. <artifactId>atlassian-spring-scanner-annotation</artifactId>
  73. <version>2.1.8</version>
  74. <scope>provided</scope>
  75. </dependency>
  76.  
  77. <!-- WIRED TEST RUNNER DEPENDENCIES -->
  78. <dependency>
  79. <groupId>com.atlassian.plugins</groupId>
  80. <artifactId>atlassian-plugins-osgi-testrunner</artifactId>
  81. <version>${plugin.testrunner.version}</version>
  82. <scope>test</scope>
  83. </dependency>
  84. <dependency>
  85. <groupId>javax.ws.rs</groupId>
  86. <artifactId>jsr311-api</artifactId>
  87. <version>1.1.1</version>
  88. <scope>provided</scope>
  89. </dependency>
  90. <dependency>
  91. <groupId>com.google.code.gson</groupId>
  92. <artifactId>gson</artifactId>
  93. <version>2.2.2-atlassian-1</version>
  94. </dependency>
  95.  
  96. <!-- Uncomment to use TestKit in your project. Details at https://bitbucket.org/atlassian/jira-testkit -->
  97. <!-- You can read more about TestKit at https://developer.atlassian.com/display/JIRADEV/Plugin+Tutorial+-+Smarter+integration+testing+with+TestKit -->
  98. <!--
  99. <dependency>
  100. <groupId>com.atlassian.jira.tests</groupId>
  101. <artifactId>jira-testkit-client</artifactId>
  102. <version>${testkit.version}</version>
  103. <scope>test</scope>
  104. </dependency>
  105. -->
  106. </dependencies>
  107.  
  108. <build>
  109. <plugins>
  110. <plugin>
  111. <groupId>com.atlassian.maven.plugins</groupId>
  112. <artifactId>jira-maven-plugin</artifactId>
  113. <version>${amps.version}</version>
  114. <extensions>true</extensions>
  115. <configuration>
  116. <productVersion>${jira.version}</productVersion>
  117. <productDataVersion>${jira.version}</productDataVersion>
  118. <log4jProperties>src/aps/log4j.properties</log4jProperties>
  119. <!-- Uncomment to install TestKit backdoor in JIRA. -->
  120. <!--
  121. <pluginArtifacts>
  122. <pluginArtifact>
  123. <groupId>com.atlassian.jira.tests</groupId>
  124. <artifactId>jira-testkit-plugin</artifactId>
  125. <version>${testkit.version}</version>
  126. </pluginArtifact>
  127. </pluginArtifacts>
  128. -->
  129. <enableQuickReload>true</enableQuickReload>
  130.  
  131. <!-- See here for an explanation of default instructions: -->
  132. <!-- https://developer.atlassian.com/docs/advanced-topics/configuration-of-instructions-in-atlassian-plugins -->
  133. <instructions>
  134. <Atlassian-Plugin-Key>${atlassian.plugin.key}</Atlassian-Plugin-Key>
  135.  
  136. <!-- Add package to export here -->
  137. <Export-Package>
  138. de.myCompany.mbhBridge.plugin.api,
  139. </Export-Package>
  140.  
  141. <!-- Add package import here -->
  142. <Import-Package>
  143. org.springframework.osgi.*;resolution:="optional",
  144. org.eclipse.gemini.blueprint.*;resolution:="optional",
  145. *
  146. </Import-Package>
  147.  
  148. <!-- Ensure plugin is spring powered -->
  149. <Spring-Context>*</Spring-Context>
  150. </instructions>
  151. </configuration>
  152. </plugin>
  153. </plugins>
  154. </build>
  155.  
  156. <properties>
  157. <jira.version>7.13.0</jira.version>
  158. <amps.version>8.1.2</amps.version>
  159. <plugin.testrunner.version>2.0.2</plugin.testrunner.version>
  160. <osgi.javaconfig.version>0.2.0</osgi.javaconfig.version>
  161. <spring.version>4.2.5.RELEASE</spring.version>
  162. <!-- This property ensures consistency between the key in atlassian-plugin.xml and the OSGi bundle's key. -->
  163. <atlassian.plugin.key>${project.groupId}.${project.artifactId}</atlassian.plugin.key>
  164. <!-- TestKit version 6.x for JIRA 6.x -->
  165. <testkit.version>6.3.11</testkit.version>
  166. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  167. <maven.compiler.source>1.8</maven.compiler.source>
  168. <maven.compiler.target>1.8</maven.compiler.target>
  169. </properties>
  170.  
  171. </project>
  172.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement