pom.xml 2.2 KB

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