pom.xml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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-common</artifactId>
  8. <version>${revision}</version>
  9. <relativePath>../pom.xml</relativePath>
  10. </parent>
  11. <artifactId>snail-job-common-model</artifactId>
  12. <name>snail-job-common-model</name>
  13. <description>snail-job-common-model</description>
  14. <packaging>jar</packaging>
  15. <dependencies>
  16. <dependency>
  17. <groupId>org.projectlombok</groupId>
  18. <artifactId>lombok</artifactId>
  19. <optional>true</optional>
  20. </dependency>
  21. <dependency>
  22. <groupId>com.aizuda</groupId>
  23. <artifactId>snail-job-common-core</artifactId>
  24. </dependency>
  25. </dependencies>
  26. <build>
  27. <plugins>
  28. <plugin>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-maven-plugin</artifactId>
  31. <configuration>
  32. <mainClass>none</mainClass> <!-- 取消查找本项目下的Main方法:为了解决Unable to find main class的问题 -->
  33. <classifier>execute</classifier> <!-- 为了解决依赖模块找不到此模块中的类或属性 -->
  34. </configuration>
  35. <executions>
  36. <execution>
  37. <goals>
  38. <goal>repackage</goal>
  39. </goals>
  40. </execution>
  41. </executions>
  42. </plugin>
  43. </plugins>
  44. </build>
  45. </project>