113 lines
3.7 KiB
XML
113 lines
3.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<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">
|
|
<parent>
|
|
<artifactId>xjs-study</artifactId>
|
|
<groupId>com.xjs</groupId>
|
|
<version>1.0</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<packaging>pom</packaging>
|
|
<name>dubbo项目</name>
|
|
<modules>
|
|
<module>service-api</module>
|
|
<module>service-provider</module>
|
|
<module>service-consumer</module>
|
|
<module>dubbo-spi-api</module>
|
|
<module>dubbo-spi-impl</module>
|
|
<module>dubbo-spi-main</module>
|
|
</modules>
|
|
|
|
<artifactId>dubbo-project</artifactId>
|
|
|
|
<properties>
|
|
<maven.compiler.source>11</maven.compiler.source>
|
|
<maven.compiler.target>11</maven.compiler.target>
|
|
<dubbo.version>2.7.5</dubbo.version>
|
|
</properties>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.dubbo</groupId>
|
|
<artifactId>dubbo</artifactId>
|
|
<version>${dubbo.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.dubbo</groupId>
|
|
<artifactId>dubbo-common</artifactId>
|
|
<version>${dubbo.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.dubbo</groupId>
|
|
<artifactId>dubbo-registry-zookeeper</artifactId>
|
|
<version>${dubbo.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.dubbo</groupId>
|
|
<artifactId>dubbo-registry-nacos</artifactId>
|
|
<version>${dubbo.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.dubbo</groupId>
|
|
<artifactId>dubbo-rpc-dubbo</artifactId>
|
|
<version>${dubbo.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.dubbo</groupId>
|
|
<artifactId>dubbo-remoting-netty4</artifactId>
|
|
<version>${dubbo.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.dubbo</groupId>
|
|
<artifactId>dubbo-serialization-hessian2</artifactId>
|
|
<version>${dubbo.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<dependencies>
|
|
<!-- 日志配置 -->
|
|
<dependency>
|
|
<groupId>log4j</groupId>
|
|
<artifactId>log4j</artifactId>
|
|
<version>1.2.16</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>1.7.5</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
<version>1.7.5</version>
|
|
</dependency>
|
|
|
|
<!-- json数据化转换 -->
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>fastjson</artifactId>
|
|
<version>1.2.62</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.3</version>
|
|
<configuration>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|