pom.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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>org.example</groupId>
  7. <artifactId>cluster-dbapi-java-pro</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <build>
  10. <plugins>
  11. <plugin>
  12. <groupId>org.apache.maven.plugins</groupId>
  13. <artifactId>maven-compiler-plugin</artifactId>
  14. <configuration>
  15. <source>8</source>
  16. <target>8</target>
  17. </configuration>
  18. </plugin>
  19. <plugin>
  20. <groupId>org.apache.maven.plugins</groupId>
  21. <artifactId>maven-assembly-plugin</artifactId>
  22. <version>3.1.1</version>
  23. <configuration>
  24. <archive>
  25. <manifest>
  26. <mainClass>com.feng.fatjar.demo.FatJarMain</mainClass>
  27. </manifest>
  28. </archive>
  29. <descriptorRefs>
  30. <descriptorRef>jar-with-dependencies</descriptorRef>
  31. </descriptorRefs>
  32. </configuration>
  33. <executions>
  34. <execution>
  35. <id>make-assembly</id>
  36. <phase>package</phase>
  37. <goals>
  38. <goal>single</goal>
  39. </goals>
  40. </execution>
  41. </executions>
  42. </plugin>
  43. </plugins>
  44. </build>
  45. <dependencies>
  46. <dependency>
  47. <groupId>com.alibaba</groupId>
  48. <artifactId>fastjson</artifactId>
  49. <version>1.2.83</version>
  50. <scope>compile</scope>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.apache.httpcomponents</groupId>
  54. <artifactId>httpclient</artifactId>
  55. <version>4.5.13</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.apache.commons</groupId>
  59. <artifactId>commons-lang3</artifactId>
  60. <version>3.11</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>commons-cli</groupId>
  64. <artifactId>commons-cli</artifactId>
  65. <version>1.3.1</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>com.clickhouse</groupId>
  69. <artifactId>client-v2</artifactId>
  70. <version>0.7.1</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.apache.logging.log4j</groupId>
  74. <artifactId>log4j-api</artifactId>
  75. <version>2.23.1</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.apache.logging.log4j</groupId>
  79. <artifactId>log4j-core</artifactId>
  80. <version>2.23.1</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.apache.logging.log4j</groupId>
  84. <artifactId>log4j-slf4j2-impl</artifactId>
  85. <version>2.23.1</version>
  86. </dependency>
  87. <!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-simple -->
  88. <dependency>
  89. <groupId>org.slf4j</groupId>
  90. <artifactId>slf4j-simple</artifactId>
  91. <version>2.0.16</version>
  92. <scope>test</scope>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.javatuples</groupId>
  96. <artifactId>javatuples</artifactId>
  97. <version>1.2</version>
  98. </dependency>
  99. </dependencies>
  100. </project>