pom.xml 8.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  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.vcarecity.csv</groupId>
  7. <artifactId>db-data-to-csv</artifactId>
  8. <version>1.0.0</version>
  9. <properties>
  10. <sourceEncoding>UTF-8</sourceEncoding>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  13. <compile.encoding>UTF-8</compile.encoding>
  14. <compile.target>8</compile.target>
  15. <compile.source>8</compile.source>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>mysql</groupId>
  20. <artifactId>mysql-connector-java</artifactId>
  21. <version>8.0.18</version>
  22. </dependency>
  23. <dependency>
  24. <groupId>org.apache.commons</groupId>
  25. <artifactId>commons-text</artifactId>
  26. <version>1.8</version>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.apache.commons</groupId>
  30. <artifactId>commons-csv</artifactId>
  31. <version>1.7</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.slf4j</groupId>
  35. <artifactId>slf4j-api</artifactId>
  36. <version>1.7.29</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>ch.qos.logback</groupId>
  40. <artifactId>logback-classic</artifactId>
  41. <version>1.2.3</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.projectlombok</groupId>
  45. <artifactId>lombok</artifactId>
  46. <version>1.18.10</version>
  47. <scope>provided</scope>
  48. </dependency>
  49. <dependency>
  50. <groupId>com.zaxxer</groupId>
  51. <artifactId>HikariCP</artifactId>
  52. <version>3.4.1</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>com.oracle</groupId>
  56. <artifactId>ojdbc6</artifactId>
  57. <version>12.1.0.2.0</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>com.google.inject</groupId>
  61. <artifactId>guice</artifactId>
  62. <version>4.2.2</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>com.google.inject.extensions</groupId>
  66. <artifactId>guice-assistedinject</artifactId>
  67. <version>4.2.2</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>com.fasterxml.jackson.dataformat</groupId>
  71. <artifactId>jackson-dataformat-yaml</artifactId>
  72. <version>2.10.1</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>com.fasterxml.jackson.core</groupId>
  76. <artifactId>jackson-databind</artifactId>
  77. <version>2.10.1</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>me.yuxiaoyao.lang</groupId>
  81. <artifactId>configuration-loader</artifactId>
  82. <version>2.0.0</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.reflections</groupId>
  86. <artifactId>reflections</artifactId>
  87. <version>0.9.11</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>javax.persistence</groupId>
  91. <artifactId>persistence-api</artifactId>
  92. <version>1.0.2</version>
  93. </dependency>
  94. </dependencies>
  95. <build>
  96. <plugins>
  97. <plugin>
  98. <groupId>org.apache.maven.plugins</groupId>
  99. <artifactId>maven-compiler-plugin</artifactId>
  100. <version>3.8.0</version>
  101. <configuration>
  102. <source>1.8</source>
  103. <target>1.8</target>
  104. <encoding>UTF-8</encoding>
  105. </configuration>
  106. </plugin>
  107. <plugin>
  108. <groupId>org.apache.maven.plugins</groupId>
  109. <artifactId>maven-surefire-plugin</artifactId>
  110. <version>2.22.0</version>
  111. <configuration>
  112. <skipTests>true</skipTests>
  113. </configuration>
  114. </plugin>
  115. <plugin>
  116. <groupId>org.apache.maven.plugins</groupId>
  117. <artifactId>maven-source-plugin</artifactId>
  118. <version>3.0.1</version>
  119. <executions>
  120. <execution>
  121. <id>attach-sources</id>
  122. <phase>verify</phase>
  123. <goals>
  124. <goal>jar-no-fork</goal>
  125. </goals>
  126. </execution>
  127. </executions>
  128. </plugin>
  129. <plugin>
  130. <artifactId>maven-resources-plugin</artifactId>
  131. <version>3.1.0</version>
  132. <configuration>
  133. <encoding>UTF-8</encoding>
  134. </configuration>
  135. <executions>
  136. <execution>
  137. <id>copy-resource-config</id>
  138. <phase>package</phase>
  139. <goals>
  140. <goal>copy-resources</goal>
  141. </goals>
  142. <configuration>
  143. <outputDirectory>${project.build.directory}/config</outputDirectory>
  144. <resources>
  145. <resource>
  146. <directory>/config</directory>
  147. </resource>
  148. </resources>
  149. </configuration>
  150. </execution>
  151. </executions>
  152. </plugin>
  153. <plugin>
  154. <artifactId>maven-assembly-plugin</artifactId>
  155. <version>3.1.0</version>
  156. <configuration>
  157. <archive>
  158. <manifest>
  159. <mainClass>com.vcarecity.cvs.FileExporterApp</mainClass>
  160. </manifest>
  161. </archive>
  162. <descriptorRefs>
  163. <descriptorRef>jar-with-dependencies</descriptorRef>
  164. </descriptorRefs>
  165. </configuration>
  166. <executions>
  167. <execution>
  168. <id>make-assembly</id>
  169. <phase>package</phase>
  170. <goals>
  171. <goal>single</goal>
  172. </goals>
  173. </execution>
  174. </executions>
  175. </plugin>
  176. <plugin>
  177. <groupId>org.apache.maven.plugins</groupId>
  178. <artifactId>maven-jar-plugin</artifactId>
  179. <version>3.1.0</version>
  180. <configuration>
  181. <archive>
  182. <manifest>
  183. <addClasspath>true</addClasspath>
  184. <classpathPrefix>lib/</classpathPrefix>
  185. <mainClass>com.vcarecity.cvs.FileExporterApp</mainClass>
  186. </manifest>
  187. </archive>
  188. </configuration>
  189. </plugin>
  190. <plugin>
  191. <groupId>org.apache.maven.plugins</groupId>
  192. <artifactId>maven-dependency-plugin</artifactId>
  193. <version>3.1.1</version>
  194. <executions>
  195. <execution>
  196. <id>copy-dependencies</id>
  197. <phase>package</phase>
  198. <goals>
  199. <goal>copy-dependencies</goal>
  200. </goals>
  201. <configuration>
  202. <outputDirectory>${project.build.directory}/lib</outputDirectory>
  203. </configuration>
  204. </execution>
  205. </executions>
  206. </plugin>
  207. </plugins>
  208. </build>
  209. </project>