Change version to 0.9.1, create CHANGES file
[tez.git] / tez-dag / pom.xml
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
6 http://www.apache.org/licenses/LICENSE-2.0
7
8 Unless required by applicable law or agreed to in writing, software
9 distributed under the License is distributed on an "AS IS" BASIS,
10 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 See the License for the specific language governing permissions and
12 limitations under the License. See accompanying LICENSE file.
13 -->
14
15 <project xmlns="http://maven.apache.org/POM/4.0.0"
16 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
17 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
18 <modelVersion>4.0.0</modelVersion>
19 <parent>
20 <groupId>org.apache.tez</groupId>
21 <artifactId>tez</artifactId>
22 <version>0.9.1</version>
23 </parent>
24 <properties>
25 <tez.component>tez-dag</tez.component>
26 <tez.dag.state.classes>org.apache.tez.dag.app.dag.impl.DAGImpl,
27 org.apache.tez.dag.app.dag.impl.VertexImpl,
28 org.apache.tez.dag.app.dag.impl.TaskImpl,
29 org.apache.tez.dag.app.dag.impl.TaskAttemptImpl,
30 org.apache.tez.dag.app.rm.node.AMNodeImpl,
31 org.apache.tez.dag.app.rm.container.AMContainerImpl</tez.dag.state.classes>
32 <tez.graphviz.title>Tez</tez.graphviz.title>
33 <tez.graphviz.output.file>Tez.gv</tez.graphviz.output.file>
34 </properties>
35 <artifactId>tez-dag</artifactId>
36
37 <dependencies>
38 <dependency>
39 <groupId>org.apache.tez</groupId>
40 <artifactId>hadoop-shim</artifactId>
41 </dependency>
42 <dependency>
43 <groupId>org.apache.tez</groupId>
44 <artifactId>tez-api</artifactId>
45 </dependency>
46 <dependency>
47 <groupId>org.apache.tez</groupId>
48 <artifactId>tez-common</artifactId>
49 </dependency>
50 <dependency>
51 <groupId>org.apache.tez</groupId>
52 <artifactId>tez-common</artifactId>
53 <type>test-jar</type>
54 <scope>test</scope>
55 </dependency>
56 <dependency>
57 <groupId>org.apache.tez</groupId>
58 <artifactId>tez-runtime-internals</artifactId>
59 </dependency>
60 <!-- Needed to for VertexManager and EdgeManager Plugins -->
61 <dependency>
62 <groupId>org.apache.tez</groupId>
63 <artifactId>tez-runtime-library</artifactId>
64 </dependency>
65 <dependency>
66 <groupId>org.apache.hadoop</groupId>
67 <artifactId>hadoop-annotations</artifactId>
68 </dependency>
69 <dependency>
70 <groupId>org.apache.hadoop</groupId>
71 <artifactId>hadoop-common</artifactId>
72 </dependency>
73 <dependency>
74 <groupId>org.apache.hadoop</groupId>
75 <artifactId>hadoop-yarn-api</artifactId>
76 </dependency>
77 <dependency>
78 <groupId>org.apache.hadoop</groupId>
79 <artifactId>hadoop-yarn-common</artifactId>
80 </dependency>
81 <dependency>
82 <groupId>org.apache.hadoop</groupId>
83 <artifactId>hadoop-yarn-client</artifactId>
84 </dependency>
85 <dependency>
86 <groupId>org.apache.hadoop</groupId>
87 <artifactId>hadoop-yarn-server-web-proxy</artifactId>
88 </dependency>
89 <dependency>
90 <groupId>org.apache.commons</groupId>
91 <artifactId>commons-math3</artifactId>
92 </dependency>
93 <dependency>
94 <groupId>org.slf4j</groupId>
95 <artifactId>slf4j-api</artifactId>
96 </dependency>
97 <dependency>
98 <groupId>com.google.protobuf</groupId>
99 <artifactId>protobuf-java</artifactId>
100 </dependency>
101 <dependency>
102 <groupId>commons-lang</groupId>
103 <artifactId>commons-lang</artifactId>
104 </dependency>
105 <dependency>
106 <groupId>commons-codec</groupId>
107 <artifactId>commons-codec</artifactId>
108 </dependency>
109 <dependency>
110 <groupId>commons-cli</groupId>
111 <artifactId>commons-cli</artifactId>
112 </dependency>
113 <dependency>
114 <groupId>com.google.code.findbugs</groupId>
115 <artifactId>jsr305</artifactId>
116 <scope>compile</scope>
117 </dependency>
118 <dependency>
119 <groupId>org.apache.commons</groupId>
120 <artifactId>commons-collections4</artifactId>
121 </dependency>
122 <dependency>
123 <groupId>org.apache.hadoop</groupId>
124 <artifactId>hadoop-yarn-common</artifactId>
125 <type>test-jar</type>
126 </dependency>
127 <dependency>
128 <groupId>org.mockito</groupId>
129 <artifactId>mockito-all</artifactId>
130 <scope>test</scope>
131 </dependency>
132 <dependency>
133 <groupId>junit</groupId>
134 <artifactId>junit</artifactId>
135 </dependency>
136 <dependency>
137 <groupId>com.google.guava</groupId>
138 <artifactId>guava</artifactId>
139 </dependency>
140 <dependency>
141 <groupId>org.codehaus.jettison</groupId>
142 <artifactId>jettison</artifactId>
143 </dependency>
144 <dependency>
145 <groupId>org.mortbay.jetty</groupId>
146 <artifactId>jetty</artifactId>
147 <scope>compile</scope>
148 </dependency>
149 <dependency>
150 <groupId>org.mortbay.jetty</groupId>
151 <artifactId>jetty-util</artifactId>
152 <scope>compile</scope>
153 </dependency>
154 <dependency>
155 <groupId>javax.servlet</groupId>
156 <artifactId>servlet-api</artifactId>
157 <scope>compile</scope>
158 </dependency>
159 </dependencies>
160
161 <build>
162 <!--
163 Include all files in src/main/resources. By default, do not apply property
164 substitution (filtering=false), but do apply property substitution to
165 version-info.properties (filtering=true). This will substitute the
166 version information correctly, but prevent Maven from altering other files.
167 -->
168 <resources>
169 <resource>
170 <directory>${basedir}/src/main/resources</directory>
171 <excludes>
172 <exclude>tez-dag-version-info.properties</exclude>
173 </excludes>
174 <filtering>false</filtering>
175 </resource>
176 <resource>
177 <directory>${basedir}/src/main/resources</directory>
178 <includes>
179 <include>tez-dag-version-info.properties</include>
180 </includes>
181 <filtering>true</filtering>
182 </resource>
183 </resources>
184 <plugins>
185 <plugin>
186 <groupId>org.apache.rat</groupId>
187 <artifactId>apache-rat-plugin</artifactId>
188 </plugin>
189 <plugin>
190 <groupId>org.apache.hadoop</groupId>
191 <artifactId>hadoop-maven-plugins</artifactId>
192 <executions>
193 <execution>
194 <id>compile-protoc</id>
195 <phase>generate-sources</phase>
196 <goals>
197 <goal>protoc</goal>
198 </goals>
199 <configuration>
200 <protocVersion>${protobuf.version}</protocVersion>
201 <protocCommand>${protoc.path}</protocCommand>
202 <imports>
203 <param>${basedir}/src/main/proto</param>
204 <param>${basedir}/../tez-api/src/main/proto</param>
205 <param>${basedir}/../tez-runtime-internals/src/main/proto</param>
206 </imports>
207 <source>
208 <directory>${basedir}/src/main/proto</directory>
209 <includes>
210 <include>HistoryEvents.proto</include>
211 </includes>
212 </source>
213 <output>${project.build.directory}/generated-sources/java</output>
214 </configuration>
215 </execution>
216 </executions>
217 </plugin>
218 </plugins>
219 </build>
220
221 <profiles>
222 <profile>
223 <id>visualize</id>
224 <activation>
225 <activeByDefault>false</activeByDefault>
226 </activation>
227 <build>
228 <plugins>
229 <plugin>
230 <groupId>org.codehaus.mojo</groupId>
231 <artifactId>exec-maven-plugin</artifactId>
232 <executions>
233 <execution>
234 <phase>compile</phase>
235 <goals>
236 <goal>java</goal>
237 </goals>
238 <configuration>
239 <classpathScope>test</classpathScope>
240 <mainClass>org.apache.hadoop.yarn.state.VisualizeStateMachine</mainClass>
241 <arguments>
242 <argument>${tez.graphviz.title}</argument>
243 <argument>${tez.dag.state.classes}</argument>
244 <argument>${tez.graphviz.output.file}</argument>
245 </arguments>
246 </configuration>
247 </execution>
248 </executions>
249 </plugin>
250 </plugins>
251 </build>
252 </profile>
253 </profiles>
254
255 </project>