Advertisement
Guest User

pom.xml - Russell Bateman

a guest
Apr 7th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 6.71 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.example.plugins</groupId>
  6.     <artifactId>Plugin</artifactId>
  7.     <version>1.0.2-SNAPSHOT</version>
  8.     <organization>
  9.         <name>Name</name>
  10.         <url>URL</url>
  11.     </organization>
  12.     <name>EMEAPlugin</name>
  13.     <description>Description</description>
  14.     <packaging>atlassian-plugin</packaging>
  15.     <dependencies>
  16.         <dependency>
  17.             <groupId>junit</groupId>
  18.             <artifactId>junit</artifactId>
  19.             <version>4.10</version>
  20.             <scope>test</scope>
  21.         </dependency>
  22.         <dependency>
  23.             <groupId>com.atlassian.confluence</groupId>
  24.             <artifactId>confluence</artifactId>
  25.             <version>${confluence.version}</version>
  26.             <scope>provided</scope>
  27.         </dependency>
  28.         <dependency>
  29.             <groupId>com.atlassian.confluence.plugins</groupId>
  30.             <artifactId>confluence-create-content-plugin</artifactId>
  31.             <version>${create-content.version}</version>
  32.             <scope>provided</scope>
  33.         </dependency>
  34.         <dependency>
  35.             <groupId>com.atlassian.plugin</groupId>
  36.             <artifactId>atlassian-spring-scanner-annotation</artifactId>
  37.             <version>${atlassian.spring.scanner.version}</version>
  38.             <scope>provided</scope>
  39.         </dependency>
  40.         <dependency>
  41.             <groupId>javax.inject</groupId>
  42.             <artifactId>javax.inject</artifactId>
  43.             <version>1</version>
  44.             <scope>provided</scope>
  45.         </dependency>
  46.         <!-- WIRED TEST RUNNER DEPENDENCIES -->
  47.         <dependency>
  48.             <groupId>com.atlassian.plugins</groupId>
  49.             <artifactId>atlassian-plugins-osgi-testrunner</artifactId>
  50.             <version>${plugin.testrunner.version}</version>
  51.             <scope>test</scope>
  52.         </dependency>
  53.         <dependency>
  54.             <groupId>javax.ws.rs</groupId>
  55.             <artifactId>jsr311-api</artifactId>
  56.             <version>1.1.1</version>
  57.             <scope>provided</scope>
  58.         </dependency>
  59.         <dependency>
  60.             <groupId>com.google.code.gson</groupId>
  61.             <artifactId>gson</artifactId>
  62.             <version>2.2.2-atlassian-1</version>
  63.         </dependency>
  64.     </dependencies>
  65.     <build>
  66.         <plugins>
  67.             <plugin>
  68.                 <groupId>com.atlassian.plugin</groupId>
  69.                 <artifactId>atlassian-spring-scanner-maven-plugin</artifactId>
  70.                 <version>${atlassian.spring.scanner.version}</version>
  71.                 <executions>
  72.                     <execution>
  73.                         <goals>
  74.                             <goal>atlassian-spring-scanner</goal>
  75.                         </goals>
  76.                         <!-- process-classes seems to be skipped if you are using scala
  77.                             so perhaps use prepare-package -->
  78.                         <phase>process-classes</phase>
  79.                     </execution>
  80.                 </executions>
  81.                 <configuration>
  82.                    <!-- Enable this to get build-time logging of annotations atlassian-spring-scanner-maven-plugin has noticed -->
  83.                    <verbose>false</verbose>
  84.                 </configuration>
  85.             </plugin>
  86.             <plugin>
  87.                 <groupId>com.atlassian.maven.plugins</groupId>
  88.                 <artifactId>maven-confluence-plugin</artifactId>
  89.                 <version>${amps.version}</version>
  90.                 <extensions>true</extensions>
  91.                 <configuration>
  92.                     <productVersion>${confluence.version}</productVersion>
  93.                     <productDataVersion>${confluence.data.version}</productDataVersion>
  94.                     <enableQuickReload>true</enableQuickReload>
  95.                     <enableFastdev>false</enableFastdev>
  96.                     <!-- See here for an explanation of default instructions: -->
  97.                     <!-- https://developer.atlassian.com/docs/advanced-topics/configuration-of-instructions-in-atlassian-plugins -->
  98.                     <instructions>
  99.                         <Atlassian-Plugin-Key>${atlassian.plugin.key}</Atlassian-Plugin-Key>
  100.                         <!-- Add package to export here -->
  101.                       <Export-Package>com.bsquare.emea.plugins.api,</Export-Package>
  102.                         <!-- Add package import here -->
  103.                         <Import-Package>org.springframework.osgi.*;resolution:="optional", org.eclipse.gemini.blueprint.*;resolution:="optional", *</Import-Package>
  104.                         <!-- Ensure plugin is spring powered -->
  105.                         <Spring-Context>*</Spring-Context>
  106.                     </instructions>
  107.                     <skipManifestValidation>true</skipManifestValidation>
  108.                 </configuration>
  109.             </plugin>
  110.             <plugin>
  111.                 <groupId>com.atlassian.plugin</groupId>
  112.                 <artifactId>atlassian-spring-scanner-maven-plugin</artifactId>
  113.                 <version>${atlassian.spring.scanner.version}</version>
  114.                 <executions>
  115.                     <execution>
  116.                         <goals>
  117.                             <goal>atlassian-spring-scanner</goal>
  118.                         </goals>
  119.                         <phase>process-classes</phase>
  120.                     </execution>
  121.                 </executions>
  122.                 <configuration>
  123.                     <scannedDependencies>
  124.                         <dependency>
  125.                             <groupId>com.atlassian.plugin</groupId>
  126.                             <artifactId>atlassian-spring-scanner-external-jar</artifactId>
  127.                         </dependency>
  128.                     </scannedDependencies>
  129.                     <verbose>false</verbose>
  130.                 </configuration>
  131.             </plugin>
  132.         </plugins>
  133.     </build>
  134.     <properties>
  135.         <confluence.version>5.10.3</confluence.version>
  136.         <confluence.data.version>5.10.3</confluence.data.version>
  137.         <create-content.version>6.0.13</create-content.version>
  138.         <amps.version>6.2.11</amps.version>
  139.         <plugin.testrunner.version>1.2.3</plugin.testrunner.version>
  140.         <atlassian.spring.scanner.version>1.2.13</atlassian.spring.scanner.version>
  141.         <!-- This key is used to keep the consistency between the key in atlassian-plugin.xml and the key to generate bundle. -->
  142.         <atlassian.plugin.key>${project.groupId}.${project.artifactId}</atlassian.plugin.key>
  143.     </properties>
  144. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement