/activeobjects-refapp-spi/pom.xml

https://bitbucket.org/activeobjects/ao-plugin · XML · 97 lines · 92 code · 4 blank · 1 comment · 0 complexity · 97101be913acdc64f458a2f8fabfc7e9 MD5 · raw file

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