pom.xml 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xml:space="preserve">
  3. <!-- Copyright 2021 Steinar Bang -->
  4. <!-- -->
  5. <!-- Licensed under the Apache License, Version 2.0 (the "License"); -->
  6. <!-- you may not use this file except in compliance with the License. -->
  7. <!-- You may obtain a copy of the License at -->
  8. <!-- http://www.apache.org/licenses/LICENSE-2.0 -->
  9. <!-- Unless required by applicable law or agreed to in writing, -->
  10. <!-- software distributed under the License is distributed on an "AS IS" BASIS, -->
  11. <!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -->
  12. <!-- See the License for the specific language governing permissions and limitations -->
  13. <!-- under the License. -->
  14. <modelVersion>4.0.0</modelVersion>
  15. <parent>
  16. <groupId>no.priv.bang.handlereg</groupId>
  17. <artifactId>handlereg</artifactId>
  18. <version>1.0.0-SNAPSHOT</version>
  19. </parent>
  20. <artifactId>karaf</artifactId>
  21. <packaging>pom</packaging>
  22. <name>Handleregistrering aggregate feature repository</name>
  23. <dependencies>
  24. <dependency>
  25. <groupId>no.priv.bang.handlereg</groupId>
  26. <artifactId>handlereg.db.liquibase</artifactId>
  27. <version>${project.version}</version>
  28. <type>xml</type>
  29. <classifier>features</classifier>
  30. </dependency>
  31. <dependency>
  32. <groupId>no.priv.bang.handlereg</groupId>
  33. <artifactId>handlereg.db.liquibase.test</artifactId>
  34. <version>${project.version}</version>
  35. <type>xml</type>
  36. <classifier>features</classifier>
  37. </dependency>
  38. <dependency>
  39. <groupId>no.priv.bang.handlereg</groupId>
  40. <artifactId>handlereg.db.liquibase.production</artifactId>
  41. <version>${project.version}</version>
  42. <type>xml</type>
  43. <classifier>features</classifier>
  44. </dependency>
  45. <dependency>
  46. <groupId>no.priv.bang.handlereg</groupId>
  47. <artifactId>handlereg.services</artifactId>
  48. <version>${project.version}</version>
  49. <type>xml</type>
  50. <classifier>features</classifier>
  51. </dependency>
  52. <dependency>
  53. <groupId>no.priv.bang.handlereg</groupId>
  54. <artifactId>handlereg.backend</artifactId>
  55. <version>${project.version}</version>
  56. <type>xml</type>
  57. <classifier>features</classifier>
  58. </dependency>
  59. <dependency>
  60. <groupId>no.priv.bang.handlereg</groupId>
  61. <artifactId>handlereg.backend.testdata</artifactId>
  62. <version>${project.version}</version>
  63. <type>xml</type>
  64. <classifier>features</classifier>
  65. </dependency>
  66. <dependency>
  67. <groupId>no.priv.bang.handlereg</groupId>
  68. <artifactId>handlereg.web.security</artifactId>
  69. <version>${project.version}</version>
  70. <type>xml</type>
  71. <classifier>features</classifier>
  72. </dependency>
  73. <dependency>
  74. <groupId>no.priv.bang.handlereg</groupId>
  75. <artifactId>handlereg.web.api</artifactId>
  76. <version>${project.version}</version>
  77. <type>xml</type>
  78. <classifier>features</classifier>
  79. </dependency>
  80. <dependency>
  81. <groupId>no.priv.bang.handlereg</groupId>
  82. <artifactId>handlereg.web.frontend</artifactId>
  83. <version>${project.version}</version>
  84. <type>xml</type>
  85. <classifier>features</classifier>
  86. </dependency>
  87. </dependencies>
  88. <build>
  89. <plugins>
  90. <plugin>
  91. <artifactId>maven-resources-plugin</artifactId>
  92. <version>3.1.0</version>
  93. <executions>
  94. <execution>
  95. <id>filter-resources</id>
  96. <phase>validate</phase>
  97. <goals>
  98. <goal>resources</goal>
  99. </goals>
  100. <configuration>
  101. <resources>
  102. <resource>
  103. <directory>src/main/filtered-resources</directory>
  104. <filtering>true</filtering>
  105. </resource>
  106. </resources>
  107. </configuration>
  108. </execution>
  109. </executions>
  110. </plugin>
  111. <plugin>
  112. <groupId>org.codehaus.mojo</groupId>
  113. <artifactId>build-helper-maven-plugin</artifactId>
  114. <version>3.0.0</version>
  115. <inherited>false</inherited>
  116. <executions>
  117. <execution>
  118. <id>attach-karaf-feature</id>
  119. <phase>package</phase>
  120. <goals>
  121. <goal>attach-artifact</goal>
  122. </goals>
  123. <configuration>
  124. <artifacts>
  125. <artifact>
  126. <file>target/classes/feature.xml</file>
  127. <type>xml</type>
  128. <classifier>features</classifier>
  129. </artifact>
  130. </artifacts>
  131. </configuration>
  132. </execution>
  133. </executions>
  134. </plugin>
  135. </plugins>
  136. </build>
  137. </project>