pom.xml 4.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Copyright 2016-2018 Steinar Bang -->
  3. <!-- -->
  4. <!-- Licensed under the Apache License, Version 2.0 (the "License"); -->
  5. <!-- you may not use this file except in compliance with the License. -->
  6. <!-- You may obtain a copy of the License at -->
  7. <!-- http://www.apache.org/licenses/LICENSE-2.0 -->
  8. <!-- Unless required by applicable law or agreed to in writing, -->
  9. <!-- software distributed under the License is distributed on an "AS IS" BASIS, -->
  10. <!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -->
  11. <!-- See the License for the specific language governing permissions and limitations -->
  12. <!-- under the License. -->
  13. <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">
  14. <modelVersion>4.0.0</modelVersion>
  15. <parent>
  16. <artifactId>parent</artifactId>
  17. <groupId>no.priv.bang.ukelonn</groupId>
  18. <version>1.0.0-SNAPSHOT</version>
  19. </parent>
  20. <artifactId>ukelonn.karaf</artifactId>
  21. <packaging>pom</packaging>
  22. <name>Ukelonn webapp karaf feature repository</name>
  23. <dependencies>
  24. <dependency>
  25. <groupId>no.priv.bang.karaf</groupId>
  26. <artifactId>liquibase-core-karaf</artifactId>
  27. <version>LATEST</version>
  28. <type>xml</type>
  29. <classifier>features</classifier>
  30. </dependency>
  31. <dependency>
  32. <groupId>no.priv.bang.ukelonn</groupId>
  33. <artifactId>ukelonn.api</artifactId>
  34. <version>${project.version}</version>
  35. <type>xml</type>
  36. <classifier>features</classifier>
  37. </dependency>
  38. <dependency>
  39. <groupId>no.priv.bang.ukelonn</groupId>
  40. <artifactId>ukelonn.bundle.db.liquibase</artifactId>
  41. <version>${project.version}</version>
  42. <type>xml</type>
  43. <classifier>features</classifier>
  44. </dependency>
  45. <dependency>
  46. <groupId>no.priv.bang.ukelonn</groupId>
  47. <artifactId>ukelonn.bundle.db.test</artifactId>
  48. <version>${project.version}</version>
  49. <type>xml</type>
  50. <classifier>features</classifier>
  51. </dependency>
  52. <dependency>
  53. <groupId>no.priv.bang.ukelonn</groupId>
  54. <artifactId>ukelonn.bundle.db.postgresql</artifactId>
  55. <version>${project.version}</version>
  56. <type>xml</type>
  57. <classifier>features</classifier>
  58. </dependency>
  59. <dependency>
  60. <groupId>no.priv.bang.ukelonn</groupId>
  61. <artifactId>ukelonn.bundle</artifactId>
  62. <version>${project.version}</version>
  63. <type>xml</type>
  64. <classifier>features</classifier>
  65. </dependency>
  66. </dependencies>
  67. <build>
  68. <plugins>
  69. <plugin>
  70. <groupId>org.apache.karaf.tooling</groupId>
  71. <artifactId>karaf-maven-plugin</artifactId>
  72. <configuration>
  73. <featuresToInstall>ukelonn-db-derby-test,ukelonn</featuresToInstall>
  74. </configuration>
  75. <executions>
  76. <execution>
  77. <id>generate-features-file</id>
  78. <phase>package</phase>
  79. <goals>
  80. <goal>features-generate-descriptor</goal>
  81. </goals>
  82. <configuration>
  83. <aggregateFeatures>true</aggregateFeatures>
  84. <includeProjectArtifact>false</includeProjectArtifact>
  85. </configuration>
  86. </execution>
  87. </executions>
  88. </plugin>
  89. </plugins>
  90. </build>
  91. </project>