432 Zeilen
20 KiB
XML
432 Zeilen
20 KiB
XML
<?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>
|
|
<modules>
|
|
<module>wms-gateway</module>
|
|
<module>wms-core</module>
|
|
<module>wms-common</module>
|
|
<module>wms-passport</module>
|
|
<module>wms-upms</module>
|
|
<module>wms-empty</module>
|
|
</modules>
|
|
|
|
<parent>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<version>2.0.4.RELEASE</version>
|
|
</parent>
|
|
|
|
<groupId>com.mt</groupId>
|
|
<artifactId>wms</artifactId>
|
|
<packaging>pom</packaging>
|
|
<version>1.0</version>
|
|
|
|
<name>wms</name>
|
|
<description>wms</description>
|
|
<url>https://wms.picaiba.com</url>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>dev</id>
|
|
<activation>
|
|
<activeByDefault>true</activeByDefault>
|
|
</activation>
|
|
<properties>
|
|
<profileActive>dev</profileActive>
|
|
<gateway.server.port>8080</gateway.server.port>
|
|
<spring.security.user.name>wms</spring.security.user.name>
|
|
<spring.security.user.password>wms</spring.security.user.password>
|
|
<!-- rabbitmq -->
|
|
<spring.rabbitmq.host>127.0.0.1</spring.rabbitmq.host>
|
|
<spring.rabbitmq.port>5672</spring.rabbitmq.port>
|
|
<spring.rabbitmq.username>guest</spring.rabbitmq.username>
|
|
<spring.rabbitmq.password>guest</spring.rabbitmq.password>
|
|
<!-- redis -->
|
|
<spring.redis.cluster.nodes>redis.picaiba.com:6380</spring.redis.cluster.nodes>
|
|
<spring.redis.host>redis.picaiba.com</spring.redis.host>
|
|
<spring.redis.port>6380</spring.redis.port>
|
|
<spring.redis.password><![CDATA["@WSXcde3"]]></spring.redis.password>
|
|
<spring.redis.database>5</spring.redis.database>
|
|
<!-- database -->
|
|
<spring.datasource.url>jdbc:p6spy:mysql://mysql.picaiba.com:30306/wms?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
|
|
</spring.datasource.url>
|
|
<spring.datasource.username>wms</spring.datasource.username>
|
|
<spring.datasource.password>1qaz@WS</spring.datasource.password>
|
|
<!-- email -->
|
|
<spring.mail.host>smtp.mxhichina.com</spring.mail.host>
|
|
<!-- #25 ssl 465 -->
|
|
<spring.mail.port>465</spring.mail.port>
|
|
<spring.mail.username>noreply@mt.com</spring.mail.username>
|
|
<spring.mail.password>noreply</spring.mail.password>
|
|
<!-- devtools -->
|
|
<spring.devtools.remote.secret>wms</spring.devtools.remote.secret>
|
|
<spring.devtools.remote.livereload.enabled>true</spring.devtools.remote.livereload.enabled>
|
|
<!-- 公共相关配置-->
|
|
<wms.common.uploadPath>/work/uploadFile/</wms.common.uploadPath>
|
|
<wms.common.webHost>http://127.0.0.1:8080</wms.common.webHost>
|
|
<wms.common.apiHost>http://127.0.0.1:8080</wms.common.apiHost>
|
|
<!-- 短信相关配置-->
|
|
<wms.sms.channel>aliyun</wms.sms.channel>
|
|
<wms.aliyun.sms.product>Dysmsapi</wms.aliyun.sms.product>
|
|
<wms.aliyun.sms.domain>dysmsapi.aliyuncs.com</wms.aliyun.sms.domain>
|
|
<wms.aliyun.sms.accessKeyId>202020202020</wms.aliyun.sms.accessKeyId>
|
|
<wms.aliyun.sms.accessKeySecret>202020202020</wms.aliyun.sms.accessKeySecret>
|
|
<wms.tencentcloud.secretId>202020202020</wms.tencentcloud.secretId>
|
|
<wms.tencentcloud.secretKey>202020202020</wms.tencentcloud.secretKey>
|
|
<wms.tencentcloud.sms.appId>202020202020</wms.tencentcloud.sms.appId>
|
|
<wms.tencentcloud.sms.appKey>202020202020</wms.tencentcloud.sms.appKey>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>test</id>
|
|
<activation>
|
|
<activeByDefault>false</activeByDefault>
|
|
</activation>
|
|
<properties>
|
|
<profileActive>test</profileActive>
|
|
|
|
<gateway.server.port>9090</gateway.server.port>
|
|
|
|
<spring.security.user.name>wms</spring.security.user.name>
|
|
<spring.security.user.password>wms</spring.security.user.password>
|
|
<!-- rabbitmq -->
|
|
<spring.rabbitmq.host>127.0.0.1</spring.rabbitmq.host>
|
|
<spring.rabbitmq.port>5672</spring.rabbitmq.port>
|
|
<spring.rabbitmq.username>wms</spring.rabbitmq.username>
|
|
<spring.rabbitmq.password>wms</spring.rabbitmq.password>
|
|
<!-- redis -->
|
|
<spring.redis.cluster.nodes>redis.picaiba.com:6380</spring.redis.cluster.nodes>
|
|
<spring.redis.host>redis.picaiba.com</spring.redis.host>
|
|
<spring.redis.port>6380</spring.redis.port>
|
|
<spring.redis.password><![CDATA["@WSXcde3"]]></spring.redis.password>
|
|
<spring.redis.database>10</spring.redis.database>
|
|
<!-- database -->
|
|
<spring.datasource.url>jdbc:p6spy:mysql://mysql.picaiba.com:30306/wms?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
|
|
</spring.datasource.url>
|
|
<spring.datasource.username>wms</spring.datasource.username>
|
|
<spring.datasource.password>1qaz@WS</spring.datasource.password>
|
|
<!-- email -->
|
|
<spring.mail.host>smtp.mxhichina.com</spring.mail.host>
|
|
<!-- #25 ssl 465 -->
|
|
<spring.mail.port>465</spring.mail.port>
|
|
<spring.mail.username>noreply@mt.com</spring.mail.username>
|
|
<spring.mail.password>noreply</spring.mail.password>
|
|
<!-- devtools -->
|
|
<spring.devtools.remote.secret>wms</spring.devtools.remote.secret>
|
|
<spring.devtools.remote.livereload.enabled>false</spring.devtools.remote.livereload.enabled>
|
|
<!-- 公共相关配置-->
|
|
<wms.common.uploadPath>/home/api/uploadFile/</wms.common.uploadPath>
|
|
<wms.common.webHost>https://wms.mt.com</wms.common.webHost>
|
|
<wms.common.apiHost>https://api.wms-test.mt.com</wms.common.apiHost>
|
|
<!-- 短信相关配置-->
|
|
<wms.sms.channel>aliyun</wms.sms.channel>
|
|
<wms.aliyun.sms.product>Dysmsapi</wms.aliyun.sms.product>
|
|
<wms.aliyun.sms.domain>dysmsapi.aliyuncs.com</wms.aliyun.sms.domain>
|
|
<wms.aliyun.sms.accessKeyId>202020202020</wms.aliyun.sms.accessKeyId>
|
|
<wms.aliyun.sms.accessKeySecret>202020202020</wms.aliyun.sms.accessKeySecret>
|
|
<wms.tencentcloud.secretId>202020202020</wms.tencentcloud.secretId>
|
|
<wms.tencentcloud.secretKey>202020202020</wms.tencentcloud.secretKey>
|
|
<wms.tencentcloud.sms.appId>202020202020</wms.tencentcloud.sms.appId>
|
|
<wms.tencentcloud.sms.appKey>202020202020</wms.tencentcloud.sms.appKey>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>prod</id>
|
|
<activation>
|
|
<activeByDefault>false</activeByDefault>
|
|
</activation>
|
|
<properties>
|
|
<profileActive>prod</profileActive>
|
|
<gateway.server.port>8090</gateway.server.port>
|
|
<spring.security.user.name>wms</spring.security.user.name>
|
|
<spring.security.user.password>wms</spring.security.user.password>
|
|
<!-- rabbitmq -->
|
|
<spring.rabbitmq.host>127.0.0.1</spring.rabbitmq.host>
|
|
<spring.rabbitmq.port>5672</spring.rabbitmq.port>
|
|
<spring.rabbitmq.username>wms</spring.rabbitmq.username>
|
|
<spring.rabbitmq.password>wms</spring.rabbitmq.password>
|
|
<!-- redis -->
|
|
<spring.redis.cluster.nodes>127.0.0.1:6379</spring.redis.cluster.nodes>
|
|
<spring.redis.host>127.0.0.1</spring.redis.host>
|
|
<spring.redis.port>6379</spring.redis.port>
|
|
<spring.redis.password>2018</spring.redis.password>
|
|
<spring.redis.database>10</spring.redis.database>
|
|
<!-- database -->
|
|
<spring.datasource.url>jdbc:p6spy:mysql://localhost:3306/wms?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
|
|
</spring.datasource.url>
|
|
<spring.datasource.username>root</spring.datasource.username>
|
|
<spring.datasource.password>root</spring.datasource.password>
|
|
<!-- email -->
|
|
<spring.mail.host>smtp.mxhichina.com</spring.mail.host>
|
|
<!-- #25 ssl 465 -->
|
|
<spring.mail.port>465</spring.mail.port>
|
|
<spring.mail.username>noreply@mt.com</spring.mail.username>
|
|
<spring.mail.password>noreply</spring.mail.password>
|
|
<!-- devtools -->
|
|
<spring.devtools.remote.secret>wms</spring.devtools.remote.secret>
|
|
<spring.devtools.remote.livereload.enabled>false</spring.devtools.remote.livereload.enabled>
|
|
<!-- 公共相关配置-->
|
|
<wms.common.uploadPath>/home/api/uploadFile/</wms.common.uploadPath>
|
|
<wms.common.webHost>https://wms.mt.com</wms.common.webHost>
|
|
<wms.common.apiHost>https://api.wms.mt.com</wms.common.apiHost>
|
|
<!-- 短信相关配置-->
|
|
<wms.sms.channel>aliyun</wms.sms.channel>
|
|
<wms.aliyun.sms.product>Dysmsapi</wms.aliyun.sms.product>
|
|
<wms.aliyun.sms.domain>dysmsapi.aliyuncs.com</wms.aliyun.sms.domain>
|
|
<wms.aliyun.sms.accessKeyId>202020202020</wms.aliyun.sms.accessKeyId>
|
|
<wms.aliyun.sms.accessKeySecret>202020202020</wms.aliyun.sms.accessKeySecret>
|
|
<wms.tencentcloud.secretId>202020202020</wms.tencentcloud.secretId>
|
|
<wms.tencentcloud.secretKey>202020202020</wms.tencentcloud.secretKey>
|
|
<wms.tencentcloud.sms.appId>202020202020</wms.tencentcloud.sms.appId>
|
|
<wms.tencentcloud.sms.appKey>202020202020</wms.tencentcloud.sms.appKey>
|
|
</properties>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<dependencies>
|
|
<!--配置文件处理器-->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<!--测试依赖-->
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
<!--公共依赖-->
|
|
<properties>
|
|
<java.version>1.8</java.version>
|
|
<spring.profiles>dev</spring.profiles>
|
|
<spring-boot.version>2.0.4.RELEASE</spring-boot.version>
|
|
<spring-cloud.version>Finchley.RELEASE</spring-cloud.version>
|
|
<spring-boot-admin.version>2.0.2</spring-boot-admin.version>
|
|
<!-- de.codecentric -->
|
|
<spring-boot-admin-server-ui-hystrix.version>1.5.7</spring-boot-admin-server-ui-hystrix.version>
|
|
<spring-boot-admin-server-ui-turbine.version>1.5.7</spring-boot-admin-server-ui-turbine.version>
|
|
|
|
<!-- swagger接口工具类 -->
|
|
<springfox-swagger2.version>2.9.2</springfox-swagger2.version>
|
|
<!-- wechat工具类 -->
|
|
<binarywang-weixin.version>3.7.0</binarywang-weixin.version>
|
|
<okhttp3.version>3.11.0</okhttp3.version>
|
|
<!-- SpringBoot集成mybatis框架 -->
|
|
<mybatis-plus.version>3.4.1</mybatis-plus.version>
|
|
<p6spy.version>3.9.0</p6spy.version>
|
|
<sharding-jdbc-core-spring-boot-starter.version>2.0.3</sharding-jdbc-core-spring-boot-starter.version>
|
|
<!-- fastjson -->
|
|
<fastjson.version>1.2.75</fastjson.version>
|
|
<!-- 阿里大鱼短信 -->
|
|
<aliyun-java-sdk-core.version>4.0.9</aliyun-java-sdk-core.version>
|
|
<aliyun-java-sdk-dysmsapi.version>1.1.0</aliyun-java-sdk-dysmsapi.version>
|
|
<tencentcloud-sdk-java.version>3.1.109</tencentcloud-sdk-java.version>
|
|
<!-- hutool工具类 -->
|
|
<hutool.version>4.1.21</hutool.version>
|
|
<!-- excel工具类 -->
|
|
<cn.afterturn.version>4.0.0</cn.afterturn.version>
|
|
<!-- pdf工具类 -->
|
|
<pdfbox.version>2.0.1</pdfbox.version>
|
|
<!-- 条形码转换工具类 -->
|
|
<barcode4j.version>2.0</barcode4j.version>
|
|
<!-- userAgent -->
|
|
<useragent.version>5.11</useragent.version>
|
|
<!-- redisson -->
|
|
<redisson.version>3.11.2</redisson.version>
|
|
<!-- jasperreports -->
|
|
<jasperreports.version>6.9.0</jasperreports.version>
|
|
<!-- idworker -->
|
|
<idworker.version>1.5.0</idworker.version>
|
|
<!-- thumbnailator -->
|
|
<thumbnailator.version>0.4.13</thumbnailator.version>
|
|
|
|
</properties>
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-dependencies</artifactId>
|
|
<version>${spring-cloud.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.spring.platform</groupId>
|
|
<artifactId>platform-bom</artifactId>
|
|
<version>Cairo-SR2</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>de.codecentric</groupId>
|
|
<artifactId>spring-boot-admin-dependencies</artifactId>
|
|
<version>${spring-boot-admin.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.springfox</groupId>
|
|
<artifactId>springfox-swagger2</artifactId>
|
|
<version>${springfox-swagger2.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.springfox</groupId>
|
|
<artifactId>springfox-swagger-ui</artifactId>
|
|
<version>${springfox-swagger2.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.mt</groupId>
|
|
<artifactId>wms-common</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.mt</groupId>
|
|
<artifactId>wms-core</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.mt</groupId>
|
|
<artifactId>wms-gateway</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.mt</groupId>
|
|
<artifactId>wms-passport</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.mt</groupId>
|
|
<artifactId>wms-upms</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
|
|
<!-- mybatis-plus -->
|
|
<dependency>
|
|
<groupId>com.baomidou</groupId>
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
|
<version>${mybatis-plus.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.baomidou</groupId>
|
|
<artifactId>mybatis-plus-generator</artifactId>
|
|
<version>${mybatis-plus.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.velocity</groupId>
|
|
<artifactId>velocity-engine-core</artifactId>
|
|
<version>2.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>p6spy</groupId>
|
|
<artifactId>p6spy</artifactId>
|
|
<version>${p6spy.version}</version>
|
|
</dependency>
|
|
|
|
<!-- fastjson -->
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>fastjson</artifactId>
|
|
<version>${fastjson.version}</version>
|
|
</dependency>
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>com.aspose.words</groupId>-->
|
|
<!-- <artifactId>aspose-words</artifactId>-->
|
|
<!-- <version>18.5</version>-->
|
|
<!-- </dependency>-->
|
|
<dependency>
|
|
<groupId>org.apache.poi</groupId>
|
|
<artifactId>poi</artifactId>
|
|
<version>${cn.afterturn.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.poi</groupId>
|
|
<artifactId>poi-ooxml</artifactId>
|
|
<version>${cn.afterturn.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.sf.jasperreports</groupId>
|
|
<artifactId>jasperreports</artifactId>
|
|
<version>${jasperreports.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.sf.jasperreports</groupId>
|
|
<artifactId>jasperreports-fonts</artifactId>
|
|
<version>${jasperreports.version}</version>
|
|
</dependency>
|
|
<!-- id生成器 -->
|
|
<!-- https://mvnrepository.com/artifact/com.imadcn.framework/idworker -->
|
|
<dependency>
|
|
<groupId>com.imadcn.framework</groupId>
|
|
<artifactId>idworker</artifactId>
|
|
<version>${idworker.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 图片处理工具:压缩、缩放、旋转、加水印等 -->
|
|
<!-- https://mvnrepository.com/artifact/net.coobird/thumbnailator -->
|
|
<dependency>
|
|
<groupId>net.coobird</groupId>
|
|
<artifactId>thumbnailator</artifactId>
|
|
<version>${thumbnailator.version}</version>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<build>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>build-info</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<target>${java.version}</target>
|
|
<source>${java.version}</source>
|
|
<encoding>${project.build.sourceEncoding}</encoding>
|
|
<skip>true</skip>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<skip>true</skip>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
</build>
|
|
<!-- 使用aliyun镜像 -->
|
|
<repositories>
|
|
<repository>
|
|
<id>spring-milestones</id>
|
|
<name>Spring Milestones</name>
|
|
<url>https://repo.spring.io/libs-milestone</url>
|
|
</repository>
|
|
<repository>
|
|
<id>aliyun</id>
|
|
<name>aliyun</name>
|
|
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
|
|
</repository>
|
|
</repositories>
|
|
</project>
|