PageRenderTime 27ms CodeModel.GetById 16ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

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