Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
S
study-report
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
zhenxin.ma
study-report
提交
f68e6b28
提交
f68e6b28
编写于
12月 23, 2019
作者:
zhenxin.ma
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
依赖
上级
5f3d2383
变更
1
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
144 行增加
和
0 行删除
+144
-0
pom.xml
pom.xml
+144
-0
未找到文件。
pom.xml
0 → 100644
浏览文件 @
f68e6b28
<?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>
com.pica
</groupId>
<artifactId>
study_report
</artifactId>
<version>
1.0
</version>
<properties>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<!--运行的Driver类,是指定打包运行的主类-->
<mainClass>
com.utils.Driver
</mainClass>
</properties>
<repositories>
<repository>
<id>
cloudera-releases
</id>
<url>
https://repository.cloudera.com/artifactory/cloudera-repos
</url>
<releases>
<enabled>
true
</enabled>
</releases>
<snapshots>
<enabled>
false
</enabled>
</snapshots>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>
org.scala-lang
</groupId>
<artifactId>
scala-library
</artifactId>
<version>
2.11.12
</version>
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
org.apache.spark
</groupId>
<artifactId>
spark-core_2.11
</artifactId>
<version>
2.4.0-cdh6.2.0
</version>
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
org.apache.spark
</groupId>
<artifactId>
spark-sql_2.11
</artifactId>
<version>
2.4.0-cdh6.2.0
</version>
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
org.apache.spark
</groupId>
<artifactId>
spark-hive_2.11
</artifactId>
<version>
2.4.0-cdh6.2.0
</version>
<scope>
provided
</scope>
</dependency>
<!--如果Hive表是由HBase映射而来,需要加这个依赖 -->
<dependency>
<groupId>
org.apache.hive
</groupId>
<artifactId>
hive-hbase-handler
</artifactId>
<version>
2.1.1-cdh6.2.0
</version>
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
mysql
</groupId>
<artifactId>
mysql-connector-java
</artifactId>
<version>
8.0.13
</version>
<scope>
provided
</scope>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>
src/main/resources
</directory>
</resource>
</resources>
<plugins>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-assembly-plugin
</artifactId>
<configuration>
<descriptors>
<descriptor>
src/assembly/assembly.xml
</descriptor>
</descriptors>
<archive>
<manifest>
<mainClass>
${mainClass}
</mainClass>
<!--<mainClass>${package.mainClass}</mainClass>-->
</manifest>
</archive>
</configuration>
<executions>
<execution>
<id>
make-assembly
</id>
<phase>
package
</phase>
<goals>
<goal>
single
</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.scala-tools
</groupId>
<artifactId>
maven-scala-plugin
</artifactId>
<version>
2.15.2
</version>
<executions>
<execution>
<goals>
<goal>
compile
</goal>
<goal>
testCompile
</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-surefire-plugin
</artifactId>
<version>
2.12
</version>
<configuration>
<skip>
true
</skip>
<forkMode>
once
</forkMode>
<excludes>
<exclude>
**/**
</exclude>
</excludes>
</configuration>
</plugin>
<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>
\ No newline at end of file
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录