1 Star 0 Fork 0

郁蒸十九 / hazelcast

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
pom.xml 57.68 KB
一键复制 编辑 原始数据 按行查看 历史
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282
<!--
~ Copyright (c) 2008-2020, Hazelcast, Inc. All Rights Reserved.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS 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>
<groupId>com.hazelcast</groupId>
<artifactId>hazelcast-root</artifactId>
<packaging>pom</packaging>
<version>4.2-SNAPSHOT</version>
<name>Hazelcast Root</name>
<description>Hazelcast In-Memory DataGrid</description>
<url>http://www.hazelcast.com/</url>
<modules>
<module>hazelcast</module>
<module>hazelcast-spring</module>
<module>hazelcast-spring-tests</module>
<module>hazelcast-build-utils</module>
<module>hazelcast-sql-core</module>
<module>hazelcast-sql</module>
<module>hazelcast-all</module>
<module>distribution</module>
</modules>
<properties>
<main.basedir>${project.basedir}</main.basedir>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jdk.version>8</jdk.version>
<target.dir>target</target.dir>
<maven.build.timestamp.format>yyyyMMdd</maven.build.timestamp.format>
<timestamp>${maven.build.timestamp}</timestamp>
<hazelcast.distribution>Hazelcast</hazelcast.distribution>
<hazelcast.serialization.version>1</hazelcast.serialization.version>
<hazelcast.serverMainClass>com.hazelcast.core.server.HazelcastMemberStarter</hazelcast.serverMainClass>
<!-- Not using 3.1 at the moment since it recompiles all classes every time -->
<!-- https://issues.apache.org/jira/browse/MCOMPILER-205 -->
<!--<maven.compiler.plugin.version>3.1</maven.compiler.plugin.version>-->
<maven.compiler.plugin.version>2.5.1</maven.compiler.plugin.version>
<maven.jar.plugin.version>2.4</maven.jar.plugin.version>
<maven.source.plugin.version>2.2.1</maven.source.plugin.version>
<maven.javadoc.plugin.version>3.1.0</maven.javadoc.plugin.version>
<maven.javadoc.plugin.excludePackageNames>
*.impl:*.impl.*:*.internal:*.internal.*:*.operations:*.proxy:*.util:
com.hazelcast.aws.security:*.handlermigration:*.client.connection.nio:
*.client.console:*.client.protocol.generator:*.cluster.client:
*.concurrent:*.nio.ascii:*.nio.ssl:*.nio.tcp:*.partition.client:
*.transaction.client:*.core.server:com.hazelcast.instance:com.hazelcast.PlaceHolder
</maven.javadoc.plugin.excludePackageNames>
<maven.antrun.plugin.version>1.7</maven.antrun.plugin.version>
<maven.gpg.plugin.version>1.6</maven.gpg.plugin.version>
<maven.assembly.plugin.version>3.3.0</maven.assembly.plugin.version>
<maven.rar.plugin.version>2.2</maven.rar.plugin.version>
<maven.bundle.plugin.version>2.4.0</maven.bundle.plugin.version>
<maven.shade.plugin.version>3.2.4</maven.shade.plugin.version>
<maven.dependency.plugin.version>2.10</maven.dependency.plugin.version>
<maven.animal.sniffer.plugin.version>1.19</maven.animal.sniffer.plugin.version>
<maven.git.commit.id.plugin.version>2.1.10</maven.git.commit.id.plugin.version>
<maven.surefire.plugin.version>2.22.2</maven.surefire.plugin.version>
<maven.checkstyle.plugin.version>3.1.1</maven.checkstyle.plugin.version>
<maven.spotbugs.plugin.version>4.1.4</maven.spotbugs.plugin.version>
<maven.sonar.plugin.version>3.6.0.1398</maven.sonar.plugin.version>
<maven.jacoco.plugin.version>0.8.6</maven.jacoco.plugin.version>
<maven.failsafe.plugin.version>2.22.2</maven.failsafe.plugin.version>
<maven.cobertura.plugin.version>2.6</maven.cobertura.plugin.version>
<maven.enforcer.plugin.version>3.0.0-M2</maven.enforcer.plugin.version>
<log4j.version>1.2.17</log4j.version>
<log4j2.version>2.13.3</log4j2.version>
<slf4j.api.version>1.7.30</slf4j.api.version>
<jackson.version>2.11.2</jackson.version>
<junit.version>4.13.1</junit.version>
<hamcrest.version>2.2</hamcrest.version>
<mockito.version>3.6.0</mockito.version>
<powermock.version>2.0.7</powermock.version>
<bytebuddy.version>1.10.18</bytebuddy.version>
<reflections.version>0.9.10</reflections.version>
<jmh.version>1.21</jmh.version>
<commons-lang3.version>3.11</commons-lang3.version>
<felix.utils.version>1.11.6</felix.utils.version>
<findbugs.annotations.version>3.0.1u2</findbugs.annotations.version>
<http.components.version>4.3.6</http.components.version>
<sonar.jacoco.jar>${basedir}/lib/jacocoagent.jar</sonar.jacoco.jar>
<!--<sonar.phase>post-integration-test</sonar.phase>-->
<sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
<sonar.language>java</sonar.language>
<sonar.verbose>true</sonar.verbose>
<checkstyle.version>8.38</checkstyle.version>
<maven.test.redirectTestOutputToFile>true</maven.test.redirectTestOutputToFile>
<jsr107.api.version>1.1.1</jsr107.api.version>
<jsr107.tck.version>1.1.1</jsr107.tck.version>
<snakeyaml.engine.version>2.1</snakeyaml.engine.version>
<h2.version>1.3.160</h2.version>
<atomikos.version>3.9.3</atomikos.version>
<!-- The path to relocated external dependencies. -->
<relocation.root>com.hazelcast</relocation.root>
<!-- Additional JVM system arguments -->
<extraVmArgs/>
<vmHeapSettings>-Xms512m -Xmx2G</vmHeapSettings>
<!-- Java 9+ module system args to be appended during surefire/failsafe executions. -->
<javaModuleArgs/>
</properties>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<connection>scm:git:git://github.com/hazelcast/hazelcast.git</connection>
<developerConnection>scm:git:git@github.com:hazelcast/hazelcast.git</developerConnection>
<url>https://github.com/hazelcast/hazelcast/</url>
</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>
<contributors>
<contributor>
<name>Hazelcast Community</name>
<email>info@hazelcast.com</email>
<url>https://hazelcast.atlassian.net/wiki/display/COM/Hazelcast+Contributor+Agreement</url>
</contributor>
</contributors>
<issueManagement>
<system>Github</system>
<url>https://github.com/hazelcast/hazelcast/issues</url>
</issueManagement>
<organization>
<name>Hazelcast, Inc.</name>
<url>http://www.hazelcast.com/</url>
</organization>
<build>
<sourceDirectory>src/main/java</sourceDirectory>
<outputDirectory>${target.dir}/classes</outputDirectory>
<testSourceDirectory>src/test/java</testSourceDirectory>
<testOutputDirectory>${target.dir}/test-classes</testOutputDirectory>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>**/*.html</include>
<include>**/*.bat</include>
<include>**/*.sh</include>
<include>**/*.properties</include>
<include>**/*.xml</include>
<include>**/*.yaml</include>
<include>**/*.xsd</include>
<include>**/*.handlers</include>
<include>**/*.schemas</include>
</includes>
</resource>
<resource>
<directory>src/main/resources</directory>
<filtering>false</filtering>
<includes>
<include>**/*.so</include>
<include>**/*.license</include>
<include>**/*.key</include>
<include>**/*.ftl</include>
<include>**/META-INF/services/*.*</include>
</includes>
</resource>
</resources>
<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>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<version>${maven.spotbugs.plugin.version}</version>
<configuration>
<spotbugsXmlOutput>true</spotbugsXmlOutput>
<xmlOutput>true</xmlOutput>
</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.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.plugin.version}</version>
<configuration combine.self="override">
<useFile>false</useFile>
<trimStackTrace>false</trimStackTrace>
<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 -->
<!-- JaCoCo will use the argLine set here. Test profiles override it. -->
<argLine>
${vmHeapSettings}
${javaModuleArgs}
-Dhazelcast.phone.home.enabled=false
-Dhazelcast.test.use.network=false
-Dlog4j.skipJansi=true
${extraVmArgs}
</argLine>
<includes>
<include>**/**.java</include>
</includes>
<excludes>
<exclude>**/jsr/**.java</exclude>
<exclude>**/**IT.java</exclude>
<exclude>com.hazelcast.sql.SqlIntegrationTestSuite.java</exclude>
</excludes>
<groups>
com.hazelcast.test.annotation.QuickTest,
com.hazelcast.test.modulepath.ModulePathTest
</groups>
<excludedGroups>
com.hazelcast.test.annotation.SlowTest,
com.hazelcast.test.annotation.NightlyTest
</excludedGroups>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${maven.failsafe.plugin.version}</version>
<configuration combine.self="override">
<argLine>
${vmHeapSettings}
${javaModuleArgs}
-Dhazelcast.phone.home.enabled=false
-Dhazelcast.logging.type=none
-Dhazelcast.test.use.network=true
-Dlog4j.skipJansi=true
${extraVmArgs}
</argLine>
<useManifestOnlyJar>false</useManifestOnlyJar>
<useSystemClassLoader>true</useSystemClassLoader>
<groups>
com.hazelcast.test.annotation.QuickTest,
com.hazelcast.test.modulepath.ModulePathTest
</groups>
<excludedGroups>
com.hazelcast.test.annotation.SlowTest,
com.hazelcast.test.annotation.NightlyTest
</excludedGroups>
</configuration>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<version>${maven.enforcer.plugin.version}</version>
<executions>
<execution>
<id>enforce-tools</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireJavaVersion>
<!-- JDK 1.8+ is required for compilation. -->
<version>[1.8.0,)</version>
</requireJavaVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<!-- used by the PR builder -->
<id>parallelTest</id>
<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${maven.jacoco.plugin.version}</version>
<configuration>
<skip>false</skip>
<append>true</append>
<propertyName>jacocoArgLine</propertyName>
</configuration>
<executions>
<execution>
<id>prepare-unit-tests</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>jacoco-site</id>
<phase>verify</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.plugin.version}</version>
<executions>
<execution>
<id>default-test</id>
<phase>test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration combine.self="override">
<useFile>false</useFile>
<trimStackTrace>false</trimStackTrace>
<!-- 1C means 1 process per cpu core -->
<forkCount>0.5C</forkCount>
<reuseForks>true</reuseForks>
<argLine>
${vmHeapSettings}
${javaModuleArgs}
-ea
-Dhazelcast.phone.home.enabled=false
-Dhazelcast.logging.type=none
-Dhazelcast.test.use.network=false
-Dhazelcast.test.multiple.jvm=true
-Dlog4j.configurationFile=log4j2.xml
-Dlog4j.skipJansi=true
${extraVmArgs}
${jacocoArgLine}
</argLine>
<includes>
<include>**/**.java</include>
</includes>
<excludes>
<exclude>**/jsr/**.java</exclude>
<exclude>**/**IT.java</exclude>
<exclude>com.hazelcast.sql.SqlIntegrationTestSuite.java</exclude>
</excludes>
<groups>
com.hazelcast.test.annotation.QuickTest AND
com.hazelcast.test.annotation.ParallelJVMTest
</groups>
<excludedGroups>
com.hazelcast.test.annotation.SlowTest,
com.hazelcast.test.annotation.NightlyTest
</excludedGroups>
<systemPropertyVariables>
<multipleJVM>true</multipleJVM>
</systemPropertyVariables>
</configuration>
</execution>
<execution>
<id>singlejvm</id>
<phase>test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration combine.self="override">
<useFile>false</useFile>
<argLine>
${vmHeapSettings}
${javaModuleArgs}
-Dhazelcast.phone.home.enabled=false
-Dhazelcast.logging.type=none
-Dhazelcast.test.use.network=false
-Dlog4j.configurationFile=log4j2.xml
-Dlog4j.skipJansi=true
${extraVmArgs}
${jacocoArgLine}
</argLine>
<includes>
<include>**/**.java</include>
</includes>
<excludes>
<exclude>**/jsr/**.java</exclude>
<exclude>**/**IT.java</exclude>
<exclude>com.hazelcast.sql.SqlIntegrationTestSuite.java</exclude>
</excludes>
<groups>
com.hazelcast.test.annotation.QuickTest,
com.hazelcast.test.modulepath.ModulePathTest
</groups>
<excludedGroups>
com.hazelcast.test.annotation.SlowTest,
com.hazelcast.test.annotation.NightlyTest,
com.hazelcast.test.annotation.ParallelJVMTest
</excludedGroups>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>LOCAL</id>
<properties>
<vmHeapSettings>-Xms128m -Xmx1G</vmHeapSettings>
</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">
<useFile>false</useFile>
<trimStackTrace>false</trimStackTrace>
<argLine>
${vmHeapSettings}
${javaModuleArgs}
-Dhazelcast.phone.home.enabled=false
-Dhazelcast.test.use.network=false
-Dlog4j.skipJansi=true
${extraVmArgs}
</argLine>
<includes>
<include>**/**.java</include>
</includes>
<excludes>
<exclude>**/jsr/**.java</exclude>
<exclude>**/**IT.java</exclude>
<exclude>com.hazelcast.sql.SqlIntegrationTestSuite.java</exclude>
</excludes>
<groups>
com.hazelcast.test.annotation.QuickTest,
com.hazelcast.test.modulepath.ModulePathTest
</groups>
<excludedGroups>
com.hazelcast.test.annotation.SlowTest,
com.hazelcast.test.annotation.NightlyTest
</excludedGroups>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${maven.failsafe.plugin.version}</version>
<configuration combine.self="override">
<useFile>false</useFile>
<argLine>
${vmHeapSettings}
${javaModuleArgs}
-Dhazelcast.phone.home.enabled=false
-Dhazelcast.test.use.network=false
-Dlog4j.skipJansi=true
${extraVmArgs}
</argLine>
<useManifestOnlyJar>false</useManifestOnlyJar>
<useSystemClassLoader>true</useSystemClassLoader>
<groups>
com.hazelcast.test.annotation.QuickTest,
com.hazelcast.test.modulepath.ModulePathTest
</groups>
<excludedGroups>
com.hazelcast.test.annotation.SlowTest,
com.hazelcast.test.annotation.NightlyTest
</excludedGroups>
</configuration>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>test-coverage-Local</id>
<properties>
<vmHeapSettings>-Xms128m -Xmx1G</vmHeapSettings>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>${maven.cobertura.plugin.version}</version>
<configuration>
<instrumentation>
<ignores/>
<excludes/>
</instrumentation>
<check/>
</configuration>
<executions>
<execution>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.plugin.version}</version>
<configuration combine.self="override">
<useFile>false</useFile>
<trimStackTrace>false</trimStackTrace>
<testFailureIgnore>true</testFailureIgnore>
<argLine>
${vmHeapSettings}
${javaModuleArgs}
-Dhazelcast.phone.home.enabled=false
-Dhazelcast.logging.type=none
-Dhazelcast.test.use.network=false
-Dlog4j.skipJansi=true
${extraVmArgs}
</argLine>
<includes>
<include>**/YourTestFileHear.java</include>
</includes>
</configuration>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>${maven.cobertura.plugin.version}</version>
</plugin>
</plugins>
</reporting>
</profile>
<profile>
<id>test-coverage</id>
<properties>
<argLine>
${vmHeapSettings}
${javaModuleArgs}
-Dhazelcast.phone.home.enabled=false
-Dhazelcast.logging.type=none
-Dhazelcast.test.use.network=false
-Dhazelcast.operation.call.timeout.millis=120000
-Dhazelcast.graceful.shutdown.max.wait=240
-Dlog4j.skipJansi=true
${extraVmArgs}
</argLine>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${maven.jacoco.plugin.version}</version>
<configuration>
<excludes>
<exclude>**DummyProperty**</exclude>
<exclude>**DummyEntity**</exclude>
<exclude>**test-hibernate**</exclude>
<exclude>**HibernateStatisticsTestSupport**</exclude>
<exclude>**HibernateTestSupport**</exclude>
<exclude>**RegionFactoryDefaultTest**</exclude>
</excludes>
</configuration>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.plugin.version}</version>
<configuration combine.self="override">
<useFile>false</useFile>
<trimStackTrace>false</trimStackTrace>
<testFailureIgnore>true</testFailureIgnore>
<includes>
<include>**/*.java</include>
</includes>
<excludes>
<exclude>**/**IT.java</exclude>
<exclude>com.hazelcast.sql.SqlIntegrationTestSuite.java</exclude>
</excludes>
<groups>
com.hazelcast.test.annotation.QuickTest,
com.hazelcast.test.annotation.SlowTest,
com.hazelcast.test.modulepath.ModulePathTest
</groups>
<excludedGroups>
com.hazelcast.test.annotation.NightlyTest
</excludedGroups>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${maven.failsafe.plugin.version}</version>
<configuration combine.self="override">
<argLine>
${vmHeapSettings}
${javaModuleArgs}
-Dhazelcast.phone.home.enabled=false
-Dhazelcast.logging.type=none
-Dhazelcast.test.use.network=true
-Dlog4j.skipJansi=true
${extraVmArgs}
</argLine>
<groups>
com.hazelcast.test.annotation.QuickTest,
com.hazelcast.test.annotation.SlowTest,
com.hazelcast.test.modulepath.ModulePathTest
</groups>
<excludedGroups>
com.hazelcast.test.annotation.NightlyTest
</excludedGroups>
<useManifestOnlyJar>false</useManifestOnlyJar>
<useSystemClassLoader>true</useSystemClassLoader>
</configuration>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
</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>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven.javadoc.plugin.version}</version>
<configuration>
<maxmemory>1024</maxmemory>
<excludePackageNames>${maven.javadoc.plugin.excludePackageNames}</excludePackageNames>
<doclint>none</doclint>
</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.6.3</version>
<extensions>true</extensions>
<configuration>
<serverId>release-repository</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>
<modules>
<module>hazelcast-all</module>
</modules>
</profile>
<!-- unfortunately it isn't possible to chain profiles, so we need to duplicate the javadoc plugin -->
<profile>
<id>release-snapshot</id>
<properties>
<javadoc>true</javadoc>
</properties>
<modules>
<module>hazelcast-all</module>
</modules>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven.javadoc.plugin.version}</version>
<configuration>
<excludePackageNames>${maven.javadoc.plugin.excludePackageNames}</excludePackageNames>
<doclint>none</doclint>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>zip</id>
<modules>
<module>hazelcast-all</module>
</modules>
</profile>
<profile>
<id>checkstyle</id>
<build>
<plugins>
<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>true</includeTestSourceDirectory>
<enableRulesSummary>true</enableRulesSummary>
<propertyExpansion>main.basedir=${main.basedir}</propertyExpansion>
<excludes>**/module-info.java</excludes>
</configuration>
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>${checkstyle.version}</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>spotbugs</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>
<failOnError>true</failOnError>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>nightly-build</id>
<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>
<useFile>false</useFile>
<trimStackTrace>false</trimStackTrace>
<argLine>
${vmHeapSettings}
${javaModuleArgs}
-Dhazelcast.phone.home.enabled=false
-Dhazelcast.logging.type=none
-Dhazelcast.test.use.network=false
-Dlog4j.skipJansi=true
${extraVmArgs}
</argLine>
<includes>
<include>**/**.java</include>
</includes>
<excludes>
<exclude>**/**IT.java</exclude>
<exclude>**/jsr/**.java</exclude>
<exclude>com.hazelcast.sql.SqlIntegrationTestSuite.java</exclude>
</excludes>
<groups>
com.hazelcast.test.annotation.NightlyTest,
com.hazelcast.test.annotation.SlowTest
</groups>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${maven.failsafe.plugin.version}</version>
<configuration combine.self="override">
<argLine>
${vmHeapSettings}
${javaModuleArgs}
-Dhazelcast.phone.home.enabled=false
-Dhazelcast.logging.type=none
-Dhazelcast.test.use.network=true
-Dlog4j.skipJansi=true
${extraVmArgs}
</argLine>
<useManifestOnlyJar>false</useManifestOnlyJar>
<useSystemClassLoader>true</useSystemClassLoader>
<groups>
com.hazelcast.test.annotation.NightlyTest,
com.hazelcast.test.annotation.SlowTest
</groups>
</configuration>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>all-tests</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.plugin.version}</version>
<configuration combine.self="override">
<useFile>false</useFile>
<trimStackTrace>false</trimStackTrace>
<parallel>none</parallel>
<argLine>
${vmHeapSettings}
${javaModuleArgs}
-Dhazelcast.phone.home.enabled=false
-Dhazelcast.logging.type=none
-Dhazelcast.test.use.network=false
-Dlog4j.skipJansi=true
${extraVmArgs}
</argLine>
<includes>
<include>**/**.java</include>
</includes>
<excludes>
<exclude>**/jsr/**.java</exclude>
<exclude>**/**IT.java</exclude>
<exclude>com.hazelcast.sql.SqlIntegrationTestSuite.java</exclude>
</excludes>
<groups>
com.hazelcast.test.annotation.QuickTest,
com.hazelcast.test.annotation.SlowTest,
com.hazelcast.test.modulepath.ModulePathTest,
com.hazelcast.test.annotation.NightlyTest
</groups>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${maven.failsafe.plugin.version}</version>
<configuration combine.self="override">
<argLine>
${vmHeapSettings}
${javaModuleArgs}
-Dhazelcast.phone.home.enabled=false
-Dhazelcast.logging.type=none
-Dhazelcast.test.use.network=true
-Dlog4j.skipJansi=true
${extraVmArgs}
</argLine>
<useManifestOnlyJar>false</useManifestOnlyJar>
<useSystemClassLoader>true</useSystemClassLoader>
<groups>
com.hazelcast.test.annotation.QuickTest,
com.hazelcast.test.annotation.SlowTest,
com.hazelcast.test.modulepath.ModulePathTest,
com.hazelcast.test.annotation.NightlyTest
</groups>
</configuration>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>jdk-9</id>
<activation>
<jdk>[9,)</jdk>
</activation>
<properties>
<!--
Allow access to Operating system metrics:
open jdk.management/com.sun.management.internal
Avoid warnings caused by reflection in
SelectorOptimizer:
open java.base/sun.nio.ch
FilteringClassLoader:
open java.base/java.lang
TimedMemberStateFactoryHelper:
open java.management/sun.management
Powermock issue workaround (https://github.com/powermock/powermock/issues/905):
export java.xml/jdk.xml.internal
-->
<javaModuleArgs>
--add-exports java.base/jdk.internal.ref=ALL-UNNAMED
--add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED
--add-opens java.base/sun.nio.ch=ALL-UNNAMED
--add-opens java.base/java.lang=ALL-UNNAMED
--add-opens java.management/sun.management=ALL-UNNAMED
--add-exports java.xml/jdk.xml.internal=ALL-UNNAMED
--illegal-access=warn
</javaModuleArgs>
</properties>
<modules>
<module>modulepath-tests</module>
</modules>
</profile>
<profile>
<!-- same as default build (excludes Nightly & Slow tests), outputs serialized objects to a blob -->
<!-- for compatibility testing -->
<id>generate-compatibility-samples</id>
<properties>
<vmHeapSettings>-Xms128m -Xmx1G</vmHeapSettings>
</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">
<properties>
<property>
<name>listener</name>
<value>com.hazelcast.test.compatibility.SamplingRunListener</value>
</property>
</properties>
<trimStackTrace>false</trimStackTrace>
<runOrder>failedfirst</runOrder>
<argLine>
${vmHeapSettings}
${javaModuleArgs}
-Dhazelcast.phone.home.enabled=false
-Dhazelcast.test.use.network=false
-Dhazelcast.test.sample.serialized.objects=${target.dir}/serialized-objects-${project.version}-
-Dlog4j.skipJansi=true
${extraVmArgs}
</argLine>
<includes>
<include>**/**.java</include>
</includes>
<excludes>
<exclude>**/jsr/**.java</exclude>
<!-- code triggered by UserCodeDeploymentSmokeTest and OperationRunnerImplTest -->
<!-- casts to SerializationServiceV1 and fails when Node is configured with the -->
<!-- wrapper ClassRecordingSerializationService -->
<exclude>**/UserCodeDeploymentSmokeTest.java</exclude>
<exclude>**/OperationRunnerImplTest.java</exclude>
<exclude>**/**IT.java</exclude>
<exclude>com.hazelcast.sql.SqlIntegrationTestSuite.java</exclude>
</excludes>
<groups>
com.hazelcast.test.annotation.QuickTest,
com.hazelcast.test.modulepath.ModulePathTest
</groups>
<excludedGroups>
com.hazelcast.test.annotation.SlowTest,
com.hazelcast.test.annotation.NightlyTest,
com.hazelcast.test.annotation.SerializationSamplesExcluded
</excludedGroups>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<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>
<dependencies>
<dependency>
<groupId>javax.cache</groupId>
<artifactId>cache-api</artifactId>
<version>${jsr107.api.version}</version>
<scope>provided</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>${jackson.version}</version>
<scope>provided</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.snakeyaml</groupId>
<artifactId>snakeyaml-engine</artifactId>
<version>${snakeyaml.engine.version}</version>
<scope>provided</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockito.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-api-mockito2</artifactId>
<version>${powermock.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-module-junit4</artifactId>
<version>${powermock.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.reflections</groupId>
<artifactId>reflections</artifactId>
<version>${reflections.version}</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<artifactId>jmh-core</artifactId>
<version>${jmh.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<artifactId>jmh-generator-annprocess</artifactId>
<version>${jmh.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>${log4j2.version}</version>
<scope>test</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>annotations</artifactId>
<version>${findbugs.annotations.version}</version>
<scope>provided</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
<version>${bytebuddy.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>${commons-lang3.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>nl.jqno.equalsverifier</groupId>
<artifactId>equalsverifier</artifactId>
<version>1.7.8</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-core</artifactId>
<version>9.0.41</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
1
https://gitee.com/zm-sama/hazelcast.git
git@gitee.com:zm-sama/hazelcast.git
zm-sama
hazelcast
hazelcast
master

搜索帮助