|
|
@@ -0,0 +1,130 @@
|
|
|
+<?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>market_warehouse</artifactId>
|
|
|
+ <groupId>com.liangjiang</groupId>
|
|
|
+ <version>1.0</version>
|
|
|
+ </parent>
|
|
|
+ <modelVersion>4.0.0</modelVersion>
|
|
|
+ <name>basics</name>
|
|
|
+ <artifactId>basic</artifactId>
|
|
|
+
|
|
|
+ <dependencies>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-web</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.baomidou</groupId>
|
|
|
+ <artifactId>mybatis-plus-boot-starter</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-aop</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>mysql</groupId>
|
|
|
+ <artifactId>mysql-connector-java</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <!-- druid数据源驱动 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.alibaba</groupId>
|
|
|
+ <artifactId>druid-spring-boot-starter</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <!--json-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.alibaba</groupId>
|
|
|
+ <artifactId>fastjson</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.baomidou</groupId>
|
|
|
+ <artifactId>mybatis-plus-generator</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.github.pagehelper</groupId>
|
|
|
+ <artifactId>pagehelper-spring-boot-starter</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <!-- 由于SpringBoot 2.x中默认并没有使用Redis连接池,所以需要添加commons-pool2的依赖 -->
|
|
|
+<!-- <dependency>-->
|
|
|
+<!-- <groupId>org.apache.commons</groupId>-->
|
|
|
+<!-- <artifactId>commons-pool2</artifactId>-->
|
|
|
+<!-- </dependency>-->
|
|
|
+<!-- <!–redis依赖配置–>-->
|
|
|
+<!-- <dependency>-->
|
|
|
+<!-- <groupId>org.springframework.boot</groupId>-->
|
|
|
+<!-- <artifactId>spring-boot-starter-data-redis</artifactId>-->
|
|
|
+<!-- </dependency>-->
|
|
|
+ <!-- hutool 一个常用工具集 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>cn.hutool</groupId>
|
|
|
+ <artifactId>hutool-all</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>commons-io</groupId>
|
|
|
+ <artifactId>commons-io</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.commons</groupId>
|
|
|
+ <artifactId>commons-collections4</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.projectlombok</groupId>
|
|
|
+ <artifactId>lombok</artifactId>
|
|
|
+ <scope>provided</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>junit</groupId>
|
|
|
+ <artifactId>junit</artifactId>
|
|
|
+ <scope>test</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-test</artifactId>
|
|
|
+ <scope>test</scope>
|
|
|
+ </dependency>
|
|
|
+ <!-- 参数校验 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-validation</artifactId>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+ <build>
|
|
|
+ <finalName>basics</finalName>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <source>1.8</source>
|
|
|
+ <target>1.8</target>
|
|
|
+ <encoding>utf-8</encoding>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ <!--打包一个JAR-->
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <mainClass>com.liangjiang.basic.BasicApp</mainClass>
|
|
|
+ <includeSystemScope>true</includeSystemScope>
|
|
|
+ </configuration>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <goals>
|
|
|
+ <goal>repackage</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-surefire-plugin</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <testFailureIgnore>true</testFailureIgnore>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </build>
|
|
|
+</project>
|