pom.xml 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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>hk2-karaf-feature</artifactId>
  10. <packaging>pom</packaging>
  11. <name>HK2 karaf feature</name>
  12. <description>An apache karaf feature repository containing a feature that loads the HK2 dependency injection system</description>
  13. <properties>
  14. </properties>
  15. <build>
  16. <plugins>
  17. <plugin>
  18. <artifactId>maven-resources-plugin</artifactId>
  19. <version>3.1.0</version>
  20. <executions>
  21. <execution>
  22. <id>filter-resources</id>
  23. <phase>validate</phase>
  24. <goals>
  25. <goal>resources</goal>
  26. </goals>
  27. <configuration>
  28. <resources>
  29. <resource>
  30. <directory>src/main/filtered-resources</directory>
  31. <filtering>true</filtering>
  32. </resource>
  33. </resources>
  34. </configuration>
  35. </execution>
  36. </executions>
  37. </plugin>
  38. <plugin>
  39. <groupId>org.codehaus.mojo</groupId>
  40. <artifactId>build-helper-maven-plugin</artifactId>
  41. <version>3.0.0</version>
  42. <inherited>false</inherited>
  43. <executions>
  44. <execution>
  45. <id>attach-karaf-feature</id>
  46. <phase>package</phase>
  47. <goals>
  48. <goal>attach-artifact</goal>
  49. </goals>
  50. <configuration>
  51. <artifacts>
  52. <artifact>
  53. <file>target/classes/feature.xml</file>
  54. <type>xml</type>
  55. <classifier>features</classifier>
  56. </artifact>
  57. </artifacts>
  58. </configuration>
  59. </execution>
  60. </executions>
  61. </plugin>
  62. </plugins>
  63. </build>
  64. </project>