bd7528cbbf3d501396431c325803d808615d8f41.svn-base 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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. </dependency>
  49. <dependency>
  50. <groupId>org.liquibase</groupId>
  51. <artifactId>liquibase-core</artifactId>
  52. <exclusions>
  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. </exclusions>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.apache.shiro</groupId>
  65. <artifactId>shiro-core</artifactId>
  66. <version>1.8.0</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>com.highgo</groupId>
  70. <artifactId>HgdbJdbc</artifactId>
  71. <version>6.2.4</version>
  72. </dependency>
  73. </dependencies>
  74. <build>
  75. <plugins>
  76. <!-- fat jar -->
  77. <plugin>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-maven-plugin</artifactId>
  80. <version>2.0.3.RELEASE</version>
  81. <executions>
  82. <execution>
  83. <goals>
  84. <goal>repackage</goal>
  85. </goals>
  86. </execution>
  87. </executions>
  88. </plugin>
  89. <plugin>
  90. <groupId>org.apache.maven.plugins</groupId>
  91. <artifactId>maven-compiler-plugin</artifactId>
  92. <version>3.8.0</version>
  93. <configuration>
  94. <!-- 一般而言,target与source是保持一致的,但是,有时候为了让程序能在其他版本的jdk中运行(对于低版本目标jdk,源代码中不能使用低版本jdk中不支持的语法),会存在target不同于source的情况 -->
  95. <source>1.8</source> <!-- 源代码使用的JDK版本 -->
  96. <target>1.8</target> <!-- 需要生成的目标class文件的编译版本 -->
  97. <encoding>UTF-8</encoding><!-- 字符集编码,防止中文乱码 -->
  98. <!-- <skipTests>true</skipTests>&lt;!&ndash; 跳过测试 &ndash;&gt;-->
  99. <verbose>true</verbose>
  100. <showWarnings>true</showWarnings>
  101. <!-- <fork>true</fork>&lt;!&ndash; 要使compilerVersion标签生效,还需要将fork设为true,用于明确表示编译版本配置的可用 &ndash;&gt;-->
  102. <!-- <executable>&lt;!&ndash; path-to-javac &ndash;&gt;</executable>&lt;!&ndash; 使用指定的javac命令,例如:<executable>${JAVA_1_4_HOME}/bin/javac</executable> &ndash;&gt;-->
  103. <!-- <compilerVersion>1.3</compilerVersion>&lt;!&ndash; 指定插件将使用的编译器的版本 &ndash;&gt;-->
  104. <!-- 这下面的是可选项 -->
  105. <meminitial>2048m</meminitial><!-- 编译器使用的初始内存 -->
  106. <maxmem>4096m</maxmem><!-- 编译器使用的最大内存 -->
  107. <compilerArgument>-Xlint:unchecked</compilerArgument>
  108. <!-- <compilerArgument>-verbose -bootclasspath ${java.home}\lib\rt.jar</compilerArgument>&lt;!&ndash; 这个选项用来传递编译器自身不包含但是却支持的参数选项 &ndash;&gt;-->
  109. </configuration>
  110. </plugin>
  111. <!-- 打war包时 使用下面的配置 -->
  112. <!-- <plugin>-->
  113. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  114. <!-- <artifactId>maven-war-plugin</artifactId>-->
  115. <!-- <configuration>-->
  116. <!-- <failOnMissingWebXml>false</failOnMissingWebXml>-->
  117. <!-- </configuration>-->
  118. <!-- </plugin>-->
  119. </plugins>
  120. <defaultGoal>compile</defaultGoal>
  121. </build>
  122. </project>