pom.xml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. <groupId>com.persagy</groupId>
  7. <artifactId>sdk-minitor</artifactId>
  8. <version>1.0-RELEASE</version>
  9. <properties>
  10. <maven.compiler.source>8</maven.compiler.source>
  11. <maven.compiler.target>8</maven.compiler.target>
  12. </properties>
  13. <dependencies>
  14. <dependency>
  15. <groupId>cn.hutool</groupId>
  16. <artifactId>hutool-all</artifactId>
  17. <version>4.0.12</version>
  18. </dependency>
  19. <dependency>
  20. <groupId>org.apache.directory.studio</groupId>
  21. <artifactId>org.apache.commons.codec</artifactId>
  22. <version>1.8</version>
  23. </dependency>
  24. <dependency>
  25. <groupId>log4j</groupId>
  26. <artifactId>log4j</artifactId>
  27. <version>1.2.17</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>junit</groupId>
  31. <artifactId>junit</artifactId>
  32. <version>4.12</version>
  33. <scope>test</scope>
  34. </dependency>
  35. </dependencies>
  36. <build>
  37. <plugins>
  38. <plugin>
  39. <artifactId>maven-assembly-plugin</artifactId>
  40. <configuration>
  41. <appendAssemblyId>false</appendAssemblyId>
  42. <descriptorRefs>
  43. <descriptorRef>jar-with-dependencies</descriptorRef>
  44. </descriptorRefs>
  45. <archive>
  46. <manifest>
  47. <!-- 此处指定main方法入口的class -->
  48. <mainClass>MinitorApplication</mainClass>
  49. </manifest>
  50. </archive>
  51. </configuration>
  52. <executions>
  53. <execution>
  54. <id>make-assembly</id>
  55. <phase>package</phase>
  56. <goals>
  57. <goal>assembly</goal>
  58. </goals>
  59. </execution>
  60. </executions>
  61. </plugin>
  62. </plugins>
  63. </build>
  64. </project>