Spark 开发环境搭建(3)IDEA +Maven 方式导出jar包

Spark 开发环境搭建(3)IDEA +Maven 方式导出jar包


pom.xml

xml version="1.0" encoding="UTF-8"?>
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

    2017SparkCase100
    2017SparkCase100
    1.0-SNAPSHOT

    
        2.11.8
        2.1.0
        2.8.2
        1.2.14
        9.2.5.v20141112
        2.17
        1.8
    

    
        
            scala-tools.org
            Scala-Tools Maven2 Repository
            http://scala-tools.org/repo-releases
        
    

    
        
            scala-tools.org
            Scala-Tools Maven2 Repository
            http://scala-tools.org/repo-releases
        
    
    
        
        
            javax.ws.rs
            javax.ws.rs-api
            2.0
        

        
            org.scala-lang
            scala-library
            ${scala.version}
        
        
            org.scala-lang
            scala-compiler
            ${scala.version}
        
        
            org.scala-lang
            scala-reflect
            ${scala.version}
        

        
            org.scala-lang
            scalap
            ${scala.version}
        

        
            junit
            junit
            4.4
            test
        
        
            org.specs
            specs
            1.2.5
            test
        
        
            org.apache.spark
            spark-core_2.11
            ${spark.version}
        
        
            org.apache.spark
            spark-launcher_2.11
            2.1.0
        
        
            org.apache.spark
            spark-network-shuffle_2.11
            2.1.0
        
        
            org.apache.spark
            spark-sql_2.11
            ${spark.version}
        
        
            org.apache.spark
            spark-hive_2.11
            2.1.0
        
        
            org.apache.spark
            spark-catalyst_2.11
            2.1.0
        
        
            org.apache.spark
            spark-streaming-flume-assembly_2.11
            2.1.0
        
        
            org.apache.spark
            spark-streaming-flume_2.11
            2.1.0
        
        
            org.apache.spark
            spark-streaming_2.11
            ${spark.version}
        
        
            org.apache.spark
            spark-graphx_2.11
            2.1.0
        
        
            org.scalanlp
            breeze_2.11
            0.11.2
            compile
            
                
                    junit
                    junit
                
                
                    commons-math3
                    org.apache.commons
                
            
        
        
            org.apache.commons
            commons-math3
            3.4.1
            compile
        
        
            org.apache.spark
            spark-mllib_2.11
            2.1.0
        
        
            org.apache.spark
            spark-mllib-local_2.11
            2.1.0
            compilear
        
        
            org.apache.spark
            spark-mllib-local_2.11
            2.1.0
            test-jar
            test
        
        
            org.apache.spark
            spark-repl_2.11
            2.1.0
        
        
            org.apache.hadoop
            hadoop-client
            2.6.0
        
        
            org.apache.spark
            spark-streaming-kafka-0-8_2.10
            2.1.0
        
        
            org.apache.spark
            spark-streaming-flume_2.11
            ${spark.version}
        
        
            mysql
            mysql-connector-java
            5.1.6
        
        
            org.apache.hive
            hive-jdbc
            1.2.1
        
        
            org.apache.httpcomponents
            httpclient
            4.4.1
        
        
            org.apache.httpcomponents
            httpcore
            4.4.1
        

        
        
            org.apache.hadoop
            hadoop-common
            2.6.0
        

        
            org.apache.hadoop
            hadoop-client
            2.6.0
        

        
        
            org.apache.hadoop
            hadoop-hdfs
            2.6.0
        


        
            redis.clients
            jedis
            ${jedis.version}
        
        
            org.json
            json
            20090211
        
        
            com.fasterxml.jackson.core
            jackson-core
            2.6.3
        
        
            com.fasterxml.jackson.core
            jackson-databind
            2.6.3
        
        
            com.fasterxml.jackson.core
            jackson-annotations
            2.6.3
        
        
            com.alibaba
            fastjson
            1.1.41
        
        
            fastutil
            fastutil
            5.0.9
        
        
            org.eclipse.jetty
            jetty-server
            ${jetty.version}
        

        
            org.eclipse.jetty
            jetty-servlet
            ${jetty.version}
        

        
            org.eclipse.jetty
            jetty-util
            ${jetty.version}
        

        
            org.glassfish.jersey.core
            jersey-server
            ${container.version}
        
        
            org.glassfish.jersey.containers
            jersey-container-servlet-core
            ${container.version}
        
        
            org.glassfish.jersey.containers
            jersey-container-jetty-http
            ${container.version}
        
        
            org.apache.hadoop
            hadoop-mapreduce-client-core
            2.6.0
        

        
            org.antlr
            antlr4-runtime
            4.5.3
        

    

    
        
            
                maven-assembly-plugin
                
                    dist
                    true
                    
                        jar-with-dependencies
                    
                
                
                    
                        make-assembly
                        package
                        
                            single
                        
                    
                
            

            
                maven-compiler-plugin
                
                    1.7
                    1.7
                
            

            
                net.alchim31.maven
                scala-maven-plugin
                3.2.2
                
                    
                        scala-compile-first
                        process-resources
                        
                            compile
                        
                    
                
                
                    ${scala.version}
                    incremental
                    true
                    
                        -unchecked
                        -deprecation
                        -feature
                    
                    
                        -Xms1024m
                        -Xmx1024m
                    
                    
                        -source
                        ${java.version}
                        -target
                        ${java.version}
                        -Xlint:all,-serial,-path
                    
                
            

            
                org.antlr
                antlr4-maven-plugin
                4.3
                
                    
                        antlr
                        
                            antlr4
                        
                        none
                    
                
                
                    src/test/java
                    true
                    true
                
            





        
    

人工导出jar包

Spark 开发环境搭建(3)IDEA +Maven 方式导出jar包_第1张图片


Spark 开发环境搭建(3)IDEA +Maven 方式导出jar包_第2张图片



Spark 开发环境搭建(3)IDEA +Maven 方式导出jar包_第3张图片


Spark 开发环境搭建(3)IDEA +Maven 方式导出jar包_第4张图片


你可能感兴趣的:(SparkInBeiJing)