pom.xml 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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.aizuda</groupId>
  7. <artifactId>snail-job-datasource</artifactId>
  8. <version>${revision}</version>
  9. <relativePath>../pom.xml</relativePath>
  10. </parent>
  11. <artifactId>snail-job-datasource-template</artifactId>
  12. <name>snail-job-datasource-template</name>
  13. <description>snail-datasource-template</description>
  14. <packaging>jar</packaging>
  15. <dependencies>
  16. <!-- preprocessor -->
  17. <dependency>
  18. <groupId>org.projectlombok</groupId>
  19. <artifactId>lombok</artifactId>
  20. <optional>true</optional>
  21. </dependency>
  22. <!-- springboot -->
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-jdbc</artifactId>
  26. </dependency>
  27. <!-- MyBatis-Plus -->
  28. <dependency>
  29. <groupId>com.baomidou</groupId>
  30. <artifactId>mybatis-plus-spring-boot3-starter</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>com.baomidou</groupId>
  34. <artifactId>mybatis-plus-jsqlparser</artifactId>
  35. </dependency>
  36. <!-- SnailJob -->
  37. <dependency>
  38. <groupId>com.aizuda</groupId>
  39. <artifactId>snail-job-common-core</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.mapstruct</groupId>
  43. <artifactId>mapstruct</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.mapstruct</groupId>
  47. <artifactId>mapstruct-processor</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>com.aizuda</groupId>
  51. <artifactId>snail-job-common-model</artifactId>
  52. </dependency>
  53. </dependencies>
  54. <build>
  55. <plugins>
  56. <plugin>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-maven-plugin</artifactId>
  59. <configuration>
  60. <mainClass>none</mainClass> <!-- 取消查找本项目下的Main方法:为了解决Unable to find main class的问题 -->
  61. <classifier>execute</classifier> <!-- 为了解决依赖模块找不到此模块中的类或属性 -->
  62. </configuration>
  63. <executions>
  64. <execution>
  65. <goals>
  66. <goal>repackage</goal>
  67. </goals>
  68. </execution>
  69. </executions>
  70. </plugin>
  71. </plugins>
  72. </build>
  73. </project>