123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- <?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">
- <modelVersion>4.0.0</modelVersion>
- <groupId>com.nokia</groupId>
- <artifactId>esb-socket</artifactId>
- <version>1.1</version>
- <packaging>jar</packaging>
- <properties>
- <!-- 跳过测试代码 -->
- <skipTests>true</skipTests>
- <!-- 指定java的版本 -->
- <java.version>1.8</java.version>
- <!-- 文件拷贝时的编码 -->
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
- <!-- 指定maven-compiler-plugin的配置属性开始 -->
- <!-- 编译时的编码 -->
- <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
- <!-- 指定编译的版本 -->
- <maven.compiler.source>1.8</maven.compiler.source>
- <maven.compiler.target>1.8</maven.compiler.target>
- <maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion>
- <!-- 指定maven-compiler-plugin的配置属性结束 -->
- </properties>
- <dependencies>
- <dependency>
- <groupId>com.nokia</groupId>
- <artifactId>request-log-interceptor-starter</artifactId>
- <version>1.0</version>
- </dependency>
- <!-- 引入netty框架 -->
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-all</artifactId>
- <version>4.1.92.Final</version>
- </dependency>
- <!--starter-web-->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-web</artifactId>
- </dependency>
- <!--lombok-->
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- <scope>provided</scope>
- </dependency>
- <!-- springboot-test -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-test</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <dependencyManagement>
- <dependencies>
- <!-- 当不把spring-boot-parent
- 作为parent项目时,需要使用dependencyManagement引入spring-boot-dependencies管理依赖 -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-dependencies</artifactId>
- <version>2.6.14</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
- <build>
- <finalName>esb-socket</finalName>
- <plugins>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <version>2.6.14</version>
- <executions>
- <execution>
- <goals>
- <goal>repackage</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <classifier>exec</classifier>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </project>
|