Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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>com.example.plugins</groupId>
- <artifactId>Plugin</artifactId>
- <version>1.0.2-SNAPSHOT</version>
- <organization>
- <name>Name</name>
- <url>URL</url>
- </organization>
- <name>EMEAPlugin</name>
- <description>Description</description>
- <packaging>atlassian-plugin</packaging>
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.10</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.atlassian.confluence</groupId>
- <artifactId>confluence</artifactId>
- <version>${confluence.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>com.atlassian.confluence.plugins</groupId>
- <artifactId>confluence-create-content-plugin</artifactId>
- <version>${create-content.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>javax.inject</groupId>
- <artifactId>javax.inject</artifactId>
- <version>1</version>
- <scope>provided</scope>
- </dependency>
- <!-- WIRED TEST RUNNER DEPENDENCIES -->
- <dependency>
- <groupId>com.atlassian.plugins</groupId>
- <artifactId>atlassian-plugins-osgi-testrunner</artifactId>
- <version>${plugin.testrunner.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>javax.ws.rs</groupId>
- <artifactId>jsr311-api</artifactId>
- <version>1.1.1</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>com.google.code.gson</groupId>
- <artifactId>gson</artifactId>
- <version>2.2.2-atlassian-1</version>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <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>
- <!-- process-classes seems to be skipped if you are using scala
- so perhaps use prepare-package -->
- <phase>process-classes</phase>
- </execution>
- </executions>
- <configuration>
- <!-- Enable this to get build-time logging of annotations atlassian-spring-scanner-maven-plugin has noticed -->
- <verbose>false</verbose>
- </configuration>
- </plugin>
- <plugin>
- <groupId>com.atlassian.maven.plugins</groupId>
- <artifactId>maven-confluence-plugin</artifactId>
- <version>${amps.version}</version>
- <extensions>true</extensions>
- <configuration>
- <productVersion>${confluence.version}</productVersion>
- <productDataVersion>${confluence.data.version}</productDataVersion>
- <enableQuickReload>true</enableQuickReload>
- <enableFastdev>false</enableFastdev>
- <!-- See here for an explanation of default instructions: -->
- <!-- https://developer.atlassian.com/docs/advanced-topics/configuration-of-instructions-in-atlassian-plugins -->
- <instructions>
- <Atlassian-Plugin-Key>${atlassian.plugin.key}</Atlassian-Plugin-Key>
- <!-- Add package to export here -->
- <Export-Package>com.bsquare.emea.plugins.api,</Export-Package>
- <!-- Add package import here -->
- <Import-Package>org.springframework.osgi.*;resolution:="optional", org.eclipse.gemini.blueprint.*;resolution:="optional", *</Import-Package>
- <!-- Ensure plugin is spring powered -->
- <Spring-Context>*</Spring-Context>
- </instructions>
- <skipManifestValidation>true</skipManifestValidation>
- </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>
- <configuration>
- <scannedDependencies>
- <dependency>
- <groupId>com.atlassian.plugin</groupId>
- <artifactId>atlassian-spring-scanner-external-jar</artifactId>
- </dependency>
- </scannedDependencies>
- <verbose>false</verbose>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <properties>
- <confluence.version>5.10.3</confluence.version>
- <confluence.data.version>5.10.3</confluence.data.version>
- <create-content.version>6.0.13</create-content.version>
- <amps.version>6.2.11</amps.version>
- <plugin.testrunner.version>1.2.3</plugin.testrunner.version>
- <atlassian.spring.scanner.version>1.2.13</atlassian.spring.scanner.version>
- <!-- This key is used to keep the consistency between the key in atlassian-plugin.xml and the key to generate bundle. -->
- <atlassian.plugin.key>${project.groupId}.${project.artifactId}</atlassian.plugin.key>
- </properties>
- </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement