pom.xml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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>crmeb</artifactId>
  7. <groupId>com.zbkj</groupId>
  8. <version>0.0.1-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>crmeb-admin</artifactId>
  12. <packaging>jar</packaging>
  13. <properties>
  14. <crmeb-service>0.0.1-SNAPSHOT</crmeb-service>
  15. </properties>
  16. <dependencies>
  17. <dependency>
  18. <groupId>com.github.wechatpay-apiv3</groupId>
  19. <artifactId>wechatpay-java</artifactId>
  20. <version>0.2.8</version>
  21. </dependency>
  22. <!-- https://mvnrepository.com/artifact/com.github.binarywang/weixin-java-pay -->
  23. <!-- <dependency>-->
  24. <!-- <groupId>com.github.binarywang</groupId>-->
  25. <!-- <artifactId>weixin-java-pay</artifactId>-->
  26. <!-- <version>4.1.0</version>-->
  27. <!-- </dependency>-->
  28. <!-- <dependency>-->
  29. <!-- <groupId>com.github.wxpay</groupId>-->
  30. <!-- <artifactId>wxpay-sdk</artifactId>-->
  31. <!-- <version>0.0.3</version>-->
  32. <!-- </dependency>-->
  33. <dependency>
  34. <groupId>com.google.zxing</groupId>
  35. <artifactId>core</artifactId>
  36. <version>3.4.1</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>com.google.zxing</groupId>
  40. <artifactId>javase</artifactId>
  41. <version>3.4.1</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>com.zbkj</groupId>
  45. <artifactId>crmeb-service</artifactId>
  46. <version>${crmeb-service}</version>
  47. </dependency>
  48. <!--quartz定时调度依赖-->
  49. <dependency>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-starter-quartz</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-starter-test</artifactId>
  56. <scope>test</scope>
  57. </dependency>
  58. <!--添加本地加密jar包 不可删除-->
  59. <dependency>
  60. <groupId>crmeb-encrypt</groupId>
  61. <artifactId>crmeb.encrypt</artifactId>
  62. <version>1.0</version>
  63. <scope>system</scope>
  64. <systemPath>${basedir}/src/main/resources/libs/CRMEB-encrypt-1.0-SNAPSHOT-encrypted.jar</systemPath>
  65. </dependency>
  66. <!-- <dependency>-->
  67. <!-- <groupId>com.zbkj</groupId>-->
  68. <!-- <artifactId>crmeb-front</artifactId>-->
  69. <!-- <version>0.0.1-SNAPSHOT</version>-->
  70. <!-- <scope>compile</scope>-->
  71. <!-- </dependency>-->
  72. </dependencies>
  73. <build>
  74. <!--打包配置-->
  75. <finalName>Crmeb-admin</finalName>
  76. <plugins>
  77. <plugin>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-maven-plugin</artifactId>
  80. <version>2.3.0.RELEASE</version>
  81. <!-- 正确打包本地加密jar包,不可删除-->
  82. <configuration>
  83. <jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
  84. <fork>true</fork>
  85. <includeSystemScope>true</includeSystemScope>
  86. </configuration>
  87. <executions>
  88. <execution>
  89. <goals>
  90. <goal>repackage</goal><!--可以把依赖的包都打包到生成的Jar包中-->
  91. </goals>
  92. </execution>
  93. </executions>
  94. </plugin>
  95. </plugins>
  96. <resources>
  97. <!-- <resource>-->
  98. <!-- <directory>src/main/resources</directory>-->
  99. <!-- &lt;!&ndash; 处理文件时替换文件中的变量 &ndash;&gt;-->
  100. <!-- <filtering>true</filtering>-->
  101. <!-- <excludes>-->
  102. <!-- &lt;!&ndash; 打包时排除文件 &ndash;&gt;-->
  103. <!--&lt;!&ndash; <exclude>application.yml</exclude>&ndash;&gt;-->
  104. <!-- <exclude>application-{profile}.yml</exclude>-->
  105. <!--&lt;!&ndash; <exclude>application-beta.yml</exclude>&ndash;&gt;-->
  106. <!--&lt;!&ndash; <exclude>application-prod.yml</exclude>&ndash;&gt;-->
  107. <!-- </excludes>-->
  108. <!-- </resource>-->
  109. <resource>
  110. <directory>src/main/resources</directory>
  111. <filtering>true</filtering>
  112. </resource>
  113. <!-- <resource>-->
  114. <!-- <directory>src/main/resources.${spring.profiles.active}</directory>-->
  115. <!-- <filtering>false</filtering>-->
  116. <!-- </resource>-->
  117. <!--这个元素描述了项目相关的所有资源路径列表,例如和项目相关的属性文件,这些资源被包含在最终的打包文件里。-->
  118. <resource>
  119. <!-- 描述存放资源的目录,该路径相对POM路径-->
  120. <directory>src/main/java</directory>
  121. <includes>
  122. <include>**/*.xml</include>
  123. </includes>
  124. </resource>
  125. </resources>
  126. </build>
  127. </project>