| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145 |
- <?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>gw-cloud-platform-dcproj</artifactId>
- <groupId>cn.com.goldenwater</groupId>
- <version>0.0.1-SNAPSHOT</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>gw-cloud-platform-dcproj-main</artifactId>
- <!-- 打包方式 默认jar -->
- <packaging>jar</packaging>
- <!-- <packaging>war</packaging>-->
- <dependencies>
- <dependency>
- <groupId>cn.com.goldenwater</groupId>
- <artifactId>gw-cloud-platform-dcproj-service</artifactId>
- <version>0.0.1-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-context-support</artifactId>
- </dependency>
- <dependency>
- <groupId>com.aliyun.alicom</groupId>
- <artifactId>alicom-mns-receive-sdk</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>com.aliyun.mns</groupId>
- <artifactId>aliyun-sdk-mns</artifactId>
- <version>1.1.8</version>
- </dependency>
- <dependency>
- <groupId>com.aliyun</groupId>
- <artifactId>aliyun-java-sdk-core</artifactId>
- <version>4.5.16</version>
- </dependency>
- <dependency>
- <groupId>com.aliyun</groupId>
- <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
- <version>1.1.0</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-starter-openfeign</artifactId>
- <exclusions>
- <exclusion>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-logging</artifactId>
- </exclusion>
- <exclusion>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-classic</artifactId>
- </exclusion>
- <exclusion>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-core</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.liquibase</groupId>
- <artifactId>liquibase-core</artifactId>
- <exclusions>
- <exclusion>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-classic</artifactId>
- </exclusion>
- <exclusion>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-core</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.shiro</groupId>
- <artifactId>shiro-core</artifactId>
- <version>1.8.0</version>
- </dependency>
- <dependency>
- <groupId>com.highgo</groupId>
- <artifactId>HgdbJdbc</artifactId>
- <version>6.2.4</version>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <!-- fat jar -->
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <version>2.0.3.RELEASE</version>
- <executions>
- <execution>
- <goals>
- <goal>repackage</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.8.0</version>
- <configuration>
- <!-- 一般而言,target与source是保持一致的,但是,有时候为了让程序能在其他版本的jdk中运行(对于低版本目标jdk,源代码中不能使用低版本jdk中不支持的语法),会存在target不同于source的情况 -->
- <source>1.8</source> <!-- 源代码使用的JDK版本 -->
- <target>1.8</target> <!-- 需要生成的目标class文件的编译版本 -->
- <encoding>UTF-8</encoding><!-- 字符集编码,防止中文乱码 -->
- <!-- <skipTests>true</skipTests><!– 跳过测试 –>-->
- <verbose>true</verbose>
- <showWarnings>true</showWarnings>
- <!-- <fork>true</fork><!– 要使compilerVersion标签生效,还需要将fork设为true,用于明确表示编译版本配置的可用 –>-->
- <!-- <executable><!– path-to-javac –></executable><!– 使用指定的javac命令,例如:<executable>${JAVA_1_4_HOME}/bin/javac</executable> –>-->
- <!-- <compilerVersion>1.3</compilerVersion><!– 指定插件将使用的编译器的版本 –>-->
- <!-- 这下面的是可选项 -->
- <meminitial>2048m</meminitial><!-- 编译器使用的初始内存 -->
- <maxmem>4096m</maxmem><!-- 编译器使用的最大内存 -->
- <compilerArgument>-Xlint:unchecked</compilerArgument>
- <!-- <compilerArgument>-verbose -bootclasspath ${java.home}\lib\rt.jar</compilerArgument><!– 这个选项用来传递编译器自身不包含但是却支持的参数选项 –>-->
- </configuration>
- </plugin>
- <!-- 打war包时 使用下面的配置 -->
- <!-- <plugin>-->
- <!-- <groupId>org.apache.maven.plugins</groupId>-->
- <!-- <artifactId>maven-war-plugin</artifactId>-->
- <!-- <configuration>-->
- <!-- <failOnMissingWebXml>false</failOnMissingWebXml>-->
- <!-- </configuration>-->
- <!-- </plugin>-->
- </plugins>
- <defaultGoal>compile</defaultGoal>
- </build>
- </project>
|