pom.xml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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-postgres-datasource</artifactId>
  12. <name>snail-job-postgres-datasource</name>
  13. <description>snail-job-postgres-datasource</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. <dependency>
  23. <groupId>org.postgresql</groupId>
  24. <artifactId>postgresql</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>com.aizuda</groupId>
  28. <artifactId>snail-job-datasource-template</artifactId>
  29. </dependency>
  30. </dependencies>
  31. <build>
  32. <plugins>
  33. <plugin>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-maven-plugin</artifactId>
  36. <configuration>
  37. <mainClass>none</mainClass> <!-- 取消查找本项目下的Main方法:为了解决Unable to find main class的问题 -->
  38. <classifier>execute</classifier> <!-- 为了解决依赖模块找不到此模块中的类或属性 -->
  39. </configuration>
  40. <executions>
  41. <execution>
  42. <goals>
  43. <goal>repackage</goal>
  44. </goals>
  45. </execution>
  46. </executions>
  47. </plugin>
  48. </plugins>
  49. </build>
  50. </project>