<?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>org.yssh</groupId>
|
<artifactId>yssh</artifactId>
|
<version>1.0-SNAPSHOT</version>
|
<packaging>war</packaging>
|
<parent>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-parent</artifactId>
|
<version>2.3.3.RELEASE</version>
|
</parent>
|
<properties>
|
<java.version>1.8</java.version>
|
</properties>
|
<dependencies>
|
<dependency>
|
<groupId>ch.qos.logback</groupId>
|
<artifactId>logback-core</artifactId>
|
<version>1.1.3</version>
|
</dependency>
|
<dependency>
|
<groupId>ch.qos.logback</groupId>
|
<artifactId>logback-access</artifactId>
|
<version>1.1.3</version>
|
</dependency>
|
<dependency>
|
<groupId>ch.qos.logback</groupId>
|
<artifactId>logback-classic</artifactId>
|
<version>1.1.3</version>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-aop</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>mysql</groupId>
|
<artifactId>mysql-connector-java</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.mybatis.spring.boot</groupId>
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
<version>1.3.0</version>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-web</artifactId>
|
<!--<exclusions>
|
<exclusion>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
</exclusion>
|
</exclusions>-->
|
</dependency>
|
<dependency>
|
<groupId>com.baomidou</groupId>
|
<artifactId>mybatis-plus-extension</artifactId>
|
<version>3.4.1</version>
|
</dependency>
|
<dependency><!--添加Swagger依赖 -->
|
<groupId>io.springfox</groupId>
|
<artifactId>springfox-swagger2</artifactId>
|
<version>2.7.0</version>
|
</dependency>
|
<dependency><!--添加Swagger-UI依赖 -->
|
<groupId>io.springfox</groupId>
|
<artifactId>springfox-swagger-ui</artifactId>
|
<version>2.7.0</version>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework</groupId>
|
<artifactId>spring-tx</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>com.google.code.gson</groupId>
|
<artifactId>gson</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.projectlombok</groupId>
|
<artifactId>lombok</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.openjdk.jol</groupId>
|
<artifactId>jol-core</artifactId>
|
<version>0.9</version>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-test</artifactId>
|
<exclusions>
|
<exclusion>
|
<groupId>org.junit.vintage</groupId>
|
<artifactId>junit-vintage-engine</artifactId>
|
</exclusion>
|
</exclusions>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework</groupId>
|
<artifactId>spring-core</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.apache.commons</groupId>
|
<artifactId>commons-lang3</artifactId>
|
<version>3.12.0</version>
|
</dependency>
|
<dependency>
|
<groupId>org.apache.maven.surefire</groupId>
|
<artifactId>surefire-booter</artifactId>
|
<version>2.22.2</version>
|
</dependency>
|
|
<!-- 添加本地jar包依赖 bigData-0.0.1-SNAPSHOT -->
|
<!--<dependency>
|
<groupId>com.terra</groupId>
|
<artifactId>bigData</artifactId>
|
<version>0.0.1-SNAPSHOT</version>
|
<scope>bigData</scope>
|
<systemPath>${pom.basedir}/jar/bigData-0.0.1-SNAPSHOT.jar</systemPath>
|
</dependency>-->
|
|
</dependencies>
|
|
|
<build>
|
<finalName>yssh</finalName>
|
<plugins>
|
<!--带jar一起打包-->
|
<!--<plugin>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
<configuration>
|
<includeSystemScope>true</includeSystemScope>
|
</configuration>
|
</plugin>-->
|
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-war-plugin</artifactId>
|
<version>3.0.0</version>
|
<configuration>
|
<!--如果想在没有web.xml文件的情况下构建WAR,请设置为false。-->
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
</configuration>
|
</plugin>
|
<plugin>
|
<groupId>org.codehaus.cargo</groupId>
|
<artifactId>cargo-maven2-plugin</artifactId>
|
<version>1.5.0</version>
|
<configuration>
|
<container>
|
<containerId>tomcat8x</containerId>
|
<type>remote</type>
|
<timeout>1200000</timeout>
|
</container>
|
<configuration>
|
<type>runtime</type>
|
<properties>
|
<cargo.remote.username>admin</cargo.remote.username>
|
<cargo.remote.password>terra</cargo.remote.password>
|
<cargo.remote.uri>http://183.162.245.49:2228/manager/text</cargo.remote.uri>
|
</properties>
|
</configuration>
|
</configuration>
|
</plugin>
|
</plugins>
|
</build>
|
<profiles>
|
<!-- 开发 -->
|
<profile>
|
<id>dev</id>
|
<activation>
|
<!--默认激活配置-->
|
<activeByDefault>true</activeByDefault>
|
</activation>
|
<properties>
|
<!--当前环境-->
|
<springActive>dev</springActive>
|
</properties>
|
</profile>
|
<!-- 测试 -->
|
<profile>
|
<id>test</id>
|
<properties>
|
<!--当前环境-->
|
<springActive>test</springActive>
|
</properties>
|
</profile>
|
<!-- 生产 -->
|
<profile>
|
<id>prod</id>
|
<properties>
|
<springActive>prod</springActive>
|
</properties>
|
</profile>
|
</profiles>
|
</project>
|