pom.xml 4.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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 2016-2020 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. <artifactId>ukelonn</artifactId>
  17. <groupId>no.priv.bang.ukelonn</groupId>
  18. <version>1.0.0-SNAPSHOT</version>
  19. </parent>
  20. <artifactId>karaf</artifactId>
  21. <packaging>pom</packaging>
  22. <name>Ukelonn webapp karaf feature repository</name>
  23. <dependencies>
  24. <dependency>
  25. <groupId>no.priv.bang.ukelonn</groupId>
  26. <artifactId>ukelonn.db.liquibase.test</artifactId>
  27. <version>${project.version}</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>no.priv.bang.ukelonn</groupId>
  31. <artifactId>ukelonn.db.liquibase.production</artifactId>
  32. <version>${project.version}</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>no.priv.bang.ukelonn</groupId>
  36. <artifactId>ukelonn.web.frontend</artifactId>
  37. <version>${project.version}</version>
  38. </dependency>
  39. </dependencies>
  40. <build>
  41. <plugins>
  42. <plugin>
  43. <artifactId>maven-resources-plugin</artifactId>
  44. <version>3.1.0</version>
  45. <executions>
  46. <execution>
  47. <id>filter-resources</id>
  48. <phase>validate</phase>
  49. <goals>
  50. <goal>resources</goal>
  51. </goals>
  52. <configuration>
  53. <resources>
  54. <resource>
  55. <directory>src/main/filtered-resources</directory>
  56. <filtering>true</filtering>
  57. </resource>
  58. </resources>
  59. </configuration>
  60. </execution>
  61. </executions>
  62. </plugin>
  63. <plugin>
  64. <groupId>org.codehaus.mojo</groupId>
  65. <artifactId>build-helper-maven-plugin</artifactId>
  66. <version>3.0.0</version>
  67. <inherited>false</inherited>
  68. <executions>
  69. <execution>
  70. <id>attach-karaf-feature</id>
  71. <phase>package</phase>
  72. <goals>
  73. <goal>attach-artifact</goal>
  74. </goals>
  75. <configuration>
  76. <artifacts>
  77. <artifact>
  78. <file>target/classes/feature.xml</file>
  79. <type>xml</type>
  80. <classifier>features</classifier>
  81. </artifact>
  82. </artifacts>
  83. </configuration>
  84. </execution>
  85. </executions>
  86. </plugin>
  87. </plugins>
  88. </build>
  89. </project>