/activeobjects-refapp-spi/pom.xml
XML | 97 lines | 92 code | 4 blank | 1 comment | 0 complexity | 97101be913acdc64f458a2f8fabfc7e9 MD5 | raw file
Possible License(s): Apache-2.0
1<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">
2 <modelVersion>4.0.0</modelVersion>
3 <parent>
4 <groupId>com.atlassian.activeobjects</groupId>
5 <artifactId>activeobjects-plugin-parent-pom</artifactId>
6 <version>0.22-SNAPSHOT</version>
7 </parent>
8
9 <artifactId>activeobjects-refapp-spi</artifactId>
10 <packaging>bundle</packaging>
11
12 <name>ActiveObjects Plugin - Refapp SPI implementation</name>
13 <description>This is the Refapp implementation of the SPI.</description>
14
15 <build>
16 <resources>
17 <resource>
18 <directory>src/main/resources</directory>
19 <filtering>true</filtering>
20 <includes>
21 <include>atlassian-plugin.xml</include>
22 </includes>
23 </resource>
24 <resource>
25 <directory>src/main/resources</directory>
26 <filtering>false</filtering>
27 <excludes>
28 <exclude>atlassian-plugin.xml</exclude>
29 </excludes>
30 </resource>
31 </resources>
32 <plugins>
33 <!-- not using the standard way of bundling deps because of the hsqlServlet class breaking everything -->
34 <plugin>
35 <groupId>org.apache.maven.plugins</groupId>
36 <artifactId>maven-dependency-plugin</artifactId>
37 <version>2.1</version>
38 <executions>
39 <execution>
40 <id>unpack-hsqldb</id>
41 <phase>prepare-package</phase>
42 <goals>
43 <goal>unpack-dependencies</goal>
44 </goals>
45 <configuration>
46 <includeArtifactIds>activeobjects-spi,hsqldb</includeArtifactIds>
47 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
48 <excludes>hsqlServlet.class,META-INF/*</excludes>
49 </configuration>
50 </execution>
51 </executions>
52 </plugin>
53 <plugin>
54 <groupId>org.apache.felix</groupId>
55 <artifactId>maven-bundle-plugin</artifactId>
56 <configuration>
57 <instructions>
58 <Bundle-SymbolicName>com.atlassian.activeobjects.refapp.spi</Bundle-SymbolicName>
59 <Export-Package>
60 com.atlassian.activeobjects.spi*;version="${project.version}",
61 org.hsqldb*;version="${hsqldb.version}",
62 </Export-Package>
63 <Import-Package>
64 com.atlassian.sal.api*;version="${sal.version}",
65 com.google.common*;version="1.0",
66 javax*;version="0.0.0",
67 javax.naming;version="0.0.0",
68 org.slf4j*,
69 *;resolution:=optional,
70 </Import-Package>
71 <Private-Package>
72 com.atlassian.activeobjects.refapp*,
73 </Private-Package>
74 <Spring-Context>*;timeout:=60</Spring-Context>
75 </instructions>
76 </configuration>
77 </plugin>
78 </plugins>
79 </build>
80
81 <dependencies>
82 <dependency>
83 <groupId>com.atlassian.activeobjects</groupId>
84 <artifactId>activeobjects-spi</artifactId>
85 </dependency>
86 <dependency>
87 <groupId>com.atlassian.sal</groupId>
88 <artifactId>sal-api</artifactId>
89 <version>${sal.version}</version>
90 <scope>provided</scope>
91 </dependency>
92 <dependency>
93 <groupId>hsqldb</groupId>
94 <artifactId>hsqldb</artifactId>
95 </dependency>
96 </dependencies>
97</project>