pom.xml 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  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. <parent>
  6. <artifactId>sis-background</artifactId>
  7. <groupId>com.gyee</groupId>
  8. <version>0.0.1-SNAPSHOT</version>
  9. </parent>
  10. <groupId>com.gyee</groupId>
  11. <artifactId>benchmarking-impala</artifactId>
  12. <version>0.0.1-SNAPSHOT</version>
  13. <name>benchmarking-impala</name>
  14. <description>Demo project for Spring Boot</description>
  15. <properties>
  16. <java.version>1.8</java.version>
  17. <hive.version>1.1.0</hive.version>
  18. <hadoop.version>2.6.0</hadoop.version>
  19. </properties>
  20. <dependencies>
  21. <!-- SpringBoot Web容器 -->
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-web</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>com.alibaba</groupId>
  28. <artifactId>fastjson</artifactId>
  29. <version>1.2.17</version>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.projectlombok</groupId>
  33. <artifactId>lombok</artifactId>
  34. <version>1.18.12</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter-test</artifactId>
  39. <scope>test</scope>
  40. </dependency>
  41. <dependency>
  42. <groupId>mysql</groupId>
  43. <artifactId>mysql-connector-java</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>com.oracle</groupId>
  47. <artifactId>ojdbc6</artifactId>
  48. <version>11.2.0.3</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-jdbc</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>com.alibaba</groupId>
  56. <artifactId>druid-spring-boot-starter</artifactId>
  57. <version>1.1.10</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.springframework.boot</groupId>
  61. <artifactId>spring-boot-starter-aop</artifactId>
  62. </dependency>
  63. <!--常用工具类 -->
  64. <dependency>
  65. <groupId>org.apache.commons</groupId>
  66. <artifactId>commons-lang3</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>commons-lang</groupId>
  70. <artifactId>commons-lang</artifactId>
  71. <version>2.4</version>
  72. </dependency>
  73. <!-- 热部署 -->
  74. <dependency>
  75. <groupId>org.springframework.boot</groupId>
  76. <artifactId>spring-boot-devtools</artifactId>
  77. <optional>true</optional>
  78. </dependency>
  79. <!-- 配置文件读取 -->
  80. <dependency>
  81. <groupId>commons-configuration</groupId>
  82. <artifactId>commons-configuration</artifactId>
  83. <version>1.10</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.springframework.boot</groupId>
  87. <artifactId>spring-boot-configuration-processor</artifactId>
  88. <optional>true</optional>
  89. </dependency>
  90. <dependency>
  91. <groupId>commons-codec</groupId>
  92. <artifactId>commons-codec</artifactId>
  93. <version>1.9</version>
  94. </dependency>
  95. <!--quartz依赖-->
  96. <dependency>
  97. <groupId>org.quartz-scheduler</groupId>
  98. <artifactId>quartz</artifactId>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.springframework.boot</groupId>
  102. <artifactId>spring-boot-configuration-processor</artifactId>
  103. <optional>true</optional>
  104. </dependency>
  105. <dependency>
  106. <groupId>com.baomidou</groupId>
  107. <artifactId>mybatis-plus-boot-starter</artifactId>
  108. <version>3.2.0</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>com.baomidou</groupId>
  112. <artifactId>mybatis-plus-generator</artifactId>
  113. <version>3.3.2</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.freemarker</groupId>
  117. <artifactId>freemarker</artifactId>
  118. <version>2.3.28</version>
  119. </dependency>
  120. <!-- 添加swagger2 -->
  121. <dependency>
  122. <groupId>io.springfox</groupId>
  123. <artifactId>springfox-swagger2</artifactId>
  124. <version>2.7.0</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>org.codehaus.jackson</groupId>
  128. <artifactId>jackson-mapper-asl</artifactId>
  129. <version>1.9.13</version>
  130. </dependency>
  131. <!-- <dependency>-->
  132. <!-- <groupId>org.apache.hive</groupId>-->
  133. <!-- <artifactId>hive-jdbc</artifactId>-->
  134. <!-- <version>${hive.version}</version>-->
  135. <!-- </dependency>-->
  136. <!-- <dependency>-->
  137. <!-- <groupId>org.apache.hadoop</groupId>-->
  138. <!-- <artifactId>hadoop-common</artifactId>-->
  139. <!-- <version>${hadoop.version}</version>-->
  140. <!-- </dependency>-->
  141. <dependency>
  142. <groupId>ImpalaJDBC</groupId>
  143. <artifactId>ImpalaJDBC</artifactId>
  144. <version>41</version>
  145. <scope>system</scope>
  146. <systemPath>${project.basedir}/src/main/resources/lib/ImpalaJDBC41.jar</systemPath>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.apache.poi</groupId>
  150. <artifactId>poi</artifactId>
  151. <version>3.9</version>
  152. <scope>compile</scope>
  153. </dependency>
  154. <dependency>
  155. <groupId>org.projectlombok</groupId>
  156. <artifactId>lombok</artifactId>
  157. </dependency>
  158. <dependency>
  159. <groupId>cglib</groupId>
  160. <artifactId>cglib</artifactId>
  161. <version>2.2.2</version>
  162. <scope>compile</scope>
  163. </dependency>
  164. <dependency>
  165. <groupId>org.apache.commons</groupId>
  166. <artifactId>commons-math3</artifactId>
  167. <version>3.6.1</version>
  168. <scope>compile</scope>
  169. </dependency>
  170. </dependencies>
  171. <build>
  172. <plugins>
  173. <!-- 使用maven-jar-plugin和maven-dependency-plugin插件打包 -->
  174. <plugin>
  175. <groupId>org.apache.maven.plugins</groupId>
  176. <artifactId>maven-jar-plugin</artifactId>
  177. <version>3.0.2</version>
  178. <configuration>
  179. <archive>
  180. <manifest>
  181. <addClasspath>true</addClasspath>
  182. <classpathPrefix>lib/</classpathPrefix>
  183. <mainClass>com.gyee.benchmarkingimpala.BenchmarkingImpalaApplication</mainClass>
  184. </manifest>
  185. </archive>
  186. </configuration>
  187. </plugin>
  188. <plugin>
  189. <groupId>org.apache.maven.plugins</groupId>
  190. <artifactId>maven-dependency-plugin</artifactId>
  191. <version>3.0.2</version>
  192. <executions>
  193. <execution>
  194. <id>copy-dependencies</id>
  195. <phase>package</phase>
  196. <goals>
  197. <goal>copy-dependencies</goal>
  198. </goals>
  199. <configuration>
  200. <outputDirectory>${project.build.directory}/lib</outputDirectory>
  201. </configuration>
  202. </execution>
  203. </executions>
  204. </plugin>
  205. <plugin>
  206. <groupId>org.springframework.boot</groupId>
  207. <artifactId>spring-boot-maven-plugin</artifactId>
  208. <configuration>
  209. <fork>true</fork>
  210. <!--增加jvm参数-->
  211. <jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
  212. </configuration>
  213. </plugin>
  214. <plugin>
  215. <groupId>org.codehaus.mojo</groupId>
  216. <artifactId>exec-maven-plugin</artifactId>
  217. <version>1.6.0</version>
  218. <!-- <executions>-->
  219. <!-- <execution>-->
  220. <!-- <goals>-->
  221. <!-- <goal>java</goal>-->
  222. <!-- </goals>-->
  223. <!-- </execution>-->
  224. <!-- </executions>-->
  225. <configuration>
  226. <classpathScope>test</classpathScope>
  227. <!-- <mainClass>com.itheima.test.MybatisTest</mainClass>-->
  228. </configuration>
  229. </plugin>
  230. </plugins>
  231. <resources>
  232. <resource>
  233. <directory>${basedir}/src/main/resources/lib</directory>
  234. <targetPath>BOOT-INF/lib/</targetPath>
  235. <filtering>false</filtering>
  236. <includes>
  237. <include>**/*.jar</include>
  238. </includes>
  239. </resource>
  240. <resource>
  241. <directory>src/main/resources</directory>
  242. <filtering>true</filtering>
  243. </resource>
  244. </resources>
  245. </build>
  246. </project>