Skip to content

Commit 06b145a

Browse files
committed
migration from ant/ivy based build to maven, first step
1 parent 5e0e7c2 commit 06b145a

31 files changed

+100
-49
lines changed

.gitignore

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Intellij Idea project files
2+
.idea
3+
*.iml
4+
*.ipr
5+
*.iws
6+
jmeter.log
7+
8+
# gradle config
9+
.gradle
10+
.nb-*
11+
12+
# maven config
13+
target
14+
15+
# project binaries
16+
build
17+
out
18+
19+
# sonar
20+
sonar-project.properties

config/defaultConnectionSettings.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
#Default connection for ZooInspector
16+
# Default connection for ZooInspector
1717
hosts=localhost\:2181
1818
encryptionManager=org.apache.zookeeper.inspector.encryption.BasicDataEncryptionManager
1919
timeout=5000

ivy.xml

-48
This file was deleted.

pom.xml

+79
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
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"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
<groupId>org.apache.zookeeper.inspector</groupId>
6+
<artifactId>zooinspector</artifactId>
7+
<version>${zookeeper.version}</version>
8+
<packaging>jar</packaging>
9+
<name>Zoo inspector</name>
10+
11+
<dependencies>
12+
<dependency>
13+
<groupId>org.slf4j</groupId>
14+
<artifactId>slf4j-api</artifactId>
15+
<version>1.7.1</version>
16+
</dependency>
17+
<dependency>
18+
<groupId>org.slf4j</groupId>
19+
<artifactId>slf4j-log4j12</artifactId>
20+
<version>1.7.1</version>
21+
</dependency>
22+
<dependency>
23+
<groupId>log4j</groupId>
24+
<artifactId>log4j</artifactId>
25+
<version>1.2.16</version>
26+
</dependency>
27+
<dependency>
28+
<groupId>org.apache.zookeeper</groupId>
29+
<artifactId>zookeeper</artifactId>
30+
<version>3.5.0-alpha</version>
31+
</dependency>
32+
<dependency>
33+
<groupId>junit</groupId>
34+
<artifactId>junit</artifactId>
35+
<version>4.11</version>
36+
<scope>test</scope>
37+
</dependency>
38+
<dependency>
39+
<groupId>org.mockito</groupId>
40+
<artifactId>mockito-all</artifactId>
41+
<version>1.9.0</version>
42+
<scope>test</scope>
43+
</dependency>
44+
</dependencies>
45+
46+
<build>
47+
<finalName>zookeeper-${zookeeper.version}-zooinspector</finalName>
48+
<plugins>
49+
<plugin>
50+
<groupId>org.apache.maven.plugins</groupId>
51+
<artifactId>maven-compiler-plugin</artifactId>
52+
<version>3.1</version>
53+
<configuration>
54+
<source>1.6</source>
55+
<target>1.6</target>
56+
</configuration>
57+
</plugin>
58+
<plugin>
59+
<groupId>org.apache.maven.plugins</groupId>
60+
<artifactId>maven-jar-plugin</artifactId>
61+
<version>2.5</version>
62+
<configuration>
63+
<archive>
64+
<manifest>
65+
<addClasspath>true</addClasspath>
66+
<mainClass>org.apache.zookeeper.inspector.ZooInspector</mainClass>
67+
</manifest>
68+
</archive>
69+
</configuration>
70+
</plugin>
71+
</plugins>
72+
</build>
73+
74+
<properties>
75+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
76+
<zookeeper.version>3.5.0-alpha</zookeeper.version>
77+
</properties>
78+
79+
</project>

0 commit comments

Comments
 (0)