pom.xml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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>db</groupId>
  8. <artifactId>BlackBoxSystem</artifactId>
  9. <version>0.0.1-SNAPSHOT</version>
  10. </parent>
  11. <artifactId>probe</artifactId>
  12. <properties>
  13. <maven.compiler.source>8</maven.compiler.source>
  14. <maven.compiler.target>8</maven.compiler.target>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>db</groupId>
  20. <artifactId>protocol</artifactId>
  21. <version>0.0.1-SNAPSHOT</version>
  22. </dependency>
  23. </dependencies>
  24. <build>
  25. <plugins>
  26. <plugin>
  27. <artifactId>maven-assembly-plugin</artifactId>
  28. <version>3.4.2</version>
  29. <configuration>
  30. <archive>
  31. <manifest>
  32. <!--这里指定要运行的main类-->
  33. <mainClass>db.Probe</mainClass>
  34. </manifest>
  35. </archive>
  36. <descriptorRefs>
  37. <descriptorRef>jar-with-dependencies</descriptorRef>
  38. </descriptorRefs>
  39. </configuration>
  40. <executions>
  41. <execution>
  42. <id>make-assembly</id>
  43. <phase>package</phase>
  44. <goals>
  45. <goal>single</goal>
  46. </goals>
  47. </execution>
  48. </executions>
  49. </plugin>
  50. </plugins>
  51. </build>
  52. </project>