-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathpom.xml
119 lines (108 loc) · 4.27 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
<?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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>net.joshdevins</groupId>
<artifactId>storm-kafka</artifactId>
<version>1-SNAPSHOT</version>
<name>Storm Kafka</name>
<url>http://github.com/joshdevins/storm-kafka</url>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<compilerVersion>${java.version}</compilerVersion>
<source>${java.version}</source>
<target>${java.version}</target>
<showDeprecation>true</showDeprecation>
<showWarnings>true</showWarnings>
<optimize>true</optimize>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.8</version>
<configuration>
<downloadSources>true</downloadSources>
<downloadJavadocs>true</downloadJavadocs>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<archive>
<manifest>
<mainClass>net.joshdevins.storm.topologies.KafkaTestTopology</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<!-- STORM -->
<dependency>
<groupId>storm</groupId> <!-- http://clojars.org/repo -->
<artifactId>storm</artifactId>
<version>0.5.2</version>
</dependency>
<!-- KAFKA -->
<!-- NOTE: some of these dependecies don't exist in any Maven repo that I could find so you need
to sort this out for yourself -->
<!-- also define all dependencies needed by the Kafka consumer at runtime -->
<dependency>
<groupId>org.apache.incubator.kafka</groupId> <!-- manual install -->
<artifactId>kafka</artifactId>
<version>0.6.0</version>
</dependency>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId>
<version>2.8.0</version>
</dependency>
<dependency>
<groupId>com.github.sgroschupf</groupId> <!-- oss.sonatype.org -->
<artifactId>zkclient</artifactId>
<version>0.1</version>
</dependency>
<!-- STANDARD -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.0.1</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.16</version>
</dependency>
<!-- TEST -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>1.8.5</version>
<scope>test</scope>
</dependency>
</dependencies>
<properties>
<!-- ENCODING -->
<general.encoding>UTF-8</general.encoding>
<project.build.sourceEncoding>${general.encoding}</project.build.sourceEncoding>
<project.reporting.outputEncoding>${general.encoding}</project.reporting.outputEncoding>
<!-- JAVA -->
<java.version>1.6</java.version>
</properties>
</project>