pom.xml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <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/xsd/maven-4.0.0.xsd" xml:space="preserve">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>no.priv.bang.karaf</groupId>
  6. <artifactId>jersey-karaf-feature</artifactId>
  7. <version>1.9.10-SNAPSHOT</version>
  8. </parent>
  9. <artifactId>jersey-hk2</artifactId>
  10. <packaging>pom</packaging>
  11. <name>Jersey HK2 karaf feature</name>
  12. <description>An apache karaf feature repository containing a feature that loads the jersey/HK2 connection</description>
  13. <properties>
  14. </properties>
  15. <dependencies>
  16. <dependency>
  17. <groupId>no.priv.bang.karaf</groupId>
  18. <artifactId>hk2-karaf-feature</artifactId>
  19. <version>${project.version}</version>
  20. <type>xml</type>
  21. <classifier>features</classifier>
  22. </dependency>
  23. </dependencies>
  24. <build>
  25. <plugins>
  26. <plugin>
  27. <artifactId>maven-resources-plugin</artifactId>
  28. <version>3.1.0</version>
  29. <executions>
  30. <execution>
  31. <id>filter-resources</id>
  32. <phase>validate</phase>
  33. <goals>
  34. <goal>resources</goal>
  35. </goals>
  36. <configuration>
  37. <resources>
  38. <resource>
  39. <directory>src/main/filtered-resources</directory>
  40. <filtering>true</filtering>
  41. </resource>
  42. </resources>
  43. </configuration>
  44. </execution>
  45. </executions>
  46. </plugin>
  47. <plugin>
  48. <groupId>org.codehaus.mojo</groupId>
  49. <artifactId>build-helper-maven-plugin</artifactId>
  50. <version>3.0.0</version>
  51. <inherited>false</inherited>
  52. <executions>
  53. <execution>
  54. <id>attach-karaf-feature</id>
  55. <phase>package</phase>
  56. <goals>
  57. <goal>attach-artifact</goal>
  58. </goals>
  59. <configuration>
  60. <artifacts>
  61. <artifact>
  62. <file>target/classes/feature.xml</file>
  63. <type>xml</type>
  64. <classifier>features</classifier>
  65. </artifact>
  66. </artifacts>
  67. </configuration>
  68. </execution>
  69. </executions>
  70. </plugin>
  71. </plugins>
  72. </build>
  73. </project>