123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289 |
- <?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-parent</artifactId>
- <version>2.5.4</version>
- <relativePath/> <!-- lookup parent from repository -->
- </parent>
- <groupId>com.chy</groupId>
- <artifactId>borrow</artifactId>
- <version>0.0.1-SNAPSHOT</version>
- <packaging>war</packaging>
- <name>borrow</name>
- <description>borrow managemanet</description>
- <properties>
- <encoding>UTF-8</encoding>
- <java.version>1.8</java.version>
- <commons-lang3.version>3.4</commons-lang3.version>
- </properties>
- <dependencies>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-web</artifactId>
- <!-- <exclusions>-->
- <!-- <exclusion>-->
- <!-- <groupId>org.springframework.boot</groupId>-->
- <!-- <artifactId>spring-boot-starter-logging</artifactId>-->
- <!-- </exclusion>-->
- <!-- </exclusions>-->
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-freemarker</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-aop</artifactId>
- </dependency>
- <!--lombok 在实体类上面添加@Data 可以自动生成get、set、toString等方法-->
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- <version>1.16.10</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-tomcat</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-test</artifactId>
- <scope>test</scope>
- </dependency>
- <!-- 瀚高 -->
- <dependency>
- <groupId>com.highgo</groupId>
- <artifactId>HgdbJdbc</artifactId>
- <version>6.0.5.jre8</version>
- </dependency>
- <dependency>
- <groupId>org.jetbrains</groupId>
- <artifactId>annotations</artifactId>
- <version>19.0.0</version>
- <scope>compile</scope>
- </dependency>
- <!-- <dependency>-->
- <!-- <groupId>com.baomidou</groupId>-->
- <!-- <artifactId>mybatis-plus</artifactId>-->
- <!-- <version>3.5.1</version>-->
- <!-- </dependency>-->
- <dependency>
- <groupId>com.baomidou</groupId>
- <artifactId>mybatis-plus-boot-starter</artifactId>
- <version>3.4.1</version>
- </dependency>
- <!--数据库连接驱动 连接配置修改时间-->
- <!--模板引擎-->
- <dependency>
- <groupId>org.apache.velocity</groupId>
- <artifactId>velocity-engine-core</artifactId>
- <version>2.2</version>
- </dependency>
- <dependency>
- <groupId>com.baomidou</groupId>
- <artifactId>mybatis-plus-generator</artifactId>
- <version>3.3.0</version>
- </dependency>
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>fastjson</artifactId>
- <version>1.2.68</version>
- </dependency>
- <!-- <dependency>-->
- <!-- <groupId>io.springfox</groupId>-->
- <!-- <artifactId>springfox-boot-starter</artifactId>-->
- <!-- <version>3.0.0</version>-->
- <!-- </dependency>-->
- <dependency>
- <groupId>io.springfox</groupId>
- <artifactId>springfox-swagger-ui</artifactId>
- <version>2.9.2</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>io.swagger</groupId>
- <artifactId>swagger-annotations</artifactId>
- <version>1.5.20</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>io.springfox</groupId>
- <artifactId>springfox-swagger2</artifactId>
- <version>2.9.2</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.postgresql</groupId>
- <artifactId>postgresql</artifactId>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>com.github.pagehelper</groupId>
- <artifactId>pagehelper-spring-boot-starter</artifactId>
- <version>1.2.13</version>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.shanghaigeography</groupId>
- <artifactId>Infrastructure</artifactId>
- <version>1.1-SNAPSHOT</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/libs/Infrastructure-1.1-SNAPSHOT.jar</systemPath>
- </dependency>
- <dependency>
- <groupId>cn.hutool</groupId>
- <artifactId>hutool-all</artifactId>
- <version>5.5.2</version>
- </dependency>
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- <version>2.6</version>
- </dependency>
- <!--工具-->
- <dependency>
- <groupId>commons-beanutils</groupId>
- <artifactId>commons-beanutils</artifactId>
- <version>1.9.4</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-lang3</artifactId>
- <version>${commons-lang3.version}</version>
- </dependency>
- <dependency>
- <groupId>cn.afterturn</groupId>
- <artifactId>easypoi-base</artifactId>
- <version>4.1.0</version>
- </dependency>
- <dependency>
- <groupId>org.jfree</groupId>
- <artifactId>jcommon</artifactId>
- <version>1.0.24</version>
- </dependency>
- <dependency>
- <groupId>org.jfree</groupId>
- <artifactId>jfreechart</artifactId>
- <version>1.5.0</version>
- </dependency>
- <dependency>
- <groupId>net.sourceforge.javacsv</groupId>
- <artifactId>javacsv</artifactId>
- <version>2.0</version>
- </dependency>
- <!-- https://mvnrepository.com/artifact/com.opencsv/opencsv -->
- <dependency>
- <groupId>com.opencsv</groupId>
- <artifactId>opencsv</artifactId>
- <version>3.8</version>
- </dependency>
- </dependencies>
- <profiles>
- <profile>
- <!-- 本地开发环境 -->
- <id>dev</id>
- <properties>
- <profiles.active>dev</profiles.active>
- </properties>
- <activation>
- <!-- 设置默认激活这个配置 -->
- <activeByDefault>true</activeByDefault>
- </activation>
- </profile>
- <!-- <profile>-->
- <!-- <!– 发布环境 –>-->
- <!-- <id>pro-file</id>-->
- <!-- <properties>-->
- <!-- <profiles.active>pro/fileServer</profiles.active>-->
- <!-- </properties>-->
- <!-- </profile>-->
- <!-- <profile>-->
- <!-- <!– 发布环境 –>-->
- <!-- <id>pro-service</id>-->
- <!-- <properties>-->
- <!-- <profiles.active>pro/serviceServer</profiles.active>-->
- <!-- </properties>-->
- <!-- <activation>-->
- <!-- <!– 设置默认激活这个配置 –>-->
- <!-- <activeByDefault>true</activeByDefault>-->
- <!-- </activation>-->
- <!-- </profile>-->
- <profile>
- <!-- 测试环境 -->
- <id>test</id>
- <properties>
- <profiles.active>test</profiles.active>
- </properties>
- </profile>
- </profiles>
- <build>
- <finalName>borrow-service</finalName>
- <resources>
- <resource>
- <directory>src/main/java</directory>
- <!-- 此配置不可缺,否则mybatis的Mapper.xml将会丢失 -->
- <includes>
- <include>**/*.xml</include>
- </includes>
- </resource>
- <resource>
- <!--打包时先排除不必要的文件,想要指定加入的再下面的resource指定-->
- <directory>${project.basedir}/src/main/resources</directory>
- <excludes>
- <exclude>profile/**</exclude>
- </excludes>
- </resource>
- <resource>
- <!-- 根据不同的环境,把对应文件夹里的配置文件打包-->
- <directory>${project.basedir}/src/main/resources/profile/${profiles.active}</directory>
- <filtering>true</filtering>
- </resource>
- </resources>
- <plugins>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <configuration>
- <excludes>
- <exclude>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- </exclude>
- </excludes>
- <mainClass>com.chy.borrow.BorrowWebApplication</mainClass>
- </configuration>
- </plugin>
- <!-- <plugin>-->
- <!-- <artifactId>maven-war-plugin</artifactId>-->
- <!-- <version>3.0.0</version>-->
- <!-- </plugin>-->
- <!-- <plugin>-->
- <!-- <groupId>org.apache.maven.plugins</groupId>-->
- <!-- <artifactId>maven-compiler-plugin</artifactId>-->
- <!-- <version>3.8.1</version>-->
- <!-- <configuration>-->
- <!-- <source>1.8</source>-->
- <!-- <target>1.8</target>-->
- <!-- <encoding>UTF-8</encoding>-->
- <!-- </configuration>-->
- <!-- </plugin>-->
- </plugins>
- </build>
- </project>
|