pom.xml 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  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-hive</artifactId>
  12. <version>0.0.1-SNAPSHOT</version>
  13. <name>benchmarking-hive</name>
  14. <description>对标管理hive版本</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. </dependencies>
  155. <build>
  156. <plugins>
  157. <!-- 使用maven-jar-plugin和maven-dependency-plugin插件打包 -->
  158. <plugin>
  159. <groupId>org.apache.maven.plugins</groupId>
  160. <artifactId>maven-jar-plugin</artifactId>
  161. <version>3.0.2</version>
  162. <configuration>
  163. <archive>
  164. <manifest>
  165. <addClasspath>true</addClasspath>
  166. <classpathPrefix>lib/</classpathPrefix>
  167. <mainClass>com.gyee.benchmarkinghive.BenchmarkingHiveApplication</mainClass>
  168. </manifest>
  169. </archive>
  170. </configuration>
  171. </plugin>
  172. <plugin>
  173. <groupId>org.apache.maven.plugins</groupId>
  174. <artifactId>maven-dependency-plugin</artifactId>
  175. <version>3.0.2</version>
  176. <executions>
  177. <execution>
  178. <id>copy-dependencies</id>
  179. <phase>package</phase>
  180. <goals>
  181. <goal>copy-dependencies</goal>
  182. </goals>
  183. <configuration>
  184. <outputDirectory>${project.build.directory}/lib</outputDirectory>
  185. </configuration>
  186. </execution>
  187. </executions>
  188. </plugin>
  189. <plugin>
  190. <groupId>org.springframework.boot</groupId>
  191. <artifactId>spring-boot-maven-plugin</artifactId>
  192. <configuration>
  193. <fork>true</fork>
  194. <!--增加jvm参数-->
  195. <jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
  196. </configuration>
  197. </plugin>
  198. </plugins>
  199. </build>
  200. </project>