pom.xml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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 2019-2024 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.osgiservice</groupId>
  17. <artifactId>osgiservice</artifactId>
  18. <version>2.0.1-SNAPSHOT</version>
  19. </parent>
  20. <artifactId>osgiservice.users</artifactId>
  21. <name>User management OSGi service</name>
  22. <description>Components implementing this service encapsulates user and role management</description>
  23. <properties>
  24. <karaf-feature-name>user-management-osgi-service</karaf-feature-name>
  25. </properties>
  26. <dependencies>
  27. <dependency>
  28. <groupId>org.junit.jupiter</groupId>
  29. <artifactId>junit-jupiter-api</artifactId>
  30. <scope>test</scope>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.junit.jupiter</groupId>
  34. <artifactId>junit-jupiter-engine</artifactId>
  35. <scope>test</scope>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.junit.vintage</groupId>
  39. <artifactId>junit-vintage-engine</artifactId>
  40. <scope>test</scope>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.assertj</groupId>
  44. <artifactId>assertj-core</artifactId>
  45. <scope>test</scope>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.mockito</groupId>
  49. <artifactId>mockito-core</artifactId>
  50. <scope>test</scope>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.apache.commons</groupId>
  54. <artifactId>commons-lang3</artifactId>
  55. <scope>test</scope>
  56. </dependency>
  57. </dependencies>
  58. <build>
  59. <plugins>
  60. <plugin>
  61. <groupId>org.apache.felix</groupId>
  62. <artifactId>maven-bundle-plugin</artifactId>
  63. </plugin>
  64. <plugin>
  65. <groupId>org.apache.karaf.tooling</groupId>
  66. <artifactId>karaf-maven-plugin</artifactId>
  67. </plugin>
  68. </plugins>
  69. <pluginManagement>
  70. <plugins>
  71. <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
  72. <plugin>
  73. <groupId>org.eclipse.m2e</groupId>
  74. <artifactId>lifecycle-mapping</artifactId>
  75. <version>1.0.0</version>
  76. <configuration>
  77. <lifecycleMappingMetadata>
  78. <pluginExecutions>
  79. <pluginExecution>
  80. <pluginExecutionFilter>
  81. <groupId>org.apache.karaf.tooling</groupId>
  82. <artifactId>karaf-maven-plugin</artifactId>
  83. <versionRange>[4.4.3,)</versionRange>
  84. <goals>
  85. <goal>features-generate-descriptor</goal>
  86. </goals>
  87. </pluginExecutionFilter>
  88. <action>
  89. <ignore />
  90. </action>
  91. </pluginExecution>
  92. </pluginExecutions>
  93. </lifecycleMappingMetadata>
  94. </configuration>
  95. </plugin>
  96. </plugins>
  97. </pluginManagement>
  98. </build>
  99. </project>