Hadoop中创建maven项目是需要的pom依赖

xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
   4.0.0

   hadoop-practice
   hadoop-practice
   1.0-SNAPSHOT

   
   
      UTF-8
      2.6.5
      1.2.0-cdh5.12.0
      1.1.0-cdh5.12.0
      5.1.18
      2.6.2
      0.6.1
   

   
   
      
         cloudera
         https://repository.cloudera.com/artifactory/cloudera-repos/
      
   

   
   
      
         org.apache.hadoop
         hadoop-client
         ${hadoop.version}
      

      
         org.apache.hadoop
         hadoop-common
         2.6.5
      

      
         org.apache.hadoop
         hadoop-hdfs
         2.6.5
      


      
         org.apache.hbase
         hbase-client
         ${hbase.version}
      

      
         org.apache.hbase
         hbase-server
         ${hbase.version}
      

      
         org.apache.hive
         hive-exec
         ${hive.version}
      

      
      
         mysql
         mysql-connector-java
         ${mysql.version}
      
      

      
         cz.mallat.uasparser
         uasparser
         ${uasparser.version}
      

      
         com.google.code.gson
         gson
         ${gson.version}
      
   

   
   
      
         
         local
         
            
            
               
                  
                  org.codehaus.mojo
                  build-helper-maven-plugin
                  1.4
                  
                     
                        add-source
                        generate-sources
                        
                           add-source
                        
                        
                           
                              ${basedir}/src/main/java
                              ${basedir}/src/main/extr
                           
                        
                     
                  
               
            
         
      

      
         
         dev
         
            
            true
         
         
            
               
                  org.codehaus.mojo
                  build-helper-maven-plugin
                  1.4
                  
                     
                        add-source
                        generate-sources
                        
                           add-source
                        
                        
                           
                              ${basedir}/src/main/java
                           
                        
                     
                  
               

               
                  
                  org.apache.maven.plugins
                  maven-shade-plugin
                  2.1
                  
                     
                        package
                        
                           shade
                        
                        

                           
                              
                                 *:*
                                 
                                    META-INF/*.SF
                                    META-INF/*.DSA
                                    META-INF/*.RSA
                                 
                              
                           
                        
                     
                  
               
            
         
      
   

   
      src/test/java
      
         
            maven-compiler-plugin
            3.3
            
               1.7
               1.7
               utf8
            
         
      
   

你可能感兴趣的:(Hadoop)