hazelcast-nacos
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.x22x22</groupId> <artifactId>hazelcast-nacos</artifactId> <version>4.0.2.6</version> </dependency>
<!-- ~ Copyright 2020 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/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <name>hazelcast-nacos</name> <groupId>io.x22x22</groupId> <artifactId>hazelcast-nacos</artifactId> <description>Hazelcast Nacos Discovery Plugin</description> <url>http://www.hazelcast.com/</url> <version>4.0.2.6</version> <licenses> <license> <name>The Hazelcast Community License</name> <url>http://hazelcast.com/hazelcast-community-license</url> <distribution>repo</distribution> </license> </licenses> <properties> <main.basedir>${project.basedir}</main.basedir> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <jdk.version>1.8</jdk.version> <hazelcast.version>4.1.1</hazelcast.version> <curator.version>5.1.0</curator.version> <nacos.version>2.2.4</nacos.version> <junit.version>4.13.2</junit.version> <mockito.version>2.0.31-beta</mockito.version> <log4j2.version>2.14.0</log4j2.version> <maven.compiler.plugin.version>3.8.1</maven.compiler.plugin.version> <maven.source.plugin.version>3.2.1</maven.source.plugin.version> <maven.jar.plugin.version>3.2.0</maven.jar.plugin.version> <maven.bundle.plugin.version>5.1.1</maven.bundle.plugin.version> <maven.javadoc.plugin.version>3.2.0</maven.javadoc.plugin.version> <maven.gpg.plugin.version>1.6</maven.gpg.plugin.version> <maven.animal.sniffer.plugin.version>1.19</maven.animal.sniffer.plugin.version> <bytebuddy.version>1.6.12</bytebuddy.version> <maven.surefire.plugin.version>2.22.2</maven.surefire.plugin.version> <maven.checkstyle.plugin.version>3.1.2</maven.checkstyle.plugin.version> <maven.findbugs.plugin.version>3.0.5</maven.findbugs.plugin.version> <maven.sonar.plugin.version>3.3.0.603</maven.sonar.plugin.version> <maven.jacoco.plugin.version>0.8.6</maven.jacoco.plugin.version> </properties> <scm> <connection>scm:git:git://github.com/x22x22/hazelcast-nacos.git</connection> <developerConnection>scm:git:git@github.com:x22x22/hazelcast-nacos.git</developerConnection> <url>https://github.com/x22x22/hazelcast-nacos/tree/main</url> </scm> <developers> <developer> <name>x22x22</name> <email>rootshellexp@gmail.com</email> <organization>x22x22</organization> <organizationUrl>http://www.fullstackmemo.com</organizationUrl> </developer> </developers> <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> <encoding>${project.build.sourceEncoding}</encoding> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>animal-sniffer-maven-plugin</artifactId> <version>${maven.animal.sniffer.plugin.version}</version> <configuration> <signature> <groupId>org.codehaus.mojo.signature</groupId> <artifactId>java18</artifactId> <version>1.0</version> </signature> </configuration> <executions> <execution> <id>source-java8-check</id> <phase>compile</phase> <goals> <goal>check</goal> </goals> </execution> </executions> </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-no-fork</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> <Export-Package> com.hazelcast.* </Export-Package> <Import-Package> !org.junit, !com.hazelcast.*, org.apache.log4j;resolution:=optional, org.apache.log4j.*;resolution:=optional, org.slf4j;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.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 -Xmx1G -XX:MaxPermSize=128M -Dhazelcast.phone.home.enabled=false -Dhazelcast.mancenter.enabled=false -Dhazelcast.test.use.network=false </argLine> </configuration> </plugin> </plugins> </build> <distributionManagement> <snapshotRepository> <id>ossrh</id> <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> <repository> <id>ossrh</id> <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> <repositories> <repository> <id>snapshot-repository</id> <name>Maven2 Snapshot Repository</name> <url>https://oss.sonatype.org/content/repositories/snapshots</url> </repository> </repositories> <dependencies> <dependency> <groupId>com.alibaba.nacos</groupId> <artifactId>nacos-client</artifactId> <version>${nacos.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.hazelcast</groupId> <artifactId>hazelcast</artifactId> <version>${hazelcast.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.hazelcast</groupId> <artifactId>hazelcast</artifactId> <scope>test</scope> <version>${hazelcast.version}</version> <classifier>tests</classifier> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>${junit.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-core</artifactId> <version>${log4j2.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-slf4j-impl</artifactId> <version>${log4j2.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>3.10</version> </dependency> <dependency> <groupId>com.google.code.findbugs</groupId> <artifactId>jsr305</artifactId> <version>3.0.2</version> </dependency> </dependencies> <profiles> <profile> <id>pitest</id> <properties> <argLine> -Dhazelcast.version.check.enabled=false -Dhazelcast.mancenter.enabled=false -Dhazelcast.logging.type=none -Dhazelcast.test.use.network=false </argLine> </properties> <build> <plugins> <plugin> <groupId>org.pitest</groupId> <artifactId>pitest-maven</artifactId> <version>1.6.2</version> </plugin> </plugins> </build> </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>false</includeTestSourceDirectory> <enableRulesSummary>true</enableRulesSummary> <propertyExpansion>main.basedir=${main.basedir}</propertyExpansion> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>findbugs</id> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <version>${maven.findbugs.plugin.version}</version> <executions> <execution> <phase>compile</phase> <goals> <goal>check</goal> </goals> </execution> </executions> <configuration> <failOnError>true</failOnError> <excludeFilterFile>${main.basedir}/findbugs/findbugs-exclude.xml</excludeFilterFile> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>test-coverage</id> <properties> <argLine> -Xms128m -Xmx1G -XX:MaxPermSize=128M -Dhazelcast.version.check.enabled=false -Dhazelcast.mancenter.enabled=false -Dhazelcast.logging.type=none -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> <configuration> <keyname>0xF336C5B1</keyname> <passphraseServerId>0xF336C5B1</passphraseServerId> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>2.2.1</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.9.1</version> <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.7</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://s01.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-gpg-plugin</artifactId> <version>1.5</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> <configuration> <keyname>0xF336C5B1</keyname> <passphraseServerId>0xF336C5B1</passphraseServerId> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.7</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>2.2.1</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.9.1</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>