hazelcast-wm
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.hazelcast</groupId> <artifactId>hazelcast-wm</artifactId> <version>5.0</version> </dependency>
<!-- ~ Copyright 2024 Hazelcast Inc. ~ ~ Licensed under the Hazelcast Community License (the "License"); you may not use ~ this file except in compliance with the License. You may obtain a copy of the ~ License at ~ ~ http://hazelcast.com/hazelcast-community-license ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT ~ WARRANTIES OF ANY KIND, either express or implied. See the License for the ~ specific language governing permissions and limitations under the License. --><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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <name>hazelcast-wm</name> <groupId>com.hazelcast</groupId> <artifactId>hazelcast-wm</artifactId> <version>5.0</version> <packaging>jar</packaging> <description>Hazelcast In-Memory DataGrid Web Module Plugin</description> <url>http://www.hazelcast.com/</url> <properties> <!-- needed for checkstyle/findbugs --> <main.basedir>${project.basedir}</main.basedir> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <jdk.version>1.8</jdk.version> <target.dir>target</target.dir> <maven.build.timestamp.format>yyyyMMdd</maven.build.timestamp.format> <timestamp>${maven.build.timestamp}</timestamp> <hazelcast.version>5.4.0</hazelcast.version> <log4j.version>2.23.1</log4j.version> <junit.version>4.13.1</junit.version> <assertj.version>3.24.2</assertj.version> <jsp.api.version>2.3.6</jsp.api.version> <servlet.api.version>4.0.4</servlet.api.version> <org.springframework.version>5.3.36</org.springframework.version> <spring-security.version>5.8.12</spring-security.version> <jetty.maven.plugin.version>10.0.21</jetty.maven.plugin.version> <tomcat.version>9.0.89</tomcat.version> <httpclient.version>4.5.13</httpclient.version> <maven.compiler.plugin.version>3.5.1</maven.compiler.plugin.version> <maven.jar.plugin.version>2.4</maven.jar.plugin.version> <maven.source.plugin.version>3.3.1</maven.source.plugin.version> <maven.bundle.plugin.version>2.3.7</maven.bundle.plugin.version> <maven.animal.sniffer.plugin.version>1.14</maven.animal.sniffer.plugin.version> <maven.gpg.plugin.version>3.2.4</maven.gpg.plugin.version> <maven.javadoc.plugin.version>2.9</maven.javadoc.plugin.version> <bytebuddy.version>1.6.12</bytebuddy.version> <maven.surefire.plugin.version>2.18.1</maven.surefire.plugin.version> <maven.checkstyle.plugin.version>2.15</maven.checkstyle.plugin.version> <maven.spotbugs.plugin.version>4.8.5.0</maven.spotbugs.plugin.version> <maven.sonar.plugin.version>3.3.0.603</maven.sonar.plugin.version> <maven.jacoco.plugin.version>0.7.9</maven.jacoco.plugin.version> <maven-release-plugin-version>3.0.1</maven-release-plugin-version> </properties> <licenses> <license> <name>The Hazelcast Community License</name> <url>http://hazelcast.com/hazelcast-community-license</url> <distribution>repo</distribution> </license> </licenses> <scm> <connection>scm:git:git://github.com/hazelcast/hazelcast-wm.git</connection> <developerConnection>scm:git:git@github.com:hazelcast/hazelcast-wm.git</developerConnection> <url>https://github.com/hazelcast/hazelcast/</url> <tag>v5.0</tag> </scm> <developers> <developer> <id>oztalip</id> <name>talip ozturk</name> <email>talip@hazelcast.com</email> </developer> <developer> <id>fuad</id> <name>fuad malikov</name> <email>fuad@hazelcast.com</email> </developer> </developers> <distributionManagement> <repository> <id>release-repository</id> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> </repository> <snapshotRepository> <id>snapshot-repository</id> <name>Maven2 Snapshot Repository</name> <url>https://oss.sonatype.org/content/repositories/snapshots</url> <uniqueVersion>false</uniqueVersion> </snapshotRepository> </distributionManagement> <repositories> <repository> <id>snapshot-repository</id> <name>Maven2 Snapshot Repository</name> <url>https://oss.sonatype.org/content/repositories/snapshots</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> </repositories> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>${maven.compiler.plugin.version}</version> <configuration> <source>${jdk.version}</source> <target>${jdk.version}</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>${maven.surefire.plugin.version}</version> <configuration combine.self="override"> <redirectTestOutputToFile>true</redirectTestOutputToFile> <runOrder>failedfirst</runOrder> <!-- 1C means 1 process per cpu core --> <!-- forkCount>1C</forkCount> <reuseForks>true</reuseForks> <threadCount>1</threadCount> <perCoreThreadCount>true</perCoreThreadCount> <parallel>methods</parallel --> <!-- the argLine variable is needed for JaCoco --> <argLine> -Xms128m -Xmx2G -Dhazelcast.phone.home.enabled=false -Dhazelcast.mancenter.enabled=false -Dhazelcast.test.use.network=false </argLine> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>${maven.checkstyle.plugin.version}</version> <executions> <execution> <phase>validate</phase> <goals> <goal>checkstyle</goal> </goals> </execution> </executions> <configuration> <configLocation>${main.basedir}/checkstyle/checkstyle.xml</configLocation> <suppressionsLocation>${main.basedir}/checkstyle/suppressions.xml</suppressionsLocation> <headerLocation>${main.basedir}/checkstyle/ClassHeader.txt</headerLocation> <enableRSS>false</enableRSS> <linkXRef>true</linkXRef> <consoleOutput>true</consoleOutput> <failsOnError>true</failsOnError> <failOnViolation>true</failOnViolation> <includeTestSourceDirectory>false</includeTestSourceDirectory> <enableRulesSummary>true</enableRulesSummary> <propertyExpansion>main.basedir=${main.basedir}</propertyExpansion> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>${maven.source.plugin.version}</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>${maven.bundle.plugin.version}</version> <executions> <execution> <id>bundle-manifest</id> <phase>process-classes</phase> <goals> <goal>manifest</goal> </goals> <configuration> <instructions> <Import-Package> !org.junit, !org.apache.tomcat.*, !org.apache.catalina.*, !org.apache.juli.*, !com.hazelcast.*, org.apache.log4j;resolution:=optional, org.apache.log4j.*;resolution:=optional, org.apache.logging.log4j;resolution:=optional, org.apache.logging.log4j.*;resolution:=optional, org.slf4j;resolution:=optional, org.springframework.context;resolution:=optional, org.springframework.security.core.session;version="[3.2,4)";resolution:=optional, org.springframework.security.web.session;version="[3.2,4)";resolution:=optional, org.springframework.web.context;resolution:=optional, org.springframework.web.context.support;resolution:=optional, * </Import-Package> <Fragment-Host>com.hazelcast</Fragment-Host> <!--<Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>--> </instructions> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>${maven.jar.plugin.version}</version> <configuration> <archive> <index>true</index> <compress>true</compress> <manifest> <addClasspath>false</addClasspath> <addDefaultImplementationEntries>true</addDefaultImplementationEntries> <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> </manifest> <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> </archive> </configuration> </plugin> <plugin> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-maven-plugin</artifactId> <version>${jetty.maven.plugin.version}</version> <configuration> <webAppSourceDirectory>${basedir}/src/test/webapp</webAppSourceDirectory> <useTestScope>true</useTestScope> <webAppConfig> <contextPath>/</contextPath> <descriptor>${basedir}/src/test/webapp/WEB-INF/web.xml</descriptor> </webAppConfig> <stopPort>9966</stopPort> <stopKey>stop</stopKey> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>${maven-release-plugin-version}</version> <configuration> <autoVersionSubmodules>true</autoVersionSubmodules> <tagNameFormat>v@{project.version}</tagNameFormat> <releaseProfiles>release</releaseProfiles> <scmCommentPrefix>Release - </scmCommentPrefix> <goals>deploy</goals> <pushChanges>false</pushChanges> </configuration> </plugin> </plugins> </build> <dependencies> <!-- Note that we are using 2.3.z version under jakarta groupId, which still uses the javax. package name in code.--> <dependency> <groupId>jakarta.servlet.jsp</groupId> <artifactId>jakarta.servlet.jsp-api</artifactId> <version>${jsp.api.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>jakarta.servlet</groupId> <artifactId>jakarta.servlet-api</artifactId> <version>${servlet.api.version}</version> <scope>provided</scope> </dependency> <!-- Needed to make Tomcat log in tests--> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-slf4j2-impl</artifactId> <version>${log4j.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.hazelcast</groupId> <artifactId>hazelcast</artifactId> <version>${hazelcast.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> <version>${org.springframework.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>${org.springframework.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.springframework.security</groupId> <artifactId>spring-security-web</artifactId> <version>${spring-security.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-web</artifactId> <version>${org.springframework.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> <version>${org.springframework.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.springframework.security</groupId> <artifactId>spring-security-config</artifactId> <version>${spring-security.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-webapp</artifactId> <version>${jetty.maven.plugin.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>apache-jsp</artifactId> <version>${jetty.maven.plugin.version}</version> <exclusions> <exclusion> <groupId> org.mortbay.jasper</groupId> <artifactId>apache-jsp</artifactId> </exclusion> </exclusions> <scope>test</scope> </dependency> <dependency> <groupId>com.hazelcast</groupId> <artifactId>hazelcast</artifactId> <scope>test</scope> <version>${hazelcast.version}</version> <classifier>tests</classifier> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>${httpclient.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.tomcat</groupId> <artifactId>tomcat-catalina</artifactId> <version>${tomcat.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.tomcat</groupId> <artifactId>tomcat-jasper</artifactId> <version>${tomcat.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.tomcat</groupId> <artifactId>tomcat-util</artifactId> <version>${tomcat.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tomcat-embed-core</artifactId> <version>${tomcat.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>${junit.version}</version> <scope>test</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-core</artifactId> <version>${log4j.version}</version> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-api</artifactId> <version>${log4j.version}</version> </dependency> <dependency> <groupId>net.bytebuddy</groupId> <artifactId>byte-buddy</artifactId> <version>${bytebuddy.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>net.bytebuddy</groupId> <artifactId>byte-buddy-agent</artifactId> <version>${bytebuddy.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <version>${assertj.version}</version> <scope>test</scope> </dependency> </dependencies> <profiles> <profile> <id>findbugs</id> <build> <plugins> <plugin> <groupId>com.github.spotbugs</groupId> <artifactId>spotbugs-maven-plugin</artifactId> <version>${maven.spotbugs.plugin.version}</version> <executions> <execution> <phase>compile</phase> <goals> <goal>check</goal> </goals> </execution> </executions> <configuration> <excludeFilterFile>${main.basedir}/spotbugs/spotbugs-security-exclude.xml</excludeFilterFile> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>test-coverage</id> <properties> <argLine> -Xms128m -Xmx2G -Dhazelcast.version.check.enabled=false -Dhazelcast.mancenter.enabled=false -Dhazelcast.test.use.network=false </argLine> </properties> <build> <plugins> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>${maven.jacoco.plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>${maven.surefire.plugin.version}</version> <configuration combine.self="override"> <redirectTestOutputToFile>true</redirectTestOutputToFile> <testFailureIgnore>true</testFailureIgnore> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>sonar-maven-plugin</artifactId> <version>${maven.sonar.plugin.version}</version> </plugin> </plugins> </build> </profile> <profile> <id>release</id> <properties> <javadoc>true</javadoc> </properties> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>${maven.gpg.plugin.version}</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> <configuration> <gpgArguments> <gpgArgument>--pinentry-mode</gpgArgument> <gpgArgument>loopback</gpgArgument> </gpgArguments> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>${maven.javadoc.plugin.version}</version> <configuration> <maxmemory>1024</maxmemory> </configuration> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.7.0</version> <extensions>true</extensions> <configuration> <serverId>release-repository</serverId> <nexusUrl>https://oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>release-snapshot</id> <properties> <javadoc>true</javadoc> </properties> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>${maven.javadoc.plugin.version}</version> <configuration> <excludePackageNames> *.impl:*.internal:*.operations:*.proxy:*.util:com.hazelcast.aws.security: *.handlermigration:*.client.connection.nio:*.client.console:*.buildutils: *.client.protocol.generator:*.cluster.client:*.concurrent:*.collection: *.nio.ascii:*.nio.ssl:*.nio.tcp:*.partition.client:*.transaction.client: *.core.server:com.hazelcast.instance:com.hazelcast.PlaceHolder </excludePackageNames> </configuration> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>5.1.z</id> <properties> <hazelcast.version>5.1.7</hazelcast.version> </properties> </profile> <profile> <id>5.2.z</id> <properties> <hazelcast.version>5.2.5</hazelcast.version> </properties> </profile> <profile> <id>5.3.z</id> <properties> <hazelcast.version>5.3.7</hazelcast.version> </properties> </profile> <profile> <id>5.4.z</id> <properties> <hazelcast.version>5.4.0</hazelcast.version> </properties> </profile> <profile> <id>master</id> <dependencies> <dependency> <groupId>org.opentest4j</groupId> <artifactId>opentest4j</artifactId> <version>${opentest4j.version}</version> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>${mockito.version}</version> <scope>test</scope> </dependency> </dependencies> <properties> <hazelcast.version>5.5.0-SNAPSHOT</hazelcast.version> <mockito.version>5.12.0</mockito.version> <opentest4j.version>1.3.0</opentest4j.version> </properties> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>${maven.surefire.plugin.version}</version> <configuration combine.self="override"> <parallel>none</parallel> <redirectTestOutputToFile>true</redirectTestOutputToFile> <argLine>-Xms128m -Xmx2G -Dhazelcast.phone.home.enabled=false -Dhazelcast.mancenter.enabled=false -Dhazelcast.test.use.network=true </argLine> </configuration> </plugin> </plugins> </build> </profile> <profile> <!-- SUP-420 case. Tomcat 9.0.z and 5.3.z hazelcast. Using jdk 1.8 because tomcat supports 1.8. Therefore we have to exclude jetty tests from compiling/running and jetty classes from classpath because they require jdk 11. --> <id>tomcat-jdk8</id> <properties> <hazelcast.version>5.3.7</hazelcast.version> </properties> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>${maven.compiler.plugin.version}</version> <executions> <execution> <id>default-testCompile</id> <phase>test-compile</phase> <goals> <goal>testCompile</goal> </goals> <configuration> <testExcludes> <exclude> com/hazelcast/wm/test/jetty/**/*.java </exclude> </testExcludes> </configuration> </execution> </executions> <configuration> <source>${jdk.version}</source> <target>${jdk.version}</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>${maven.surefire.plugin.version}</version> <configuration combine.self="override"> <redirectTestOutputToFile>true</redirectTestOutputToFile> <runOrder>failedfirst</runOrder> <argLine> -Xms128m -Xmx2G -Dhazelcast.phone.home.enabled=false -Dhazelcast.mancenter.enabled=false -Dhazelcast.test.use.network=false </argLine> <excludes> <exclude> com.hazelcast.wm.test.jetty.* </exclude> </excludes> <classpathDependencyExcludes> <classpathDependencyExclude> org.eclipse.jetty:apache-jsp </classpathDependencyExclude> </classpathDependencyExcludes> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project>