pom.xml 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  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. <!-- Copyright 2021-2023 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.oldalbum</groupId>
  17. <artifactId>oldalbum</artifactId>
  18. <version>2.1.4-SNAPSHOT</version>
  19. </parent>
  20. <artifactId>karaf</artifactId>
  21. <packaging>pom</packaging>
  22. <name>Oldalbum aggregate karaf repository</name>
  23. <description>Aggregate all karaf repositories and add handwritten high level features</description>
  24. <dependencies>
  25. <dependency>
  26. <artifactId>oldalbum.services</artifactId>
  27. <groupId>no.priv.bang.oldalbum</groupId>
  28. <version>${project.version}</version>
  29. <type>xml</type>
  30. <classifier>features</classifier>
  31. </dependency>
  32. <dependency>
  33. <artifactId>oldalbum.roleadder.test</artifactId>
  34. <groupId>no.priv.bang.oldalbum</groupId>
  35. <version>${project.version}</version>
  36. <type>xml</type>
  37. <classifier>features</classifier>
  38. </dependency>
  39. <dependency>
  40. <artifactId>oldalbum.db.liquibase</artifactId>
  41. <groupId>no.priv.bang.oldalbum</groupId>
  42. <version>${project.version}</version>
  43. <type>xml</type>
  44. <classifier>features</classifier>
  45. </dependency>
  46. <dependency>
  47. <artifactId>oldalbum.db.liquibase.test</artifactId>
  48. <groupId>no.priv.bang.oldalbum</groupId>
  49. <version>${project.version}</version>
  50. <type>xml</type>
  51. <classifier>features</classifier>
  52. </dependency>
  53. <dependency>
  54. <artifactId>oldalbum.backend</artifactId>
  55. <groupId>no.priv.bang.oldalbum</groupId>
  56. <version>${project.version}</version>
  57. <type>xml</type>
  58. <classifier>features</classifier>
  59. </dependency>
  60. <dependency>
  61. <artifactId>oldalbum.backend.imageio</artifactId>
  62. <groupId>no.priv.bang.oldalbum</groupId>
  63. <version>${project.version}</version>
  64. <type>xml</type>
  65. <classifier>features</classifier>
  66. </dependency>
  67. <dependency>
  68. <artifactId>oldalbum.web.security</artifactId>
  69. <groupId>no.priv.bang.oldalbum</groupId>
  70. <version>${project.version}</version>
  71. <type>xml</type>
  72. <classifier>features</classifier>
  73. </dependency>
  74. <dependency>
  75. <artifactId>oldalbum.web.api</artifactId>
  76. <groupId>no.priv.bang.oldalbum</groupId>
  77. <version>${project.version}</version>
  78. <type>xml</type>
  79. <classifier>features</classifier>
  80. </dependency>
  81. <dependency>
  82. <artifactId>oldalbum.web.frontend</artifactId>
  83. <groupId>no.priv.bang.oldalbum</groupId>
  84. <version>${project.version}</version>
  85. <type>xml</type>
  86. <classifier>features</classifier>
  87. </dependency>
  88. <dependency>
  89. <artifactId>oldalbum.db.liquibase.urlinit</artifactId>
  90. <groupId>no.priv.bang.oldalbum</groupId>
  91. <version>${project.version}</version>
  92. <type>xml</type>
  93. <classifier>features</classifier>
  94. </dependency>
  95. <dependency>
  96. <artifactId>oldalbum.db.liquibase.production</artifactId>
  97. <groupId>no.priv.bang.oldalbum</groupId>
  98. <version>${project.version}</version>
  99. <type>xml</type>
  100. <classifier>features</classifier>
  101. </dependency>
  102. </dependencies>
  103. <build>
  104. <plugins>
  105. <plugin>
  106. <artifactId>maven-resources-plugin</artifactId>
  107. <version>3.1.0</version>
  108. <executions>
  109. <execution>
  110. <id>filter-resources</id>
  111. <phase>validate</phase>
  112. <goals>
  113. <goal>resources</goal>
  114. </goals>
  115. <configuration>
  116. <resources>
  117. <resource>
  118. <directory>src/main/filtered-resources</directory>
  119. <filtering>true</filtering>
  120. </resource>
  121. </resources>
  122. </configuration>
  123. </execution>
  124. </executions>
  125. </plugin>
  126. <plugin>
  127. <groupId>org.codehaus.mojo</groupId>
  128. <artifactId>build-helper-maven-plugin</artifactId>
  129. <version>3.0.0</version>
  130. <inherited>false</inherited>
  131. <executions>
  132. <execution>
  133. <id>attach-karaf-feature</id>
  134. <phase>package</phase>
  135. <goals>
  136. <goal>attach-artifact</goal>
  137. </goals>
  138. <configuration>
  139. <artifacts>
  140. <artifact>
  141. <file>target/classes/feature.xml</file>
  142. <type>xml</type>
  143. <classifier>features</classifier>
  144. </artifact>
  145. </artifacts>
  146. </configuration>
  147. </execution>
  148. </executions>
  149. </plugin>
  150. </plugins>
  151. </build>
  152. </project>