pom.xml 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  1. <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">
  2. <modelVersion>4.0.0</modelVersion>
  3. <parent>
  4. <artifactId>parent</artifactId>
  5. <groupId>no.priv.bang.ukelonn</groupId>
  6. <version>1.0.0-SNAPSHOT</version>
  7. </parent>
  8. <artifactId>ukelonn.bundle</artifactId>
  9. <packaging>war</packaging>
  10. <name>Ukelonn webapp OSGi bundle</name>
  11. <dependencies>
  12. <dependency>
  13. <groupId>no.priv.bang.ukelonn</groupId>
  14. <artifactId>ukelonn.api</artifactId>
  15. <version>${project.version}</version>
  16. <scope>provided</scope>
  17. </dependency>
  18. <dependency>
  19. <groupId>no.priv.bang.ukelonn</groupId>
  20. <artifactId>ukelonn.api</artifactId>
  21. <version>${project.version}</version>
  22. <type>xml</type>
  23. <classifier>features</classifier>
  24. </dependency>
  25. <dependency>
  26. <groupId>no.priv.bang.ukelonn</groupId>
  27. <artifactId>ukelonn.bundle.db.liquibase</artifactId>
  28. <version>${project.version}</version>
  29. <scope>test</scope>
  30. </dependency>
  31. <dependency>
  32. <groupId>no.priv.bang.ukelonn</groupId>
  33. <artifactId>ukelonn.bundle.db.test</artifactId>
  34. <version>${project.version}</version>
  35. <scope>test</scope>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.osgi</groupId>
  39. <artifactId>org.osgi.core</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.osgi</groupId>
  43. <artifactId>org.osgi.service.log</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.osgi</groupId>
  47. <artifactId>org.osgi.service.jdbc</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>no.steria.osgi.jsr330activator</groupId>
  51. <artifactId>jsr330activator.implementation</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>javax.inject</groupId>
  55. <artifactId>javax.inject</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.hamcrest</groupId>
  59. <artifactId>hamcrest-library</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>junit</groupId>
  63. <artifactId>junit</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.mockito</groupId>
  67. <artifactId>mockito-core</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.ops4j.pax.web</groupId>
  71. <artifactId>pax-web-api</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>javax.servlet</groupId>
  75. <artifactId>javax.servlet-api</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.ops4j.pax.jdbc</groupId>
  79. <artifactId>pax-jdbc-derby</artifactId>
  80. <scope>test</scope>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.liquibase</groupId>
  84. <artifactId>liquibase-core</artifactId>
  85. <scope>test</scope>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.apache.derby</groupId>
  89. <artifactId>derby</artifactId>
  90. <scope>test</scope>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.apache.shiro</groupId>
  94. <artifactId>shiro-core</artifactId>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.apache.shiro</groupId>
  98. <artifactId>shiro-web</artifactId>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.slf4j</groupId>
  102. <artifactId>slf4j-simple</artifactId>
  103. <version>1.7.21</version>
  104. <scope>test</scope>
  105. </dependency>
  106. <dependency>
  107. <groupId>com.vaadin</groupId>
  108. <artifactId>vaadin-server</artifactId>
  109. </dependency>
  110. <dependency>
  111. <groupId>com.vaadin</groupId>
  112. <artifactId>vaadin-themes</artifactId>
  113. </dependency>
  114. <dependency>
  115. <groupId>com.vaadin</groupId>
  116. <artifactId>vaadin-client-compiled</artifactId>
  117. </dependency>
  118. <dependency>
  119. <groupId>com.vaadin.addon</groupId>
  120. <artifactId>vaadin-touchkit-agpl</artifactId>
  121. </dependency>
  122. </dependencies>
  123. <build>
  124. <testResources>
  125. <testResource>
  126. <directory>src/main/webapp/WEB-INF</directory>
  127. </testResource>
  128. </testResources>
  129. <plugins>
  130. <plugin>
  131. <groupId>org.apache.felix</groupId>
  132. <artifactId>maven-bundle-plugin</artifactId>
  133. <extensions>true</extensions>
  134. <configuration>
  135. <supportedProjectTypes>
  136. <supportedProjectType>jar</supportedProjectType>
  137. <supportedProjectType>bundle</supportedProjectType>
  138. <supportedProjectType>war</supportedProjectType>
  139. </supportedProjectTypes>
  140. <instructions>
  141. <_wab>src/main/webapp</_wab>
  142. <Bundle-SymbolicName>no.priv.bang.ukelonn</Bundle-SymbolicName>
  143. <Bundle-Activator>no.steria.osgi.jsr330activator.Jsr330Activator</Bundle-Activator>
  144. <Bundle-Version>${project.version}</Bundle-Version>
  145. <Import-Package>
  146. no.priv.bang.ukelonn,
  147. javax.el,
  148. javax.servlet.jsp;version="[2.2.0,3.0.0)",
  149. javax.servlet.jsp.jstl.core;version="1.2",
  150. javax.servlet.jsp.jstl.fmt;version="1.2",
  151. javax.servlet.jsp.jstl.tlv;version="1.2",
  152. javax.servlet;version="[2.6.0,4.0.0)",
  153. javax.servlet.http;version="[2.6.0,4.0.0)",
  154. com.vaadin.shared,
  155. org.apache.shiro.web.env,
  156. org.apache.shiro.web.servlet,
  157. com.vaadin.server,
  158. com.vaadin.addon.touchkit.server,
  159. com.vaadin.addon.touchkit.settings,
  160. com.vaadin.addon.touchkit.annotations,
  161. VAADIN.widgetsets.com.vaadin.addon.touchkit.gwt.TouchKitWidgetSet,
  162. VAADIN.widgetsets.com.vaadin.addon.touchkit.gwt.TouchKitWidgetSet.deferredjs.0A32B241463C3CF770B8CD52599C1C21,
  163. com.vaadin.addon.touchkit.extensions,
  164. com.vaadin.addon.touchkit.gwt,
  165. com.vaadin.addon.touchkit.gwt.client,
  166. com.vaadin.addon.touchkit.gwt.client.communication,
  167. com.vaadin.addon.touchkit.gwt.client.offlinemode,
  168. com.vaadin.addon.touchkit.gwt.client.theme,
  169. com.vaadin.addon.touchkit.gwt.client.theme.fonts,
  170. com.vaadin.addon.touchkit.gwt.client.theme.img,
  171. com.vaadin.addon.touchkit.gwt.client.ui,
  172. com.vaadin.addon.touchkit.gwt.client.vcom,
  173. com.vaadin.addon.touchkit.gwt.client.vcom.navigation,
  174. com.vaadin.addon.touchkit.gwt.client.vcom.popover,
  175. com.vaadin.addon.touchkit.service,
  176. com.vaadin.addon.touchkit.ui,
  177. assets,
  178. VAADIN.themes,
  179. VAADIN.widgetsets,
  180. *
  181. </Import-Package>
  182. <Export-Package>!*</Export-Package>
  183. <Embed-Dependency>jsr330activator.implementation;inline=true,javax.inject;inline=true,*;scope=runtime,type!=pom</Embed-Dependency>
  184. <Bundle-Classpath>WEB-INF/classes, WEB-INF/lib</Bundle-Classpath>
  185. <Web-ContextPath>ukelonn</Web-ContextPath>
  186. <_removeheaders>
  187. Include-Resource,
  188. Private-Package,
  189. Embed-Dependency,
  190. Embed-Transitive
  191. </_removeheaders>
  192. </instructions>
  193. </configuration>
  194. <executions>
  195. <execution>
  196. <id>bundle</id>
  197. <goals>
  198. <goal>bundle</goal>
  199. </goals>
  200. </execution>
  201. </executions>
  202. </plugin>
  203. <plugin>
  204. <groupId>org.apache.karaf.tooling</groupId>
  205. <artifactId>karaf-maven-plugin</artifactId>
  206. <configuration>
  207. <primaryFeatureName>ukelonn</primaryFeatureName>
  208. </configuration>
  209. </plugin>
  210. </plugins>
  211. </build>
  212. </project>