码迷,mamicode.com
首页 > 编程语言 > 详细

Spark2.2.0 java在pom.xml 引入 mllib库

时间:2017-07-22 12:13:35      阅读:242      评论:0      收藏:0      [点我收藏+]

标签:xsd   artifact   pom.xml   nap   ati   cat   plugin   www   compile   

<?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.0</modelVersion>

<groupId>testTSQ</groupId>
<artifactId>MovieLens</artifactId>
<version>1.0-SNAPSHOT</version>

<dependencies>
<dependency> <!-- Spark dependency -->
<groupId>org.apache.spark</groupId>
<artifactId>spark-core_2.11</artifactId>
<version>2.2.0</version>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-mllib_2.11</artifactId>
<version>2.2.0</version>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>

</project>

Spark2.2.0 java在pom.xml 引入 mllib库

标签:xsd   artifact   pom.xml   nap   ati   cat   plugin   www   compile   

原文地址:http://www.cnblogs.com/taoshiqian/p/7220627.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!