PageRenderTime 11ms CodeModel.GetById 2ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

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