pom.xml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  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>intelligent-factory</artifactId>
  7. <groupId>com.jihengbel.intelligent</groupId>
  8. <version>1.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <packaging>jar</packaging>
  12. <properties>
  13. <flying-saucer-pdf.version>9.1.5</flying-saucer-pdf.version>
  14. <xmlworker.version>5.5.6</xmlworker.version>
  15. </properties>
  16. <artifactId>application-facade</artifactId>
  17. <name>application-facade</name>
  18. <dependencies>
  19. <!--<dependency>-->
  20. <!-- <groupId>org.apache.poi</groupId>-->
  21. <!-- <artifactId>poi</artifactId>-->
  22. <!-- <version>3.9</version>-->
  23. <!--</dependency>-->
  24. <!--<dependency>-->
  25. <!-- <groupId>org.apache.poi</groupId>-->
  26. <!-- <artifactId>poi-ooxml</artifactId>-->
  27. <!-- <version>3.9</version>-->
  28. <!--</dependency>-->
  29. <!--poi 调用版本 3.9 为了支持两个版本的后缀名升级到3.9 -->
  30. <dependency>
  31. <groupId>cn.hutool</groupId>
  32. <artifactId>hutool-all</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-websocket</artifactId>
  37. <version>2.3.9.RELEASE</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>com.jihengbel.intelligent</groupId>
  41. <artifactId>common-config</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>com.jihengbel.intelligent</groupId>
  45. <artifactId>common-user</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.alibaba</groupId>
  49. <artifactId>easyexcel</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.apache.httpcomponents</groupId>
  53. <artifactId>httpclient</artifactId>
  54. <version>4.5.3</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.alibaba</groupId>
  58. <artifactId>fastjson</artifactId>
  59. <version>1.2.32</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>com.itextpdf</groupId>
  63. <artifactId>itextpdf</artifactId>
  64. <version>5.5.6</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>com.itextpdf.tool</groupId>
  68. <artifactId>xmlworker</artifactId>
  69. </dependency>
  70. <dependency>
  71. <groupId>com.itextpdf</groupId>
  72. <artifactId>itext-asian</artifactId>
  73. <version>5.2.0</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.xhtmlrenderer</groupId>
  77. <artifactId>flying-saucer-pdf</artifactId>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.springframework.boot</groupId>
  81. <artifactId>spring-boot-starter-freemarker</artifactId>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.springframework.boot</groupId>
  85. <artifactId>spring-boot-starter-test</artifactId>
  86. <scope>test</scope>
  87. </dependency>
  88. </dependencies>
  89. <profiles>
  90. <!-- 测试环境,默认激活 -->
  91. <profile>
  92. <id>dev</id>
  93. <properties>
  94. <env>dev</env>
  95. </properties>
  96. <activation>
  97. <activeByDefault>true</activeByDefault><!--默认启用的是测试环境配置 -->
  98. </activation>
  99. </profile>
  100. <!-- 测试环境,默认激活 -->
  101. <profile>
  102. <id>test</id>
  103. <properties>
  104. <env>test</env>
  105. </properties>
  106. </profile>
  107. <!-- 生产环境 -->
  108. <profile>
  109. <id>release</id>
  110. <properties>
  111. <env>release</env>
  112. </properties>
  113. </profile>
  114. </profiles>
  115. <build>
  116. <finalName>application-web</finalName>
  117. <plugins>
  118. <plugin>
  119. <groupId>org.springframework.boot</groupId>
  120. <artifactId>spring-boot-maven-plugin</artifactId>
  121. <executions>
  122. <execution>
  123. <goals>
  124. <goal>repackage</goal>
  125. </goals>
  126. </execution>
  127. </executions>
  128. </plugin>
  129. <plugin>
  130. <groupId>org.apache.maven.plugins</groupId>
  131. <artifactId>maven-compiler-plugin</artifactId>
  132. <configuration>
  133. <source>1.8</source>
  134. <target>1.8</target>
  135. <skip>true</skip>
  136. </configuration>
  137. </plugin>
  138. </plugins>
  139. </build>
  140. </project>