/hazelcast-all/pom.xml

https://bitbucket.org/gabral6_gmailcom/hazelcast · XML · 204 lines · 178 code · 11 blank · 15 comment · 0 complexity · 8fdbff008f916e275578bb9cbb23eb12 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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  17. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  18. <modelVersion>4.0.0</modelVersion>
  19. <parent>
  20. <groupId>com.hazelcast</groupId>
  21. <artifactId>hazelcast-root</artifactId>
  22. <version>2.5.1-SNAPSHOT</version>
  23. <relativePath>../pom.xml</relativePath>
  24. </parent>
  25. <name>hazelcast-all</name>
  26. <artifactId>hazelcast-all</artifactId>
  27. <packaging>jar</packaging>
  28. <repositories>
  29. <repository>
  30. <id>jboss</id>
  31. <url>http://repository.jboss.org/maven2/</url>
  32. </repository>
  33. </repositories>
  34. <build>
  35. <plugins>
  36. <plugin>
  37. <groupId>org.apache.maven.plugins</groupId>
  38. <artifactId>maven-antrun-plugin</artifactId>
  39. <version>${maven.antrun.plugin.version}</version>
  40. <executions>
  41. <execution>
  42. <phase>package</phase>
  43. <configuration>
  44. <tasks>
  45. <property name="jar.name" value="hazelcast-all-${project.parent.version}.jar"/>
  46. <delete file="target/${jar.name}" failonerror="false"/>
  47. <jar jarfile="target/${jar.name}" manifest="src/main/resources/META-INF/MANIFEST.MF">
  48. <fileset dir="../hazelcast/target/classes/"/>
  49. <fileset dir="../hazelcast-client/target/classes/"/>
  50. <fileset dir="../hazelcast-hibernate/target/classes/"/>
  51. <fileset dir="../hazelcast-spring/target/classes/"/>
  52. <fileset dir="../hazelcast-cloud/target/classes/"/>
  53. <fileset dir="../hazelcast-wm/target/classes/"/>
  54. <manifest>
  55. <attribute name="Built-By" value="Hazelcast.com"/>
  56. <attribute name="Main-Class" value="com.hazelcast.examples.TestApp"/>
  57. </manifest>
  58. </jar>
  59. </tasks>
  60. </configuration>
  61. <goals>
  62. <goal>run</goal>
  63. </goals>
  64. </execution>
  65. </executions>
  66. </plugin>
  67. </plugins>
  68. </build>
  69. <profiles>
  70. <profile>
  71. <id>release</id>
  72. <build>
  73. <plugins>
  74. <plugin>
  75. <groupId>org.apache.maven.plugins</groupId>
  76. <artifactId>maven-source-plugin</artifactId>
  77. <version>${maven.source.plugin.version}</version>
  78. <executions>
  79. <execution>
  80. <id>attach-sources</id>
  81. <goals>
  82. <goal>jar</goal>
  83. </goals>
  84. </execution>
  85. </executions>
  86. </plugin>
  87. <plugin>
  88. <groupId>org.apache.maven.plugins</groupId>
  89. <artifactId>maven-antrun-plugin</artifactId>
  90. <version>${maven.antrun.plugin.version}</version>
  91. <executions>
  92. <execution>
  93. <id>all-javadoc</id>
  94. <phase>compile</phase>
  95. <goals>
  96. <goal>run</goal>
  97. </goals>
  98. <configuration>
  99. <tasks>
  100. <javadoc destdir="target/apidocs" author="true" version="true" use="true"
  101. windowtitle="Hazelcast API">
  102. <fileset dir="../hazelcast/src/main/java/" defaultexcludes="true">
  103. <include name="**/nio/DataSerializable*"/>
  104. <include name="**/core/**"/>
  105. <include name="**/monitor/**"/>
  106. <include name="**/merge/**"/>
  107. <include name="**/config/**"/>
  108. <include name="**/jmx/**"/>
  109. <include name="**/query/**"/>
  110. <include name="**/partition/**"/>
  111. <exclude name="**/*.html"/>
  112. </fileset>
  113. <fileset dir="../hazelcast-client/src/main/java/" defaultexcludes="true">
  114. <include name="**/HazelcastClient.java"/>
  115. <exclude name="**/*.html"/>
  116. </fileset>
  117. <fileset dir="../hazelcast-spring/src/main/java/" defaultexcludes="true">
  118. <include name="**/*.java"/>
  119. <exclude name="**/*.html"/>
  120. </fileset>
  121. <doctitle>
  122. <![CDATA[<h1>Hazelcast</h1>]]>
  123. </doctitle>
  124. <bottom>
  125. <![CDATA[<i>Copyright &#2.0; 2008-2011 Hazel Ltd. All Rights Reserved.</i>]]></bottom>
  126. <link href="http://download.oracle.com/javase/1.5.0/docs/api/"/>
  127. <link href="http://java.sun.com/products/servlet/2.3/javadoc/"/>
  128. </javadoc>
  129. <jar jarfile="target/hazelcast-all-${project.parent.version}-javadoc.jar">
  130. <fileset dir="target/apidocs"/>
  131. </jar>
  132. </tasks>
  133. </configuration>
  134. </execution>
  135. </executions>
  136. </plugin>
  137. <plugin>
  138. <groupId>org.apache.maven.plugins</groupId>
  139. <artifactId>maven-gpg-plugin</artifactId>
  140. <version>${maven.gpg.plugin.version}</version>
  141. <executions>
  142. <execution>
  143. <id>sign-artifacts</id>
  144. <phase>verify</phase>
  145. <goals>
  146. <goal>sign</goal>
  147. </goals>
  148. </execution>
  149. </executions>
  150. </plugin>
  151. </plugins>
  152. </build>
  153. </profile>
  154. </profiles>
  155. <dependencies>
  156. <dependency>
  157. <groupId>com.hazelcast</groupId>
  158. <artifactId>hazelcast</artifactId>
  159. <version>${project.parent.version}</version>
  160. <scope>provided</scope>
  161. </dependency>
  162. <dependency>
  163. <groupId>com.hazelcast</groupId>
  164. <artifactId>hazelcast-client</artifactId>
  165. <version>${project.parent.version}</version>
  166. <scope>provided</scope>
  167. </dependency>
  168. <dependency>
  169. <groupId>com.hazelcast</groupId>
  170. <artifactId>hazelcast-hibernate</artifactId>
  171. <version>${project.parent.version}</version>
  172. <scope>provided</scope>
  173. </dependency>
  174. <dependency>
  175. <groupId>com.hazelcast</groupId>
  176. <artifactId>hazelcast-spring</artifactId>
  177. <version>${project.parent.version}</version>
  178. <scope>provided</scope>
  179. </dependency>
  180. <dependency>
  181. <groupId>com.hazelcast</groupId>
  182. <artifactId>hazelcast-cloud</artifactId>
  183. <version>${project.parent.version}</version>
  184. <scope>provided</scope>
  185. </dependency>
  186. <dependency>
  187. <groupId>com.hazelcast</groupId>
  188. <artifactId>hazelcast-wm</artifactId>
  189. <version>${project.parent.version}</version>
  190. <scope>provided</scope>
  191. </dependency>
  192. </dependencies>
  193. </project>