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