pom.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <parent>
  5. <groupId>easydo.technology</groupId>
  6. <artifactId>easydo</artifactId>
  7. <version>v20220507</version>
  8. </parent>
  9. <modelVersion>4.0.0</modelVersion>
  10. <artifactId>easydo-mes</artifactId>
  11. <name>智能生产运管平台</name>
  12. <packaging>jar</packaging>
  13. <properties>
  14. <jjwt.version>0.11.1</jjwt.version>
  15. <jna.version>5.5.0</jna.version>
  16. <shiro.version>1.2.4</shiro.version>
  17. </properties>
  18. <profiles>
  19. <profile>
  20. <id>prod</id>
  21. <activation>
  22. <activeByDefault>false</activeByDefault>
  23. </activation>
  24. <properties>
  25. <environment>prod</environment>
  26. </properties>
  27. </profile>
  28. <profile>
  29. <id>owntest</id>
  30. <activation>
  31. <activeByDefault>true</activeByDefault>
  32. </activation>
  33. <properties>
  34. <environment>owntest</environment>
  35. </properties>
  36. </profile>
  37. </profiles>
  38. <dependencies>
  39. <!-- tools 模块包含了 common 和 logging 模块 -->
  40. <dependency>
  41. <groupId>easydo.technology</groupId>
  42. <artifactId>easydo-logging</artifactId>
  43. <version>v20220507</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>easydo.technology</groupId>
  47. <artifactId>easydo-system</artifactId>
  48. <version>v20220507</version>
  49. </dependency>
  50. <!-- log4j -->
  51. <dependency>
  52. <groupId>log4j</groupId>
  53. <artifactId>log4j</artifactId>
  54. <version>1.2.17</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>commons-fileupload</groupId>
  58. <artifactId>commons-fileupload</artifactId>
  59. <version>1.4</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>io.minio</groupId>
  63. <artifactId>minio</artifactId>
  64. <version>8.5.7</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.jetbrains.kotlin</groupId>
  68. <artifactId>kotlin-stdlib</artifactId>
  69. <version>1.8.20</version>
  70. </dependency>
  71. </dependencies>
  72. <!-- 打包 -->
  73. <build>
  74. <resources>
  75. <resource>
  76. <directory>src/main/resources</directory>
  77. <includes>
  78. <include>**/*.yml</include>
  79. <include>**/*.properties</include>
  80. <include>**/*.xml</include>
  81. </includes>
  82. <filtering>true</filtering>
  83. </resource>
  84. <resource>
  85. <directory>src/main/java</directory>
  86. <includes>
  87. <include>**/*.yml</include>
  88. <include>**/*.properties</include>
  89. <include>**/*.xml</include>
  90. </includes>
  91. <filtering>true</filtering>
  92. </resource>
  93. </resources>
  94. <plugins>
  95. <plugin>
  96. <groupId>org.springframework.boot</groupId>
  97. <artifactId>spring-boot-maven-plugin</artifactId>
  98. </plugin>
  99. <plugin>
  100. <groupId>org.apache.maven.plugins</groupId>
  101. <artifactId>maven-surefire-plugin</artifactId>
  102. <configuration>
  103. <skipTests>true</skipTests>
  104. </configuration>
  105. </plugin>
  106. </plugins>
  107. </build>
  108. </project>