Advertisement
Guest User

Untitled

a guest
Apr 10th, 2017
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 6.56 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.bsquare.emea.plugins</groupId>
  6.     <artifactId>EMEAPlugin</artifactId>
  7.     <version>1.0.2-SNAPSHOT</version>
  8.     <organization>
  9.         <name>BSquare EMEA</name>
  10.         <url>http://www.bsquare.com/</url>
  11.     </organization>
  12.     <name>EMEAPlugin</name>
  13.     <description>This is the com.bsquare.emea.plugins:EMEAPlugin plugin for Atlassian Confluence.</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>compile</scope>
  39.         </dependency>
  40.         <dependency>
  41.             <groupId>com.atlassian.plugin</groupId>
  42.             <artifactId>atlassian-spring-scanner-runtime</artifactId>
  43.             <version>${atlassian.spring.scanner.version}</version>
  44.             <scope>runtime</scope>
  45.         </dependency>
  46.         <dependency>
  47.             <groupId>javax.inject</groupId>
  48.             <artifactId>javax.inject</artifactId>
  49.             <version>1</version>
  50.             <scope>provided</scope>
  51.         </dependency>
  52.         <!-- WIRED TEST RUNNER DEPENDENCIES -->
  53.         <dependency>
  54.             <groupId>com.atlassian.plugins</groupId>
  55.             <artifactId>atlassian-plugins-osgi-testrunner</artifactId>
  56.             <version>${plugin.testrunner.version}</version>
  57.             <scope>test</scope>
  58.         </dependency>
  59.         <dependency>
  60.             <groupId>javax.ws.rs</groupId>
  61.             <artifactId>jsr311-api</artifactId>
  62.             <version>1.1.1</version>
  63.             <scope>provided</scope>
  64.         </dependency>
  65.         <dependency>
  66.             <groupId>com.google.code.gson</groupId>
  67.             <artifactId>gson</artifactId>
  68.             <version>2.2.2-atlassian-1</version>
  69.         </dependency>
  70.     </dependencies>
  71.     <build>
  72.         <plugins>
  73.             <plugin>
  74.                 <groupId>com.atlassian.maven.plugins</groupId>
  75.                 <artifactId>maven-confluence-plugin</artifactId>
  76.                 <version>${amps.version}</version>
  77.                 <extensions>true</extensions>
  78.                 <configuration>
  79.                     <productVersion>${confluence.version}</productVersion>
  80.                     <productDataVersion>${confluence.data.version}</productDataVersion>
  81.                     <enableQuickReload>true</enableQuickReload>
  82.                     <enableFastdev>false</enableFastdev>
  83.                     <!-- See here for an explanation of default instructions: -->
  84.                     <!-- https://developer.atlassian.com/docs/advanced-topics/configuration-of-instructions-in-atlassian-plugins -->
  85.                     <instructions>
  86.                         <Atlassian-Plugin-Key>${atlassian.plugin.key}</Atlassian-Plugin-Key>
  87.                         <!-- Add package to export here -->
  88.                         <Export-Package>
  89.                             com.bsquare.emea.plugins.hello_blueprint,
  90.                         </Export-Package>
  91.                         <!-- Add package import here -->
  92.                         <Import-Package>
  93.                             org.springframework.osgi.*;resolution:="optional", org.eclipse.gemini.blueprint.*;resolution:="optional", com.atlassian.plugin.osgi.bridge.external, com.atlassian.confluence.plugin.descriptor.web.conditions.user;resolution:="optional", com.atlassian.confluence.plugin.descriptor.web.conditions;resolution:="optional", com.atlassian.confluence.mail.notification.actions;resolution:="optional", com.atlassian.confluence.pages.persistence.dao.*;resolution:="optional", *;resolution:=optional
  94.                         </Import-Package>
  95.                         <!-- Ensure plugin is spring powered -->
  96.                         <Spring-Context>*</Spring-Context>
  97.                     </instructions>
  98.                 </configuration>
  99.             </plugin>
  100.             <plugin>
  101.                 <groupId>com.atlassian.plugin</groupId>
  102.                 <artifactId>atlassian-spring-scanner-maven-plugin</artifactId>
  103.                 <version>${atlassian.spring.scanner.version}</version>
  104.                 <executions>
  105.                     <execution>
  106.                         <goals>
  107.                             <goal>atlassian-spring-scanner</goal>
  108.                         </goals>
  109.                         <phase>process-classes</phase>
  110.                     </execution>
  111.                 </executions>
  112.                 <configuration>
  113.                     <scannedDependencies>
  114.                         <dependency>
  115.                             <groupId>com.atlassian.plugin</groupId>
  116.                             <artifactId>atlassian-spring-scanner-external-jar</artifactId>
  117.                         </dependency>
  118.                     </scannedDependencies>
  119.                     <verbose>false</verbose>
  120.                 </configuration>
  121.             </plugin>
  122.         </plugins>
  123.     </build>
  124.     <properties>
  125.         <confluence.version>5.10.3</confluence.version>
  126.         <confluence.data.version>5.10.3</confluence.data.version>
  127.         <create-content.version>6.0.13</create-content.version>
  128.         <amps.version>6.2.11</amps.version>
  129.         <plugin.testrunner.version>1.2.3</plugin.testrunner.version>
  130.         <atlassian.spring.scanner.version>1.2.13</atlassian.spring.scanner.version>
  131.         <!-- This key is used to keep the consistency between the key in atlassian-plugin.xml and the key to generate bundle. -->
  132.         <atlassian.plugin.key>${project.groupId}.${project.artifactId}</atlassian.plugin.key>
  133.     </properties>
  134. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement