pom.xml 2.1 KB

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