pom.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>com.sp</groupId>
  7. <artifactId>director</artifactId>
  8. <version>1.0.0</version>
  9. <relativePath>../pom.xml</relativePath> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.sp</groupId>
  12. <artifactId>logic</artifactId>
  13. <version>1.0.0</version>
  14. <name>logic</name>
  15. <packaging>jar</packaging>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. </properties>
  19. <dependencies>
  20. <!-- https://mvnrepository.com/artifact/com.alibaba/easyexcel -->
  21. <dependency>
  22. <groupId>com.alibaba</groupId>
  23. <artifactId>easyexcel</artifactId>
  24. <version>2.2.7</version>
  25. </dependency>
  26. <dependency>
  27. <groupId>com.sp</groupId>
  28. <artifactId>core</artifactId>
  29. <version>${director-version}</version>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-web</artifactId>
  34. </dependency>
  35. <!-- 导入数据源 -->
  36. <dependency>
  37. <groupId>com.alibaba</groupId>
  38. <artifactId>druid-spring-boot-starter</artifactId>
  39. </dependency>
  40. <!-- https://mvnrepository.com/artifact/cn.dustlight.captcha/captcha-core -->
  41. <dependency>
  42. <groupId>cn.dustlight.captcha</groupId>
  43. <artifactId>captcha-core</artifactId>
  44. <version>0.0.3</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.projectlombok</groupId>
  48. <artifactId>lombok</artifactId>
  49. <optional>true</optional>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-starter-test</artifactId>
  54. <scope>test</scope>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.baomidou</groupId>
  58. <artifactId>mybatis-plus-boot-starter</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.apache.commons</groupId>
  62. <artifactId>commons-pool2</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>commons-fileupload</groupId>
  66. <artifactId>commons-fileupload</artifactId>
  67. </dependency>
  68. </dependencies>
  69. <build>
  70. <finalName>director-logic</finalName>
  71. <plugins>
  72. <!-- 配置Maven的JDK编译级别 -->
  73. <plugin>
  74. <groupId>org.apache.maven.plugins</groupId>
  75. <artifactId>maven-compiler-plugin</artifactId>
  76. <version>3.2</version>
  77. <configuration>
  78. <source>1.8</source>
  79. <target>1.8</target>
  80. <encoding>UTF-8</encoding>
  81. <compilerArgs>
  82. <arg>-parameters</arg>
  83. </compilerArgs>
  84. </configuration>
  85. </plugin>
  86. <plugin>
  87. <groupId>org.springframework.boot</groupId>
  88. <artifactId>spring-boot-maven-plugin</artifactId>
  89. <configuration>
  90. <includeSystemScope>true</includeSystemScope>
  91. </configuration>
  92. </plugin>
  93. <!-- 打包的时候跳过测试用例 -->
  94. <plugin>
  95. <groupId>org.apache.maven.plugins</groupId>
  96. <artifactId>maven-surefire-plugin</artifactId>
  97. <version>2.18.1</version>
  98. <configuration>
  99. <skipTests>true</skipTests>
  100. </configuration>
  101. </plugin>
  102. </plugins>
  103. <resources>
  104. <resource>
  105. <directory>src/main/java</directory>
  106. <includes>
  107. <include>**/*.xml</include>
  108. </includes>
  109. <filtering>true</filtering>
  110. </resource>
  111. <resource>
  112. <directory>src/main/resources</directory>
  113. <includes>
  114. <include>**/*.*</include>
  115. </includes>
  116. <filtering>true</filtering>
  117. </resource>
  118. </resources>
  119. </build>
  120. </project>