pom.xml 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>gw-cloud-platform-dcproj</artifactId>
  7. <groupId>cn.com.goldenwater</groupId>
  8. <version>0.0.1-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>gw-cloud-platform-dcproj-main</artifactId>
  12. <!-- 打包方式 默认jar -->
  13. <packaging>jar</packaging>
  14. <!-- <packaging>war</packaging>-->
  15. <dependencies>
  16. <dependency>
  17. <groupId>cn.com.goldenwater</groupId>
  18. <artifactId>gw-cloud-platform-dcproj-service</artifactId>
  19. <version>0.0.1-SNAPSHOT</version>
  20. </dependency>
  21. <dependency>
  22. <groupId>org.springframework</groupId>
  23. <artifactId>spring-context-support</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>com.aliyun.alicom</groupId>
  27. <artifactId>alicom-mns-receive-sdk</artifactId>
  28. <version>1.0.1</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>com.aliyun.mns</groupId>
  32. <artifactId>aliyun-sdk-mns</artifactId>
  33. <version>1.1.8</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>com.aliyun</groupId>
  37. <artifactId>aliyun-java-sdk-core</artifactId>
  38. <version>4.5.16</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>com.aliyun</groupId>
  42. <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
  43. <version>1.1.0</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework.cloud</groupId>
  47. <artifactId>spring-cloud-starter-openfeign</artifactId>
  48. <exclusions>
  49. <exclusion>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-starter-logging</artifactId>
  52. </exclusion>
  53. <exclusion>
  54. <groupId>ch.qos.logback</groupId>
  55. <artifactId>logback-classic</artifactId>
  56. </exclusion>
  57. <exclusion>
  58. <groupId>ch.qos.logback</groupId>
  59. <artifactId>logback-core</artifactId>
  60. </exclusion>
  61. <exclusion>
  62. <groupId>org.slf4j</groupId>
  63. <artifactId>slf4j-log4j12</artifactId>
  64. </exclusion>
  65. </exclusions>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.liquibase</groupId>
  69. <artifactId>liquibase-core</artifactId>
  70. <exclusions>
  71. <exclusion>
  72. <groupId>ch.qos.logback</groupId>
  73. <artifactId>logback-classic</artifactId>
  74. </exclusion>
  75. <exclusion>
  76. <groupId>ch.qos.logback</groupId>
  77. <artifactId>logback-core</artifactId>
  78. </exclusion>
  79. </exclusions>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.apache.shiro</groupId>
  83. <artifactId>shiro-core</artifactId>
  84. <version>1.8.0</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>com.highgo</groupId>
  88. <artifactId>HgdbJdbc</artifactId>
  89. <version>6.2.4</version>
  90. </dependency>
  91. </dependencies>
  92. <build>
  93. <plugins>
  94. <!-- fat jar -->
  95. <plugin>
  96. <groupId>org.springframework.boot</groupId>
  97. <artifactId>spring-boot-maven-plugin</artifactId>
  98. <version>2.0.3.RELEASE</version>
  99. <executions>
  100. <execution>
  101. <goals>
  102. <goal>repackage</goal>
  103. </goals>
  104. </execution>
  105. </executions>
  106. </plugin>
  107. <plugin>
  108. <groupId>org.apache.maven.plugins</groupId>
  109. <artifactId>maven-compiler-plugin</artifactId>
  110. <version>3.8.0</version>
  111. <configuration>
  112. <!-- 一般而言,target与source是保持一致的,但是,有时候为了让程序能在其他版本的jdk中运行(对于低版本目标jdk,源代码中不能使用低版本jdk中不支持的语法),会存在target不同于source的情况 -->
  113. <source>1.8</source> <!-- 源代码使用的JDK版本 -->
  114. <target>1.8</target> <!-- 需要生成的目标class文件的编译版本 -->
  115. <encoding>UTF-8</encoding><!-- 字符集编码,防止中文乱码 -->
  116. <!-- <skipTests>true</skipTests>&lt;!&ndash; 跳过测试 &ndash;&gt;-->
  117. <verbose>true</verbose>
  118. <showWarnings>true</showWarnings>
  119. <!-- <fork>true</fork>&lt;!&ndash; 要使compilerVersion标签生效,还需要将fork设为true,用于明确表示编译版本配置的可用 &ndash;&gt;-->
  120. <!-- <executable>&lt;!&ndash; path-to-javac &ndash;&gt;</executable>&lt;!&ndash; 使用指定的javac命令,例如:<executable>${JAVA_1_4_HOME}/bin/javac</executable> &ndash;&gt;-->
  121. <!-- <compilerVersion>1.3</compilerVersion>&lt;!&ndash; 指定插件将使用的编译器的版本 &ndash;&gt;-->
  122. <!-- 这下面的是可选项 -->
  123. <meminitial>2048m</meminitial><!-- 编译器使用的初始内存 -->
  124. <maxmem>4096m</maxmem><!-- 编译器使用的最大内存 -->
  125. <compilerArgument>-Xlint:unchecked</compilerArgument>
  126. <!-- <compilerArgument>-verbose -bootclasspath ${java.home}\lib\rt.jar</compilerArgument>&lt;!&ndash; 这个选项用来传递编译器自身不包含但是却支持的参数选项 &ndash;&gt;-->
  127. </configuration>
  128. </plugin>
  129. <!-- 打war包时 使用下面的配置 -->
  130. <!-- <plugin>-->
  131. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  132. <!-- <artifactId>maven-war-plugin</artifactId>-->
  133. <!-- <configuration>-->
  134. <!-- <failOnMissingWebXml>false</failOnMissingWebXml>-->
  135. <!-- </configuration>-->
  136. <!-- </plugin>-->
  137. </plugins>
  138. <defaultGoal>compile</defaultGoal>
  139. </build>
  140. </project>