pom.xml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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. <groupId>com.plugin</groupId>
  6. <artifactId>plugin-impl</artifactId>
  7. <version>0.0.3-SNAPSHOT</version>
  8. <name>plugin-impl</name>
  9. <description>插件实现类</description>
  10. <dependencies>
  11. <dependency>
  12. <groupId>org.springframework</groupId>
  13. <artifactId>spring-context</artifactId>
  14. <version>5.3.10</version>
  15. <scope>provided</scope>
  16. </dependency>
  17. <dependency>
  18. <groupId>com.plugin</groupId>
  19. <artifactId>plugin-interface</artifactId>
  20. <version>0.0.1-SNAPSHOT</version>
  21. <scope>provided</scope>
  22. </dependency>
  23. </dependencies>
  24. <build>
  25. <plugins>
  26. <plugin>
  27. <groupId>org.apache.maven.plugins</groupId>
  28. <artifactId>maven-compiler-plugin</artifactId>
  29. <version>3.8.1</version>
  30. <configuration>
  31. <source>8</source>
  32. <target>8</target>
  33. </configuration>
  34. </plugin>
  35. <plugin>
  36. <groupId>org.apache.maven.plugins</groupId>
  37. <artifactId>maven-assembly-plugin</artifactId>
  38. <version>3.1.0</version>
  39. <configuration>
  40. <descriptorRefs>
  41. <descriptorRef>jar-with-dependencies</descriptorRef>
  42. </descriptorRefs>
  43. <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
  44. <appendAssemblyId>false</appendAssemblyId>
  45. <attach>false</attach>
  46. <archive>
  47. <manifest>
  48. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  49. </manifest>
  50. </archive>
  51. </configuration>
  52. <executions>
  53. <execution>
  54. <id>make-assembly</id>
  55. <phase>package</phase>
  56. <goals>
  57. <goal>single</goal>
  58. </goals>
  59. </execution>
  60. </executions>
  61. </plugin>
  62. </plugins>
  63. </build>
  64. </project>