pom.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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. <groupId>com.miaxis</groupId>
  7. <artifactId>jpcj</artifactId>
  8. <version>1.0.1</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <packaging>war</packaging>
  12. <artifactId>jpcj-admin</artifactId>
  13. <description>
  14. web服务入口
  15. </description>
  16. <dependencies>
  17. <!-- spring-boot-devtools 注释掉后,不会打出两个war包
  18. <dependency>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-devtools</artifactId>
  21. <optional>true</optional> 表示依赖不会传递
  22. </dependency>
  23. -->
  24. <!-- swagger2-->
  25. <dependency>
  26. <groupId>io.springfox</groupId>
  27. <artifactId>springfox-swagger2</artifactId>
  28. </dependency>
  29. <!-- Mysql驱动包 -->
  30. <dependency>
  31. <groupId>mysql</groupId>
  32. <artifactId>mysql-connector-java</artifactId>
  33. </dependency>
  34. <!-- 核心模块-->
  35. <dependency>
  36. <groupId>com.miaxis</groupId>
  37. <artifactId>jpcj-framework</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter-test</artifactId>
  42. <scope>test</scope>
  43. </dependency>
  44. <!-- app端-->
  45. <dependency>
  46. <groupId>com.miaxis</groupId>
  47. <artifactId>jpcj-service</artifactId>
  48. <version>1.0.1</version>
  49. </dependency>
  50. <!-- 定时任务-->
  51. <!--<dependency>-->
  52. <!--<groupId>com.miaxist</groupId>-->
  53. <!--<artifactId>miaxis-quartz</artifactId>-->
  54. <!--</dependency>-->
  55. <!-- 代码生成-->
  56. <dependency>
  57. <groupId>com.miaxis</groupId>
  58. <artifactId>jpcj-generator</artifactId>
  59. <version>1.0.1</version>
  60. </dependency>
  61. <!--谷歌二维码生成-->
  62. <dependency>
  63. <groupId>com.google.zxing</groupId>
  64. <artifactId>core</artifactId>
  65. </dependency>
  66. <!--hutool工具包-->
  67. <dependency>
  68. <groupId>cn.hutool</groupId>
  69. <artifactId>hutool-all</artifactId>
  70. </dependency>
  71. </dependencies>
  72. <build>
  73. <plugins>
  74. <plugin>
  75. <groupId>org.springframework.boot</groupId>
  76. <artifactId>spring-boot-maven-plugin</artifactId>
  77. <version>2.1.1.RELEASE</version>
  78. <configuration>
  79. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  80. </configuration>
  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-war-plugin</artifactId>
  92. <version>3.1.0</version>
  93. <configuration>
  94. <failOnMissingWebXml>false</failOnMissingWebXml>
  95. <warName>${project.artifactId}</warName>
  96. </configuration>
  97. </plugin>
  98. <plugin>
  99. <groupId>org.apache.maven.plugins</groupId>
  100. <artifactId>maven-resources-plugin</artifactId>
  101. <configuration>
  102. <encoding>UTF-8</encoding>
  103. <!-- 过滤后缀为pem、pfx的证书文件 -->
  104. <nonFilteredFileExtensions>
  105. <nonFilteredFileExtension>p12</nonFilteredFileExtension>
  106. <nonFilteredFileExtension>pem</nonFilteredFileExtension>
  107. <nonFilteredFileExtension>pfx</nonFilteredFileExtension>
  108. <nonFilteredFileExtension>cer</nonFilteredFileExtension>
  109. </nonFilteredFileExtensions>
  110. </configuration>
  111. </plugin>
  112. </plugins>
  113. <finalName>${project.artifactId}</finalName>
  114. </build>
  115. </project>