pom.xml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>com.aizuda</groupId>
  8. <artifactId>snail-job-common</artifactId>
  9. <version>${revision}</version>
  10. <relativePath>../pom.xml</relativePath>
  11. </parent>
  12. <artifactId>snail-job-common-log</artifactId>
  13. <name>snail-job-common-log</name>
  14. <description>snail-job-common-log</description>
  15. <packaging>jar</packaging>
  16. <dependencies>
  17. <dependency>
  18. <groupId>org.springframework.boot</groupId>
  19. <artifactId>spring-boot-starter-web</artifactId>
  20. <scope>provided</scope>
  21. </dependency>
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-log4j2</artifactId>
  25. <optional>true</optional>
  26. </dependency>
  27. <dependency>
  28. <groupId>cn.hutool</groupId>
  29. <artifactId>hutool-core</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>