SparkSql本地化测试的maven POM

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

    <groupId>com.draven.sparkDemogroupId>
    <artifactId>sparkDemoartifactId>
    <version>1.0-SNAPSHOTversion>
    <parent>
        <groupId>com.qiandw.spark.examplegroupId>
        <artifactId>spark-helloworldartifactId>
        <version>1.0.0version>
    parent>
    <dependencies>
        
        <dependency>
            <groupId>mysqlgroupId>
            <artifactId>mysql-connector-javaartifactId>
            <version>5.1.38version>
        dependency>
    dependencies>
    <build>
        <plugins>
            <plugin>
                <groupId>net.alchim31.mavengroupId>
                <artifactId>scala-maven-pluginartifactId>
                <version>3.2.2version>
                <executions>
                    <execution>
                        <goals>
                            <goal>compilegoal>
                            <goal>testCompilegoal>
                        goals>
                    execution>
                executions>
            plugin>
        plugins>
    build>

project>
父类POM
xml version="1.0" encoding="UTF-8"?>
<project 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">
    <modelVersion>4.0.0modelVersion>

    <groupId>com.qiandwgroupId>
   <artifactId>qiandw-analysisartifactId>
    <version>1.0.0version>
    <parent>
        <groupId>org.springframework.bootgroupId>
        <artifactId>spring-boot-starter-parentartifactId>
        <version>1.5.2.RELEASEversion>
    parent>

    <properties>
        <project.build.sourceEncoding>UTF-8project.build.sourceEncoding>
        <scala-version>2.11.8scala-version>
      <spark-version>2.1.0spark-version>
        <cassandra-driver-version>3.1.4cassandra-driver-version>
      <spark-cassandra-connector-version>2.0.0spark-cassandra-connector-version>
        
        <maven.compiler.source>1.8maven.compiler.source>
        <maven.compiler.target>1.8maven.compiler.target>
    properties>



    
    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>net.alchim31.mavengroupId>
                    <artifactId>scala-maven-pluginartifactId>
                    <version>3.2.1version>
                plugin>
                <plugin>
                    <groupId>org.apache.maven.pluginsgroupId>
                    <artifactId>maven-compiler-pluginartifactId>
                    <version>3.3version>
                plugin>
                
                
                
            plugins>
        pluginManagement>
        <plugins>
            <plugin>
                <groupId>net.alchim31.mavengroupId>
                <artifactId>scala-maven-pluginartifactId>
                <executions>
                    <execution>
                        <id>scala-compile-firstid>
                        <phase>process-resourcesphase>
                        <goals>
                            
                            <goal>compilegoal>
                        goals>
                    execution>
                    <execution>
                        <id>scala-test-compileid>
                        <phase>process-test-resourcesphase>
                        <goals>
                            <goal>testCompilegoal>
                        goals>
                    execution>
                executions>
                <configuration>
                configuration>
            plugin>
            <plugin>
                <groupId>org.apache.maven.pluginsgroupId>
                <artifactId>maven-compiler-pluginartifactId>
                <executions>
                    <execution>
                        <phase>compilephase>
                        <goals>
                            <goal>compilegoal>
                        goals>
                    execution>
                executions>
            plugin>
            <plugin>
                <groupId>org.springframework.bootgroupId>
                <artifactId>spring-boot-maven-pluginartifactId>
            plugin>
            
            
        plugins>
    build>

    
    <dependencyManagement>
        <dependencies>
            
            <dependency>
                <groupId>org.scala-langgroupId>
                <artifactId>scala-libraryartifactId>
                <version>${scala-version}version>
            dependency>
            <dependency>
                <groupId>org.scala-langgroupId>
                <artifactId>scala-reflectartifactId>
                <version>${scala-version}version>
            dependency>
            <dependency>
                <groupId>org.scala-langgroupId>
                <artifactId>scalapartifactId>
                <version>${scala-version}version>
            dependency>
         <dependency>
            <groupId>org.apache.sparkgroupId>
            <artifactId>spark-core_2.11artifactId>
            <version>${spark-version}version>
         dependency>
         <dependency>
         <groupId>org.apache.sparkgroupId>
         <artifactId>spark-sql_2.11artifactId>
         <version>${spark-version}version>
      dependency>
            <dependency>
                <groupId>org.apache.sparkgroupId>
                <artifactId>spark-streaming_2.11artifactId>
                <version>${spark-version}version>
            dependency>
            <dependency>
                <groupId>com.fasterxml.jackson.modulegroupId>
                <artifactId>jackson-module-scala_2.11artifactId>
                <version>2.8.3version>
            dependency>
            <dependency>
                <groupId>com.fasterxml.jackson.modulegroupId>
                <artifactId>jackson-module-paranamerartifactId>
                <version>2.8.3version>
            dependency>
            
            <dependency>
                <groupId>org.apache.httpcomponentsgroupId>
                <artifactId>httpcoreartifactId>
                <version>4.4.6version>
            dependency>
            <dependency>
                <groupId>org.codehaus.janinogroupId>
                <artifactId>commons-compilerartifactId>
                <version>2.7.8version>
            dependency>
        dependencies>
    dependencyManagement>
    <dependencies>
        
   <dependency>
         <groupId>com.datastax.sparkgroupId>
         <artifactId>spark-cassandra-connector_2.11artifactId>
         <version>${spark-cassandra-connector-version}version>
      dependency>
      <dependency>
            <groupId>com.datastax.cassandragroupId>
            <artifactId>cassandra-driver-coreartifactId>
            <version>${cassandra-driver-version}version>
         dependency>
         <dependency>
            <groupId>com.datastax.cassandragroupId>
            <artifactId>cassandra-driver-mappingartifactId>
            <version>${cassandra-driver-version}version>
         dependency>
        <dependency>
            <groupId>junitgroupId>
            <artifactId>junitartifactId>
        dependency>
        <dependency>
            <groupId>org.springframework.bootgroupId>
            <artifactId>spring-boot-starter-webartifactId>
            
        dependency>
        <dependency>
            <groupId>com.fasterxml.jackson.modulegroupId>
            <artifactId>jackson-module-scala_2.11artifactId>
        dependency>
        <dependency>
            <groupId>com.fasterxml.jackson.modulegroupId>
            <artifactId>jackson-module-paranamerartifactId>
        dependency>
        <dependency>
            <groupId>org.springframework.bootgroupId>
            <artifactId>spring-boot-starter-testartifactId>
            <scope>testscope>
        dependency>
        <dependency>
            <groupId>com.mchangegroupId>
            <artifactId>c3p0artifactId>
            <version>0.9.5.2version>
        dependency>
        <dependency>
            <groupId>com.microsoft.sqlservergroupId>
            <artifactId>mssql-jdbcartifactId>
            <version>6.1.0.jre8version>
        dependency>

        <dependency>
            <groupId>org.springframework.bootgroupId>
            <artifactId>spring-boot-starter-actuatorartifactId>
        dependency>
      
      


        <dependency>
            <groupId>org.scala-langgroupId>
            <artifactId>scala-libraryartifactId>
        dependency>
        <dependency>
            <groupId>org.scala-langgroupId>
            <artifactId>scala-reflectartifactId>
        dependency>
        <dependency>
            <groupId>org.apache.sparkgroupId>
            <artifactId>spark-core_2.11artifactId>
        dependency>
        <dependency>
            <groupId>org.apache.sparkgroupId>
            <artifactId>spark-sql_2.11artifactId>
        dependency>
        <dependency>
            <groupId>org.apache.sparkgroupId>
            <artifactId>spark-streaming_2.11artifactId>
        dependency>

        


    dependencies>

project>

你可能感兴趣的:(Spark)