<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>com.qianwen</groupId>
|
<artifactId>mdc-parent</artifactId>
|
<version>1.0.0-SNAPSHOT</version>
|
</parent>
|
<artifactId>mdc-show</artifactId>
|
|
<name>mdc</name>
|
<description>Mdc show program</description>
|
|
<properties>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<java.version>1.8</java.version>
|
<druid.version>1.1.18</druid.version>
|
<fastjson.version>1.2.58</fastjson.version>
|
<commons-io.version>2.10.0</commons-io.version>
|
<commons-codec.version>1.10</commons-codec.version>
|
|
<jedis.version>3.1.0</jedis.version>
|
<commons-pool2.version>2.6.2</commons-pool2.version>
|
<poi.version>4.1.2</poi.version>
|
<poi-ooxml.version>4.1.2</poi-ooxml.version>
|
<poi-ooxml-schemas.version>4.1.2</poi-ooxml-schemas.version>
|
<skipTests>false</skipTests>
|
</properties>
|
|
<dependencies>
|
<!-- spring boot begin -->
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>com.alibaba</groupId>
|
<artifactId>druid-spring-boot-starter</artifactId>
|
<version>${druid.version}</version>
|
</dependency>
|
|
<dependency>
|
<groupId>com.baomidou</groupId>
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-web</artifactId>
|
</dependency>
|
<!--<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
<version>${springboot-thymeleaf.version}</version>
|
</dependency>
|
<dependency>
|
<groupId>com.github.pagehelper</groupId>
|
<artifactId>pagehelper-spring-boot-starter</artifactId>
|
<version>${pagehelper.version}</version>
|
</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-data-redis</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.apache.commons</groupId>
|
<artifactId>commons-pool2</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-websocket</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-validation</artifactId>
|
</dependency>
|
|
<!-- spring boot end -->
|
<dependency>
|
<groupId>org.apache.commons</groupId>
|
<artifactId>commons-lang3</artifactId>
|
</dependency>
|
|
<!-- commons-io -->
|
<dependency>
|
<groupId>commons-io</groupId>
|
<artifactId>commons-io</artifactId>
|
</dependency>
|
|
<dependency>
|
<groupId>com.qianwen</groupId>
|
<artifactId>mdc-showdb-mysql</artifactId>
|
<version>${parent.version}</version>
|
</dependency>
|
|
<!--json-->
|
<dependency>
|
<groupId>com.alibaba</groupId>
|
<artifactId>fastjson</artifactId>
|
<version>${fastjson.version}</version>
|
</dependency>
|
|
<!--commons-codec-->
|
<dependency>
|
<groupId>commons-codec</groupId>
|
<artifactId>commons-codec</artifactId>
|
</dependency>
|
|
|
<!--雪花漂移ID生成器-->
|
<dependency>
|
<groupId>io.github.lmlx66</groupId>
|
<artifactId>yitter-idgenerator-spring-boot-starter</artifactId>
|
</dependency>
|
|
<!--pagehelper-->
|
<!--
|
<dependency>
|
<groupId>com.github.pagehelper</groupId>
|
<artifactId>pagehelper-spring-boot-starter</artifactId>
|
<version>${pagehelper.version}</version>
|
</dependency>
|
-->
|
|
|
<!-- <dependency>
|
<groupId>org.opcfoundation</groupId>
|
<artifactId>opc-ua</artifactId>
|
<version>1.0.0</version>
|
</dependency> -->
|
|
<!--poi-->
|
<dependency>
|
<groupId>org.apache.poi</groupId>
|
<artifactId>poi</artifactId>
|
<version>${poi.version}</version>
|
</dependency>
|
<dependency>
|
<groupId>org.apache.poi</groupId>
|
<artifactId>poi-ooxml</artifactId>
|
<version>${poi-ooxml.version}</version>
|
</dependency>
|
<dependency>
|
<groupId>org.apache.poi</groupId>
|
<artifactId>poi-ooxml-schemas</artifactId>
|
<version>${poi-ooxml-schemas.version}</version>
|
</dependency>
|
|
<!-- ureport2 报表-->
|
<dependency>
|
<groupId>com.kacheyi.ureport</groupId>
|
<artifactId>ureport2-console</artifactId>
|
<version>2.3.4-RELEASE</version>
|
</dependency>
|
</dependencies>
|
|
<build>
|
<plugins>
|
<plugin>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
<configuration>
|
<mainClass>com.qianwen.mdc.MdcApplication</mainClass>
|
<!-- -->
|
<layout>ZIP</layout>
|
|
<includes>
|
<!-- 打包时包含核心模块依赖包,需手动指定 -->
|
<include>
|
<groupId>nothing</groupId>
|
<artifactId>nothing</artifactId>
|
</include>
|
<!--
|
<include>
|
<groupId>com.xxx</groupId>
|
<artifactId>common</artifactId>
|
</include>
|
-->
|
</includes>
|
</configuration>
|
</plugin>
|
<!-- 将第三方包拷贝到lib目录 -->
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-dependency-plugin</artifactId>
|
<executions>
|
<execution>
|
<id>copy-dependencies</id>
|
<phase>package</phase>
|
<goals>
|
<goal>copy-dependencies</goal>
|
</goals>
|
<configuration>
|
<outputDirectory>${project.build.directory}/lib</outputDirectory>
|
<includeScope>runtime</includeScope>
|
</configuration>
|
</execution>
|
</executions>
|
</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>
|
<compilerArguments>
|
<extdirs>${project.basedir}/src/main/resources/lib/opcua</extdirs>
|
</compilerArguments>
|
</configuration>
|
</plugin>
|
</plugins>
|
</build>
|
</project>
|