Skip to content

Commit a54c1e3

Browse files
committed
YARN-8551. Project setup for MaWo application.
Contributed by Yesha Vora
1 parent fb1c549 commit a54c1e3

File tree

28 files changed

+2455
-0
lines changed

28 files changed

+2455
-0
lines changed

hadoop-project/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1100,6 +1100,11 @@
11001100
<artifactId>mockito-core</artifactId>
11011101
<version>2.23.4</version>
11021102
</dependency>
1103+
<dependency>
1104+
<groupId>org.mockito</groupId>
1105+
<artifactId>mockito-all</artifactId>
1106+
<version>1.8.5</version>
1107+
</dependency>
11031108
<dependency>
11041109
<groupId>org.objenesis</groupId>
11051110
<artifactId>objenesis</artifactId>
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
Licensed to the Apache Software Foundation (ASF) under one or more
4+
contributor license agreements. See the NOTICE file distributed with
5+
this work for additional information regarding copyright ownership.
6+
The ASF licenses this file to You under the Apache License, Version 2.0
7+
(the "License"); you may not use this file except in compliance with
8+
the License. You may obtain a copy of the License at
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
-->
16+
<FindBugsFilter>
17+
</FindBugsFilter>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
Licensed to the Apache Software Foundation (ASF) under one or more
4+
contributor license agreements. See the NOTICE file distributed with
5+
this work for additional information regarding copyright ownership.
6+
The ASF licenses this file to You under the Apache License, Version 2.0
7+
(the "License"); you may not use this file except in compliance with
8+
the License. You may obtain a copy of the License at
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
-->
16+
<FindBugsFilter>
17+
</FindBugsFilter>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,173 @@
1+
<!--
2+
Licensed under the Apache License, Version 2.0 (the "License");
3+
you may not use this file except in compliance with the License.
4+
You may obtain a copy of the License at
5+
http://www.apache.org/licenses/LICENSE-2.0
6+
Unless required by applicable law or agreed to in writing, software
7+
distributed under the License is distributed on an "AS IS" BASIS,
8+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9+
See the License for the specific language governing permissions and
10+
limitations under the License. See accompanying LICENSE file.
11+
-->
12+
13+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
14+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
15+
<parent>
16+
<artifactId>hadoop-applications-mawo</artifactId>
17+
<groupId>org.apache.hadoop.applications.mawo</groupId>
18+
<version>3.3.0-SNAPSHOT</version>
19+
</parent>
20+
<modelVersion>4.0.0</modelVersion>
21+
22+
<!-- <groupId>org.apache.hadoop.applications.mawo</groupId> -->
23+
<artifactId>hadoop-applications-mawo-core</artifactId>
24+
<packaging>jar</packaging>
25+
26+
<name>Apache Hadoop YARN Application MaWo Core</name>
27+
<url>http://maven.apache.org</url>
28+
29+
<properties>
30+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
31+
</properties>
32+
33+
<dependencies>
34+
<dependency>
35+
<groupId>junit</groupId>
36+
<artifactId>junit</artifactId>
37+
<scope>test</scope>
38+
</dependency>
39+
40+
<dependency>
41+
<groupId>org.apache.hadoop</groupId>
42+
<artifactId>hadoop-common</artifactId>
43+
</dependency>
44+
45+
<dependency>
46+
<groupId>org.apache.hadoop</groupId>
47+
<artifactId>hadoop-common</artifactId>
48+
<type>test-jar</type>
49+
<scope>test</scope>
50+
</dependency>
51+
52+
<dependency>
53+
<groupId>com.google.inject</groupId>
54+
<artifactId>guice</artifactId>
55+
</dependency>
56+
57+
<dependency>
58+
<groupId>org.apache.curator</groupId>
59+
<artifactId>curator-framework</artifactId>
60+
</dependency>
61+
62+
<dependency>
63+
<groupId>org.apache.curator</groupId>
64+
<artifactId>curator-client</artifactId>
65+
</dependency>
66+
67+
<dependency>
68+
<groupId>org.apache.curator</groupId>
69+
<artifactId>curator-test</artifactId>
70+
<scope>test</scope>
71+
</dependency>
72+
73+
<dependency>
74+
<groupId>commons-io</groupId>
75+
<artifactId>commons-io</artifactId>
76+
</dependency>
77+
78+
<dependency>
79+
<groupId>commons-cli</groupId>
80+
<artifactId>commons-cli</artifactId>
81+
</dependency>
82+
83+
<dependency>
84+
<groupId>org.apache.zookeeper</groupId>
85+
<artifactId>zookeeper</artifactId>
86+
<exclusions>
87+
<exclusion>
88+
<!-- otherwise seems to drag in junit 3.8.1 via jline -->
89+
<groupId>junit</groupId>
90+
<artifactId>junit</artifactId>
91+
</exclusion>
92+
<exclusion>
93+
<groupId>com.sun.jdmk</groupId>
94+
<artifactId>jmxtools</artifactId>
95+
</exclusion>
96+
<exclusion>
97+
<groupId>com.sun.jmx</groupId>
98+
<artifactId>jmxri</artifactId>
99+
</exclusion>
100+
<exclusion>
101+
<groupId>org.jboss.netty</groupId>
102+
<artifactId>netty</artifactId>
103+
</exclusion>
104+
</exclusions>
105+
</dependency>
106+
107+
<dependency>
108+
<groupId>org.slf4j</groupId>
109+
<artifactId>slf4j-api</artifactId>
110+
</dependency>
111+
112+
<dependency>
113+
<groupId>com.googlecode.json-simple</groupId>
114+
<artifactId>json-simple</artifactId>
115+
</dependency>
116+
117+
<dependency>
118+
<groupId>org.apache.httpcomponents</groupId>
119+
<artifactId>httpclient</artifactId>
120+
</dependency>
121+
<dependency>
122+
<groupId>org.apache.httpcomponents</groupId>
123+
<artifactId>httpcore</artifactId>
124+
</dependency>
125+
126+
<dependency>
127+
<groupId>org.mockito</groupId>
128+
<artifactId>mockito-all</artifactId>
129+
<scope>test</scope>
130+
</dependency>
131+
</dependencies>
132+
133+
<build>
134+
<pluginManagement>
135+
<plugins>
136+
<plugin>
137+
<groupId>org.apache.maven.plugins</groupId>
138+
<artifactId>maven-assembly-plugin</artifactId>
139+
</plugin>
140+
</plugins>
141+
</pluginManagement>
142+
<plugins>
143+
<plugin>
144+
<groupId>org.apache.maven.plugins</groupId>
145+
<artifactId>maven-assembly-plugin</artifactId>
146+
<configuration>
147+
<descriptors>
148+
<descriptor>src/assembly/bin.xml</descriptor>
149+
</descriptors>
150+
<finalName>hadoop-applications-mawo-core-${project.version}</finalName>
151+
</configuration>
152+
<executions>
153+
<execution>
154+
<phase>package</phase>
155+
<goals>
156+
<goal>single</goal>
157+
</goals>
158+
</execution>
159+
</executions>
160+
</plugin>
161+
<plugin>
162+
<groupId>org.apache.rat</groupId>
163+
<artifactId>apache-rat-plugin</artifactId>
164+
<configuration>
165+
<excludes>
166+
<exclude>target/**/*</exclude>
167+
</excludes>
168+
</configuration>
169+
</plugin>
170+
</plugins>
171+
</build>
172+
173+
</project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
http://www.apache.org/licenses/LICENSE-2.0
7+
Unless required by applicable law or agreed to in writing, software
8+
distributed under the License is distributed on an "AS IS" BASIS,
9+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10+
See the License for the specific language governing permissions and
11+
limitations under the License. See accompanying LICENSE file.
12+
-->
13+
<assembly>
14+
<id>bin</id>
15+
<formats>
16+
<format>tar.gz</format>
17+
</formats>
18+
<fileSets>
19+
<fileSet>
20+
<includes>
21+
<include>README*</include>
22+
</includes>
23+
</fileSet>
24+
25+
<!-- Packaging the bin scripts -->
26+
<fileSet>
27+
<directory>src/main/bin</directory>
28+
<outputDirectory>bin</outputDirectory>
29+
</fileSet>
30+
31+
<!-- Package the main artifcats -->
32+
<fileSet>
33+
<directory>target</directory>
34+
<outputDirectory>/</outputDirectory>
35+
<includes>
36+
<include>*.jar</include>
37+
</includes>
38+
</fileSet>
39+
40+
</fileSets>
41+
</assembly>

0 commit comments

Comments
 (0)