zoukankan      html  css  js  c++  java
  • hive自定义函数UDTF、UDF的maven pom.xml文件

     1     <properties>
     2         <project.build.sourceEncoding>UTF8</project.build.sourceEncoding>
     3         <hive.version>3.1.2</hive.version>
     4     </properties>
     5     <repositories>
     6         <repository>
     7             <id>spring-plugin</id>
     8             <url>https://repo.spring.io/plugins-release/</url>
     9         </repository>
    10     </repositories>
    11 
    12     <dependencies>
    13         <!--添加hive依赖-->
    14         <dependency>
    15             <groupId>org.apache.hive</groupId>
    16             <artifactId>hive-exec</artifactId>
    17             <version>${hive.version}</version>
    18         </dependency>
    19         <dependency>
    20             <groupId>junit</groupId>
    21             <artifactId>junit</artifactId>
    22             <version>4.13</version>
    23             <scope>test</scope>
    24         </dependency>
    25 
    26     </dependencies>
    27     <build>
    28         <plugins>
    29             <plugin>
    30                 <artifactId>maven-compiler-plugin</artifactId>
    31                 <version>2.3.2</version>
    32                 <configuration>
    33                     <source>1.8</source>
    34                     <target>1.8</target>
    35                 </configuration>
    36             </plugin>
    37             <plugin>
    38                 <artifactId>maven-assembly-plugin</artifactId>
    39                 <configuration>
    40                     <descriptorRefs>
    41                         <descriptorRef>jar-with-dependencies</descriptorRef>
    42                     </descriptorRefs>
    43                 </configuration>
    44                 <executions>
    45                     <execution>
    46                         <id>make-assembly</id>
    47                         <phase>package</phase>
    48                         <goals>
    49                             <goal>single</goal>
    50                         </goals>
    51                     </execution>
    52                 </executions>
    53             </plugin>
    54         </plugins>
    55     </build>
  • 相关阅读:
    (转)linux书籍推荐
    (转)X Windows与GNOME,KDE的关系
    (转)学习Linux编程开发必读书籍
    (转)详解C中volatile关键字
    博客开张了
    VMware虚拟产品简介
    c++ eof()
    旋转矩阵
    VMware文件辨别
    Microsoft HTTPAPI/2.0 use Port 80 – 无法启动WAMP Apache
  • 原文地址:https://www.cnblogs.com/zhipeng-wang/p/14505488.html
Copyright © 2011-2022 走看看