Score
0
Watch 144 Star 549 Fork 208

GVPSOFAStack / sofa-boltJavaApache-2.0

Join us
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
SOFABolt 是蚂蚁金融服务集团开发的一套基于 Netty 实现的网络通信框架。 spread retract

Clone or download
pom.xml 18.28 KB
Copy Edit Web IDE Raw Blame History
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You 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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.alipay.sofa</groupId>
<artifactId>bolt</artifactId>
<version>1.6.0</version>
<packaging>jar</packaging>
<name>${project.groupId}:${project.artifactId}</name>
<description>a light weight, easy to use and high performance remoting framework based on netty.</description>
<url>https://github.com/alipay/sofa-bolt</url>
<licenses>
<license>
<name>The Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<developers>
<developer>
<name>tsui</name>
<email>xiaomin.cxm@antfin.com</email>
<organization>Ant Financial</organization>
<organizationUrl>https://www.alipay.com/</organizationUrl>
</developer>
<developer>
<name>jiangping</name>
<email>jiangping@antfin.com</email>
<organization>Ant Financial</organization>
<organizationUrl>https://www.alipay.com/</organizationUrl>
</developer>
<developer>
<name>yueliang</name>
<email>yueliang.yml@antfin.com</email>
<organization>Ant Financial</organization>
<organizationUrl>https://www.alipay.com/</organizationUrl>
</developer>
</developers>
<scm>
<connection>scm:git:git://github.com:alipay/sofa-bolt.git</connection>
<developerConnection>scm:git:ssh://github.com:alipay/sofa-bolt.git</developerConnection>
<url>http://github.com/alipay/sofa-bolt/tree/master</url>
</scm>
<properties>
<cobertura.maven.plugin>2.6</cobertura.maven.plugin>
<coveralls.maven.plugin>3.2.1</coveralls.maven.plugin>
<hessian.version>3.3.6</hessian.version>
<java.version>1.6</java.version>
<license.maven.plugin>3.0</license.maven.plugin>
<maven.assembly.plugin>3.0.0</maven.assembly.plugin>
<maven.compiler.plugin>3.5.1</maven.compiler.plugin>
<maven.gpg.pluign>1.5</maven.gpg.pluign>
<maven.jar.plugin>2.2</maven.jar.plugin>
<maven.java.formatter.plugin>0.4</maven.java.formatter.plugin>
<maven.javadoc.plugin>2.9.1</maven.javadoc.plugin>
<maven.source.plugin>3.0.0</maven.source.plugin>
<maven.staging.plugin>1.6.7</maven.staging.plugin>
<maven.surefire.plugin>2.18.1</maven.surefire.plugin>
<netty.version>4.1.42.Final</netty.version>
<project.encoding>UTF-8</project.encoding>
<slf4j.version>1.7.21</slf4j.version>
<sofa.common.tools>1.0.12</sofa.common.tools>
<sortpom.maven.plugin>2.4.0</sortpom.maven.plugin>
</properties>
<dependencies>
<!-- default scope -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
<version>${netty.version}</version>
</dependency>
<dependency>
<groupId>com.alipay.sofa.common</groupId>
<artifactId>sofa-common-tools</artifactId>
<version>${sofa.common.tools}</version>
</dependency>
<!-- provided scope -->
<dependency>
<groupId>com.alipay.sofa</groupId>
<artifactId>hessian</artifactId>
<version>${hessian.version}</version>
<scope>provided</scope>
</dependency>
<!-- test scope -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>2.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
<version>2.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.lmax</groupId>
<artifactId>disruptor</artifactId>
<version>3.2.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>1.8.5</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>${user.dir}</directory>
<includes>
<include>LICENSE</include>
</includes>
</resource>
<resource>
<directory>src/main/resources</directory>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven.jar.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven.source.plugin}</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>${maven.assembly.plugin}</version>
<configuration>
<descriptors>
<descriptor>assembly/assembly.xml</descriptor>
</descriptors>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.plugin}</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<encoding>${project.encoding}</encoding>
</configuration>
</plugin>
<plugin>
<groupId>com.googlecode.maven-java-formatter-plugin</groupId>
<artifactId>maven-java-formatter-plugin</artifactId>
<version>${maven.java.formatter.plugin}</version>
<executions>
<execution>
<goals>
<goal>format</goal>
</goals>
</execution>
</executions>
<configuration>
<configFile>${project.basedir}/.middleware-common/AlipayFormatter.xml</configFile>
<encoding>${project.encoding}</encoding>
</configuration>
</plugin>
<plugin>
<groupId>com.github.ekryd.sortpom</groupId>
<artifactId>sortpom-maven-plugin</artifactId>
<version>${sortpom.maven.plugin}</version>
<executions>
<execution>
<id>sort-pom</id>
<phase>prepare-package</phase>
<goals>
<goal>sort</goal>
</goals>
</execution>
</executions>
<configuration>
<nrOfIndentSpace>4</nrOfIndentSpace>
<keepBlankLines>true</keepBlankLines>
<sortProperties>true</sortProperties>
<encoding>${project.encoding}</encoding>
</configuration>
</plugin>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>${license.maven.plugin}</version>
<executions>
<execution>
<phase>process-sources</phase>
<goals>
<!-- among available goals remove, format, check, help -->
<goal>format</goal>
</goals>
</execution>
</executions>
<configuration>
<header>${user.dir}/HEADER</header>
<excludes>
<exclude>**/.middleware-common/**</exclude>
<exclude>.travis.yml</exclude>
<exclude>.gitlab-ci.yml</exclude>
<exclude>.editorconfig</exclude>
<exclude>.gitignore</exclude>
<exclude>etc/header.txt</exclude>
<exclude>**/license/**</exclude>
<exclude>**/*.md</exclude>
<exclude>src/test/resources/**</exclude>
<exclude>src/main/resources/**</exclude>
<exclude>mvn_deploy.sh</exclude>
<exclude>**/AbstractBatchDecoder.java</exclude>
</excludes>
<strictCheck>true</strictCheck>
<mapping>
<java>SLASHSTAR_STYLE</java>
</mapping>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.plugin}</version>
<configuration>
<includes>
<include>**/*Test.java</include>
</includes>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
</configuration>
</plugin>
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>${coveralls.maven.plugin}</version>
<configuration>
<sourceEncoding>${project.encoding}</sourceEncoding>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>${cobertura.maven.plugin}</version>
<configuration>
<check>
<encoding>${project.encoding}</encoding>
<aggregate>true</aggregate>
<formats>
<format>xml</format>
<format>html</format>
</formats>
</check>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.4</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<excludePackageNames>com.alipay.hessian.clhm:com.caucho</excludePackageNames>
<encoding>${project.encoding}</encoding>
<detectOfflineLinks>true</detectOfflineLinks>
<breakiterator>true</breakiterator>
<version>false</version>
<author>false</author>
<keywords>true</keywords>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<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://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>false</autoReleaseAfterClose>
</configuration>
</plugin>
<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>
</execution>
</executions>
</plugin>
</plugins>
</build>
<distributionManagement>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
</profile>
<profile>
<id>disable-javadoc-doclint</id>
<activation>
<jdk>[1.8,)</jdk>
</activation>
<properties>
<additionalparam>-Xdoclint:none</additionalparam>
</properties>
</profile>
<profile>
<id>jdk7+</id>
<activation>
<jdk>[1.7,)</jdk>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>3.8</version>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>com.alibaba.p3c</groupId>
<artifactId>p3c-pmd</artifactId>
<version>1.3.0</version>
</dependency>
</dependencies>
<configuration>
<failOnViolation>true</failOnViolation>
<!-- only fail on block issues -->
<failurePriority>1</failurePriority>
<excludes>
<exclude>src/test/java/**</exclude>
</excludes>
<rulesets>
<ruleset>rulesets/java/ali-comment.xml</ruleset>
<ruleset>rulesets/java/ali-concurrent.xml</ruleset>
<ruleset>rulesets/java/ali-constant.xml</ruleset>
<ruleset>rulesets/java/ali-exception.xml</ruleset>
<ruleset>rulesets/java/ali-flowcontrol.xml</ruleset>
<ruleset>rulesets/java/ali-naming.xml</ruleset>
<ruleset>rulesets/java/ali-oop.xml</ruleset>
<ruleset>rulesets/java/ali-orm.xml</ruleset>
<ruleset>rulesets/java/ali-other.xml</ruleset>
<ruleset>rulesets/java/ali-set.xml</ruleset>
<ruleset>rulesets/java/basic.xml</ruleset>
<ruleset>rulesets/java/empty.xml</ruleset>
<ruleset>rulesets/java/imports.xml</ruleset>
<ruleset>rulesets/java/unusedcode.xml</ruleset>
<ruleset>${project.basedir}/.middleware-common/pmd_rule_set.xml</ruleset>
</rulesets>
<printFailingErrors>true</printFailingErrors>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

Comment ( 0 )

Sign in for post a comment

Java
1
https://gitee.com/sofastack/sofa-bolt.git
git@gitee.com:sofastack/sofa-bolt.git
sofastack
sofa-bolt
sofa-bolt
master

Help Search

205735 778617b6 1899542 205747 347fc4a1 1899542