forked from dianhu/SparkTraining
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
151 lines (138 loc) · 5.7 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.dianhu</groupId>
<artifactId>spark-training</artifactId>
<version>1.0-SNAPSHOT</version>
<properties>
<spark.version>1.6.2</spark.version>
<scala.version>2.10.3</scala.version>
<jedis.version>2.8.2</jedis.version>
<fastjson.version>1.2.14</fastjson.version>
<!-- Java -->
<javac.source.version>1.8</javac.source.version>
<javac.target.version>1.8</javac.target.version>
<javac.verbose>true</javac.verbose>
<!-- Project -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- Maven Tools -->
<maven-resources-plugin.version>2.7</maven-resources-plugin.version>
<maven-compiler-plugin.version>3.3</maven-compiler-plugin.version>
<maven-surefire-plugin.version>2.18.1</maven-surefire-plugin.version>
<maven-enforcer-plugin.version>1.4</maven-enforcer-plugin.version>
<appassembler-maven-plugin.version>1.9</appassembler-maven-plugin.version>
<maven-assembly-plugin.version>2.5.5</maven-assembly-plugin.version>
<maven-source-plugin.version>2.2.1</maven-source-plugin.version>
<maven-jar-plugin.version>3.0.2</maven-jar-plugin.version>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-core_2.10</artifactId>
<version>${spark.version}</version>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-sql_2.10</artifactId>
<version>${spark.version}</version>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-mllib_2.10</artifactId>
<version>${spark.version}</version>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-streaming-kafka_2.10</artifactId>
<version>${spark.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
<version>${jedis.version}</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>${fastjson.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<!--<plugin>-->
<!--<artifactId>maven-assembly-plugin</artifactId>-->
<!--<version>2.3</version>-->
<!--<configuration>-->
<!--<classifier>dist</classifier>-->
<!--<appendAssemblyId>true</appendAssemblyId>-->
<!--<descriptorRefs>-->
<!--<descriptor>jar-with-dependencies</descriptor>-->
<!--</descriptorRefs>-->
<!--</configuration>-->
<!--<executions>-->
<!--<execution>-->
<!--<id>make-assembly</id>-->
<!--<phase>package</phase>-->
<!--<goals>-->
<!--<goal>single</goal>-->
<!--</goals>-->
<!--</execution>-->
<!--</executions>-->
<!--</plugin>-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<verbose>${javac.verbose}</verbose>
<source>${javac.source.version}</source>
<target>${javac.target.version}</target>
<encoding>${project.build.sourceEncoding}</encoding>
<!-- true:跳过测试 -->
<skip>false</skip>
<showWarnings>true</showWarnings>
</configuration>
</plugin>
<!--<plugin>-->
<!--<groupId>net.alchim31.maven</groupId>-->
<!--<artifactId>scala-maven-plugin</artifactId>-->
<!--<version>3.2.2</version>-->
<!--<executions>-->
<!--<execution>-->
<!--<id>scala-compile-first</id>-->
<!--<phase>process-resources</phase>-->
<!--<goals>-->
<!--<goal>compile</goal>-->
<!--</goals>-->
<!--</execution>-->
<!--</executions>-->
<!--<configuration>-->
<!--<scalaVersion>${scala.version}</scalaVersion>-->
<!--<recompileMode>incremental</recompileMode>-->
<!--<useZincServer>true</useZincServer>-->
<!--<args>-->
<!--<arg>-unchecked</arg>-->
<!--<arg>-deprecation</arg>-->
<!--<arg>-feature</arg>-->
<!--</args>-->
<!--<jvmArgs>-->
<!--<jvmArg>-Xms1024m</jvmArg>-->
<!--<jvmArg>-Xmx1024m</jvmArg>-->
<!--</jvmArgs>-->
<!--<javacArgs>-->
<!--<javacArg>-source</javacArg>-->
<!--<javacArg>${java.version}</javacArg>-->
<!--<javacArg>-target</javacArg>-->
<!--<javacArg>${java.version}</javacArg>-->
<!--<javacArg>-Xlint:all,-serial,-path</javacArg>-->
<!--</javacArgs>-->
<!--</configuration>-->
<!--</plugin>-->
</plugins>
</build>
</project>