File tree 2 files changed +56
-0
lines changed
apache-zookeeper/leader-election
2 files changed +56
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <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" >
3
+ <modelVersion >4.0.0</modelVersion >
4
+ <groupId >com.sts.allprogtutorials.apachezookeeper</groupId >
5
+ <artifactId >leader-election</artifactId >
6
+ <name >Leader Election</name >
7
+ <version >0.0.1-SNAPSHOT</version >
8
+ <build >
9
+ <plugins >
10
+ <plugin >
11
+ <artifactId >maven-compiler-plugin</artifactId >
12
+ <version >3.3</version >
13
+ <configuration >
14
+ <source >1.7</source >
15
+ <target >1.7</target >
16
+ </configuration >
17
+ </plugin >
18
+ <plugin >
19
+ <artifactId >maven-shade-plugin</artifactId >
20
+ <version >2.3</version >
21
+ <executions >
22
+ <execution >
23
+ <phase >package</phase >
24
+ <goals >
25
+ <goal >shade</goal >
26
+ </goals >
27
+ </execution >
28
+ </executions >
29
+ </plugin >
30
+ <plugin >
31
+ <artifactId >maven-jar-plugin</artifactId >
32
+ <configuration >
33
+ <archive >
34
+ <manifest >
35
+ <addClasspath >true</addClasspath >
36
+ <mainClass >com.sts.allprogtutorials.zk.leaderelection.main.LeaderElectionLauncher</mainClass >
37
+ </manifest >
38
+ </archive >
39
+ </configuration >
40
+ </plugin >
41
+ </plugins >
42
+ </build >
43
+ </project >
44
+
Original file line number Diff line number Diff line change 39
39
</execution >
40
40
</executions >
41
41
</plugin >
42
+ <plugin >
43
+ <groupId >org.apache.maven.plugins</groupId >
44
+ <artifactId >maven-jar-plugin</artifactId >
45
+ <configuration >
46
+ <archive >
47
+ <manifest >
48
+ <addClasspath >true</addClasspath >
49
+ <mainClass >com.sts.allprogtutorials.zk.leaderelection.main.LeaderElectionLauncher</mainClass >
50
+ </manifest >
51
+ </archive >
52
+ </configuration >
53
+ </plugin >
42
54
</plugins >
43
55
</build >
44
56
</project >
You can’t perform that action at this time.
0 commit comments