/hazelcast-wm/pom.xml

https://bitbucket.org/gabral6_gmailcom/hazelcast · XML · 194 lines · 169 code · 10 blank · 15 comment · 0 complexity · a89a4017c700b7a4244ae307a19bd36c MD5 · raw file

  1. <!--
  2. ~ Copyright (c) 2008-2013, Hazelcast, Inc. All Rights Reserved.
  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. ~
  8. ~ http://www.apache.org/licenses/LICENSE-2.0
  9. ~
  10. ~ Unless required by applicable law or agreed to in writing, software
  11. ~ distributed under the License is distributed on an "AS IS" BASIS,
  12. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. ~ See the License for the specific language governing permissions and
  14. ~ limitations under the License.
  15. -->
  16. <project xmlns="http://maven.apache.org/POM/4.0.0"
  17. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  18. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
  19. http://maven.apache.org/maven-v4_0_0.xsd">
  20. <modelVersion>4.0.0</modelVersion>
  21. <parent>
  22. <groupId>com.hazelcast</groupId>
  23. <artifactId>hazelcast-root</artifactId>
  24. <version>2.5.1-SNAPSHOT</version>
  25. <relativePath>../pom.xml</relativePath>
  26. </parent>
  27. <name>hazelcast-wm</name>
  28. <artifactId>hazelcast-wm</artifactId>
  29. <packaging>jar</packaging>
  30. <properties>
  31. <jsp.api.version>2.2.1</jsp.api.version>
  32. <servlet.api.version>3.0.1</servlet.api.version>
  33. <jetty.maven.plugin.version>8.1.2.v20120308</jetty.maven.plugin.version>
  34. </properties>
  35. <build>
  36. <plugins>
  37. <plugin>
  38. <groupId>org.apache.maven.plugins</groupId>
  39. <artifactId>maven-compiler-plugin</artifactId>
  40. <version>${maven.compiler.plugin.version}</version>
  41. <configuration>
  42. <source>${jdk.version}</source>
  43. <target>${jdk.version}</target>
  44. <encoding>${project.build.sourceEncoding}</encoding>
  45. </configuration>
  46. </plugin>
  47. <plugin>
  48. <groupId>org.codehaus.mojo</groupId>
  49. <artifactId>animal-sniffer-maven-plugin</artifactId>
  50. <version>1.7</version>
  51. <configuration>
  52. <signature>
  53. <groupId>org.codehaus.mojo.signature</groupId>
  54. <artifactId>java15</artifactId>
  55. <version>1.0</version>
  56. </signature>
  57. </configuration>
  58. <executions>
  59. <execution>
  60. <id>source-java5-check</id>
  61. <phase>compile</phase>
  62. <goals>
  63. <goal>check</goal>
  64. </goals>
  65. </execution>
  66. </executions>
  67. </plugin>
  68. <plugin>
  69. <groupId>org.apache.maven.plugins</groupId>
  70. <artifactId>maven-source-plugin</artifactId>
  71. <version>${maven.source.plugin.version}</version>
  72. <executions>
  73. <execution>
  74. <id>attach-sources</id>
  75. <goals>
  76. <goal>jar</goal>
  77. </goals>
  78. </execution>
  79. </executions>
  80. </plugin>
  81. <plugin>
  82. <groupId>org.apache.felix</groupId>
  83. <artifactId>maven-bundle-plugin</artifactId>
  84. <version>${maven.bundle.plugin.version}</version>
  85. <executions>
  86. <execution>
  87. <id>bundle-manifest</id>
  88. <phase>process-classes</phase>
  89. <goals>
  90. <goal>manifest</goal>
  91. </goals>
  92. <configuration>
  93. <instructions>
  94. <Import-Package>
  95. !junit.framework,
  96. !org.junit,
  97. !org.mockito,
  98. !org.apache.tomcat.*,
  99. !org.apache.catalina.*,
  100. !org.apache.juli.*,
  101. org.apache.log4j;resolution:=optional,
  102. org.apache.log4j.*;resolution:=optional,
  103. org.slf4j;resolution:=optional,
  104. *
  105. </Import-Package>
  106. <Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
  107. </instructions>
  108. </configuration>
  109. </execution>
  110. </executions>
  111. </plugin>
  112. <plugin>
  113. <groupId>org.apache.maven.plugins</groupId>
  114. <artifactId>maven-jar-plugin</artifactId>
  115. <version>${maven.jar.plugin.version}</version>
  116. <configuration>
  117. <archive>
  118. <index>true</index>
  119. <compress>true</compress>
  120. <manifest>
  121. <addClasspath>true</addClasspath>
  122. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  123. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  124. </manifest>
  125. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  126. </archive>
  127. </configuration>
  128. </plugin>
  129. <plugin>
  130. <groupId>org.mortbay.jetty</groupId>
  131. <artifactId>jetty-maven-plugin</artifactId>
  132. <version>${jetty.maven.plugin.version}</version>
  133. <configuration>
  134. <webAppSourceDirectory>${basedir}/src/test/webapp</webAppSourceDirectory>
  135. <useTestScope>true</useTestScope>
  136. <webAppConfig>
  137. <contextPath>/</contextPath>
  138. <descriptor>${basedir}/src/test/webapp/WEB-INF/web.xml</descriptor>
  139. </webAppConfig>
  140. <stopPort>9966</stopPort>
  141. <stopKey>stop</stopKey>
  142. </configuration>
  143. </plugin>
  144. </plugins>
  145. </build>
  146. <dependencies>
  147. <dependency>
  148. <groupId>javax.servlet.jsp</groupId>
  149. <artifactId>javax.servlet.jsp-api</artifactId>
  150. <version>${jsp.api.version}</version>
  151. <scope>provided</scope>
  152. </dependency>
  153. <dependency>
  154. <groupId>javax.servlet</groupId>
  155. <artifactId>javax.servlet-api</artifactId>
  156. <version>${servlet.api.version}</version>
  157. <scope>provided</scope>
  158. </dependency>
  159. <dependency>
  160. <groupId>com.hazelcast</groupId>
  161. <artifactId>hazelcast</artifactId>
  162. <version>${project.parent.version}</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>com.hazelcast</groupId>
  166. <artifactId>hazelcast-client</artifactId>
  167. <version>${project.parent.version}</version>
  168. <scope>provided</scope>
  169. <optional>true</optional>
  170. </dependency>
  171. <dependency>
  172. <groupId>org.eclipse.jetty</groupId>
  173. <artifactId>jetty-webapp</artifactId>
  174. <version>${jetty.maven.plugin.version}</version>
  175. <scope>test</scope>
  176. </dependency>
  177. <dependency>
  178. <groupId>org.eclipse.jetty</groupId>
  179. <artifactId>jetty-jsp</artifactId>
  180. <version>${jetty.maven.plugin.version}</version>
  181. <scope>test</scope>
  182. </dependency>
  183. </dependencies>
  184. </project>