| <?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>org.dromara</groupId> |
| <artifactId>soul</artifactId> |
| <packaging>pom</packaging> |
| <version>2.3.0-SNAPSHOT</version> |
| <name>soul</name> |
| <modules> |
| <module>soul-admin</module> |
| <module>soul-common</module> |
| <module>soul-web</module> |
| <module>soul-spring-boot-starter</module> |
| <module>soul-bootstrap</module> |
| <module>soul-client</module> |
| <module>soul-plugin</module> |
| <module>soul-sync-data-center</module> |
| <module>soul-metrics</module> |
| <module>soul-spi</module> |
| <module>soul-register-center</module> |
| <module>soul-dist</module> |
| <module>soul-disruptor</module> |
| </modules> |
| |
| <organization> |
| <name>dromara</name> |
| <url>http://www.dromara.org</url> |
| </organization> |
| |
| <licenses> |
| <license> |
| <name>Apache License, Version 2.0</name> |
| <url>http://www.apache.org/licenses/LICENSE-2.0</url> |
| <distribution>repo</distribution> |
| </license> |
| </licenses> |
| <scm> |
| <url>https://github.com/Dromara/soul.git</url> |
| <connection>scm:git:https://github.com/Dromara/soul</connection> |
| <developerConnection>scm:git:git@github.com:Dromara/soul</developerConnection> |
| <tag>${project.version}</tag> |
| </scm> |
| |
| <issueManagement> |
| <system>GitHub Issues</system> |
| <url>https://github.com/Dromara/soul/issues</url> |
| </issueManagement> |
| |
| <developers> |
| <developer> |
| <id>xiaoyu</id> |
| <name>xiaoyu(Myth)</name> |
| <email>xiaoyu@apache.org</email> |
| <organization>org.dromara</organization> |
| <roles> |
| <role>author</role> |
| </roles> |
| </developer> |
| </developers> |
| |
| <parent> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-parent</artifactId> |
| <version>2.2.2.RELEASE</version> |
| </parent> |
| |
| <properties> |
| <java.version>1.8</java.version> |
| <hutool.version>4.0.8</hutool.version> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <jasypt.version>1.9.2</jasypt.version> |
| <lombok.version>1.18.12</lombok.version> |
| <springfox.version>2.6.1</springfox.version> |
| <mybatis.starter.version>1.1.1</mybatis.starter.version> |
| <mysql.version>8.0.11</mysql.version> |
| <druid.version>1.0.29</druid.version> |
| <commons-lang3.version>3.3.2</commons-lang3.version> |
| <guava.version>[30.1-jre,)</guava.version> |
| <commons-collections4.version>4.1</commons-collections4.version> |
| <reactor-spring.version>1.0.1.RELEASE</reactor-spring.version> |
| <disruptor.version>3.4.0</disruptor.version> |
| <hessian.version>4.0.38</hessian.version> |
| <protostuff.version>1.0.8</protostuff.version> |
| <kryo.version>4.0.0</kryo.version> |
| <pagehelper.version>5.1.2</pagehelper.version> |
| <alibaba.dubbo.version>2.6.5</alibaba.dubbo.version> |
| <apache.dubbo.version>2.7.5</apache.dubbo.version> |
| <gson.version>2.8.0</gson.version> |
| <okhttp.version>3.7.0</okhttp.version> |
| <mapstruct.version>1.3.1.Final</mapstruct.version> |
| <prometheus-java-client.version>0.6.0</prometheus-java-client.version> |
| <frontend.plugin.skip>true</frontend.plugin.skip> |
| <swagger.version>2.9.2</swagger.version> |
| <sofa.rpc.version>5.7.6</sofa.rpc.version> |
| <tars.version>1.7.2</tars.version> |
| <skipTests>false</skipTests> |
| <undertow.version>2.2.2.Final</undertow.version> |
| <curator-test.version>3.3.0</curator-test.version> |
| <wiremock.version>2.18.0</wiremock.version> |
| <zookeeper.version>3.5.6</zookeeper.version> |
| <zkclient.version>0.10</zkclient.version> |
| <shiro.version>1.7.0</shiro.version> |
| <jwt.version>3.12.0</jwt.version> |
| <!--maven plugin version--> |
| <exec-maven-plugin.version>1.6.0</exec-maven-plugin.version> |
| <apache-rat-plugin.version>0.12</apache-rat-plugin.version> |
| <jacoco-maven-plugin.version>0.8.5</jacoco-maven-plugin.version> |
| <nexus-staging-maven-plugin.version>1.6.3</nexus-staging-maven-plugin.version> |
| <maven-gpg-plugin.version>1.6</maven-gpg-plugin.version> |
| <maven-source-plugin.version>3.0.1</maven-source-plugin.version> |
| <maven-surefire-plugin.version>3.0.0-M4</maven-surefire-plugin.version> |
| <maven-javadoc-plugin.version>2.10.3</maven-javadoc-plugin.version> |
| <maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version> |
| <maven-release-plugin.version>2.5.3</maven-release-plugin.version> |
| <versions-maven-plugin.version>2.5</versions-maven-plugin.version> |
| <maven-checkstyle-plugin.version>3.1.0</maven-checkstyle-plugin.version> |
| <frontend-maven-plugin.version>1.6</frontend-maven-plugin.version> |
| <frontend-maven-plugin.node.version>v12.14.1</frontend-maven-plugin.node.version> |
| <java-websocket.version>1.5.0</java-websocket.version> |
| <mockito.version>3.5.15</mockito.version> |
| <nacos-client.version>2.0.0</nacos-client.version> |
| </properties> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.mapstruct</groupId> |
| <artifactId>mapstruct-processor</artifactId> |
| <version>${mapstruct.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.mapstruct</groupId> |
| <artifactId>mapstruct</artifactId> |
| <version>${mapstruct.version}</version> |
| </dependency> |
| |
| <!-- https://mvnrepository.com/artifact/com.google.code.gson/gson --> |
| <dependency> |
| <groupId>com.google.code.gson</groupId> |
| <artifactId>gson</artifactId> |
| <version>${gson.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.squareup.okhttp3</groupId> |
| <artifactId>okhttp</artifactId> |
| <version>${okhttp.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.projectlombok</groupId> |
| <artifactId>lombok</artifactId> |
| <version>${lombok.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>io.prometheus</groupId> |
| <artifactId>simpleclient</artifactId> |
| <version>${prometheus-java-client.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.prometheus</groupId> |
| <artifactId>simpleclient_httpserver</artifactId> |
| <version>${prometheus-java-client.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>io.prometheus</groupId> |
| <artifactId>simpleclient_hotspot</artifactId> |
| <version>${prometheus-java-client.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.dubbo</groupId> |
| <artifactId>dubbo</artifactId> |
| <version>${apache.dubbo.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.alipay.sofa</groupId> |
| <artifactId>sofa-rpc-all</artifactId> |
| <version>${sofa.rpc.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.alibaba</groupId> |
| <artifactId>dubbo</artifactId> |
| <version>${alibaba.dubbo.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.lmax</groupId> |
| <artifactId>disruptor</artifactId> |
| <version>${disruptor.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.mybatis.spring.boot</groupId> |
| <artifactId>mybatis-spring-boot-starter</artifactId> |
| <version>${mybatis.starter.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>mysql</groupId> |
| <artifactId>mysql-connector-java</artifactId> |
| <version>${mysql.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.alibaba</groupId> |
| <artifactId>druid</artifactId> |
| <version>${druid.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-lang3</artifactId> |
| <version>${commons-lang3.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| <version>${guava.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-collections4</artifactId> |
| <version>${commons-collections4.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.projectreactor</groupId> |
| <artifactId>reactor-spring</artifactId> |
| <version>${reactor-spring.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.caucho</groupId> |
| <artifactId>hessian</artifactId> |
| <version>${hessian.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.esotericsoftware</groupId> |
| <artifactId>kryo-shaded</artifactId> |
| <version>${kryo.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.dyuproject.protostuff</groupId> |
| <artifactId>protostuff-core</artifactId> |
| <version>${protostuff.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.dyuproject.protostuff</groupId> |
| <artifactId>protostuff-runtime</artifactId> |
| <version>${protostuff.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.zookeeper</groupId> |
| <artifactId>zookeeper</artifactId> |
| <version>${zookeeper.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.101tec</groupId> |
| <artifactId>zkclient</artifactId> |
| <version>${zkclient.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.github.pagehelper</groupId> |
| <artifactId>pagehelper</artifactId> |
| <version>${pagehelper.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>io.springfox</groupId> |
| <artifactId>springfox-swagger2</artifactId> |
| <version>${swagger.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>io.springfox</groupId> |
| <artifactId>springfox-swagger-ui</artifactId> |
| <version>${swagger.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.tencent.tars</groupId> |
| <artifactId>tars-spring-boot-starter</artifactId> |
| <version>${tars.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.alibaba.nacos</groupId> |
| <artifactId>nacos-client</artifactId> |
| <version>${nacos-client.version}</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <dependencies> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jcl-over-slf4j</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.projectlombok</groupId> |
| <artifactId>lombok</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest-library</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <version>${mockito.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-inline</artifactId> |
| <version>${mockito.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- <dependency>--> |
| <!-- <groupId>ch.qos.logback</groupId>--> |
| <!-- <artifactId>logback-classic</artifactId>--> |
| <!-- </dependency>--> |
| </dependencies> |
| |
| <distributionManagement> |
| <snapshotRepository> |
| <id>ossrh</id> |
| <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| </snapshotRepository> |
| <repository> |
| <id>ossrh</id> |
| <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| </repository> |
| </distributionManagement> |
| |
| <profiles> |
| <profile> |
| <id>soul-dashboard</id> |
| <activation> |
| <activeByDefault>false</activeByDefault> |
| </activation> |
| <properties> |
| <frontend.plugin.skip>false</frontend.plugin.skip> |
| </properties> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <version>${exec-maven-plugin.version}</version> |
| <executions> |
| <execution> |
| <id>git submodule update</id> |
| <phase>initialize</phase> |
| <inherited>false</inherited> |
| <configuration> |
| <executable>git</executable> |
| <arguments> |
| <argument>submodule</argument> |
| <argument>update</argument> |
| <argument>--init</argument> |
| <argument>--recursive</argument> |
| </arguments> |
| </configuration> |
| <goals> |
| <goal>exec</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>release</id> |
| <activation> |
| <activeByDefault>false</activeByDefault> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.sonatype.plugins</groupId> |
| <artifactId>nexus-staging-maven-plugin</artifactId> |
| <version>${nexus-staging-maven-plugin.version}</version> |
| <extensions>true</extensions> |
| <configuration> |
| <serverId>ossrh</serverId> |
| <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-gpg-plugin</artifactId> |
| <version>${maven-gpg-plugin.version}</version> |
| <executions> |
| <execution> |
| <phase>verify</phase> |
| <goals> |
| <goal>sign</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>${maven-source-plugin.version}</version> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>jar-no-fork</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>${maven-surefire-plugin.version}</version> |
| <configuration> |
| <skip>${skipTests}</skip> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>${maven-javadoc-plugin.version}</version> |
| <configuration> |
| <aggregate>true</aggregate> |
| <sourcepath>src/main/java</sourcepath> |
| </configuration> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>${maven-compiler-plugin.version}</version> |
| <configuration> |
| <source>${java.version}</source> |
| <target>${java.version}</target> |
| <encoding>${project.build.sourceEncoding}</encoding> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-release-plugin</artifactId> |
| <version>${maven-release-plugin.version}</version> |
| <configuration> |
| <tagNameFormat>v@{project.version}</tagNameFormat> |
| <autoVersionSubmodules>true</autoVersionSubmodules> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>versions-maven-plugin</artifactId> |
| <version>${versions-maven-plugin.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>${maven-checkstyle-plugin.version}</version> |
| <configuration> |
| <configLocation>/script/soul_checkstyle.xml</configLocation> |
| <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| <excludes>**/transfer/**/*</excludes> |
| </configuration> |
| <executions> |
| <execution> |
| <id>validate</id> |
| <phase>validate</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.jacoco</groupId> |
| <artifactId>jacoco-maven-plugin</artifactId> |
| <version>${jacoco-maven-plugin.version}</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>prepare-agent</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>report</id> |
| <phase>test</phase> |
| <goals> |
| <goal>report</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <version>${apache-rat-plugin.version}</version> |
| <configuration> |
| <excludes> |
| <exclude>**/target/**</exclude> |
| <exclude>**/logs/**</exclude> |
| <exclude>**/*.log</exclude> |
| <exclude>**/*.tar.gz</exclude> |
| <exclude>**/spring.factories</exclude> |
| <exclude>**/spring.provides</exclude> |
| <exclude>/script/**</exclude> |
| <exclude>**/lombok.config</exclude> |
| <exclude>**/*.json</exclude> |
| <!-- IDE files --> |
| <exclude>**/*.iml</exclude> |
| <exclude>**/.idea/**</exclude> |
| <exclude>**/*.classpath</exclude> |
| <exclude>**/.project</exclude> |
| <exclude>**/.settings/**</exclude> |
| <exclude>**/dependency-reduced-pom.xml</exclude> |
| <!-- git files --> |
| <exclude>**/.gitignore</exclude> |
| <exclude>**/.gitmodules</exclude> |
| <exclude>**/.git/**</exclude> |
| <!-- CI files --> |
| <exclude>**/.travis.yml</exclude> |
| <exclude>**/.codecov.yml</exclude> |
| <exclude>**/.mvn/jvm.config</exclude> |
| <exclude>**/.mvn/wrapper/maven-wrapper.properties</exclude> |
| <!-- GitHub files --> |
| <exclude>**/.github/**</exclude> |
| <!-- document files --> |
| <exclude>**/*.md</exclude> |
| <excldue>**/*.MD</excldue> |
| <excldue>**/*.conf</excldue> |
| <excldue>**/*.tars</excldue> |
| <exclude>**/*.txt</exclude> |
| <exclude>**/docs/**</exclude> |
| <!-- UI files --> |
| <exclude>/soul-dashboard/**</exclude> |
| <exclude>**/resources/static/</exclude> |
| </excludes> |
| </configuration> |
| <executions> |
| <execution> |
| <phase>verify</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |