Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 610 lines (590 sloc) 22.429 kb
b94281c HADOOP-6671. Use maven for hadoop common builds. Contributed by Alejandr...
Thomas White authored
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 -->
5ec8283 @QwertyManiac HADOOP-8268. A few pom.xml across Hadoop project may fail XML validation...
QwertyManiac authored
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">
b94281c HADOOP-6671. Use maven for hadoop common builds. Contributed by Alejandr...
Thomas White authored
18 <modelVersion>4.0.0</modelVersion>
19 <groupId>org.apache.hadoop</groupId>
20 <artifactId>hadoop-main</artifactId>
ca1b13a @acmurthy Changed version in trunk to 3.0.0-SNAPSHOT.
acmurthy authored
21 <version>3.0.0-SNAPSHOT</version>
b94281c HADOOP-6671. Use maven for hadoop common builds. Contributed by Alejandr...
Thomas White authored
22 <description>Apache Hadoop Main</description>
23 <name>Apache Hadoop Main</name>
24 <packaging>pom</packaging>
25
22ff7f6 HADOOP-8930. Cumulative code coverage calculation (Andrey Klochkov via b...
Robert Joseph Evans authored
26 <dependencyManagement>
27 <dependencies>
28 <dependency>
29 <groupId>com.cenqua.clover</groupId>
30 <artifactId>clover</artifactId>
31 <!-- Use the version needed by maven-clover-plugin -->
32 <version>3.0.2</version>
33 </dependency>
34 </dependencies>
35 </dependencyManagement>
36
32826a0 MAPREDUCE-3003. Publish MR JARs to Maven snapshot repository. (tucu)
Alejandro Abdelnur authored
37 <distributionManagement>
38 <repository>
cdf5bce HADOOP-9231. Parametrize staging URL for the uniformity of distributionM...
Suresh Srinivas authored
39 <id>${distMgmtStagingId}</id>
40 <name>${distMgmtStagingName}</name>
41 <url>${distMgmtStagingUrl}</url>
32826a0 MAPREDUCE-3003. Publish MR JARs to Maven snapshot repository. (tucu)
Alejandro Abdelnur authored
42 </repository>
43 <snapshotRepository>
cdf5bce HADOOP-9231. Parametrize staging URL for the uniformity of distributionM...
Suresh Srinivas authored
44 <id>${distMgmtSnapshotsId}</id>
32826a0 MAPREDUCE-3003. Publish MR JARs to Maven snapshot repository. (tucu)
Alejandro Abdelnur authored
45 <name>${distMgmtSnapshotsName}</name>
46 <url>${distMgmtSnapshotsUrl}</url>
47 </snapshotRepository>
cb0bd04 HADOOP-7763. Add top-level navigation to APT docs.
Thomas White authored
48 <site>
49 <id>apache.website</id>
50 <url>scpexe://people.apache.org/www/hadoop.apache.org/docs/r${project.version}</url>
51 </site>
32826a0 MAPREDUCE-3003. Publish MR JARs to Maven snapshot repository. (tucu)
Alejandro Abdelnur authored
52 </distributionManagement>
53
54 <repositories>
55 <repository>
cdf5bce HADOOP-9231. Parametrize staging URL for the uniformity of distributionM...
Suresh Srinivas authored
56 <id>${distMgmtSnapshotsId}</id>
32826a0 MAPREDUCE-3003. Publish MR JARs to Maven snapshot repository. (tucu)
Alejandro Abdelnur authored
57 <name>${distMgmtSnapshotsName}</name>
58 <url>${distMgmtSnapshotsUrl}</url>
59 </repository>
60 <repository>
61 <id>repository.jboss.org</id>
62 <url>http://repository.jboss.org/nexus/content/groups/public/</url>
63 <snapshots>
64 <enabled>false</enabled>
65 </snapshots>
66 </repository>
67 </repositories>
68
b94281c HADOOP-6671. Use maven for hadoop common builds. Contributed by Alejandr...
Thomas White authored
69 <licenses>
70 <license>
71 <name>The Apache Software License, Version 2.0</name>
72 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
73 </license>
74 </licenses>
75
76 <organization>
77 <name>Apache Software Foundation</name>
78 <url>http://www.apache.org</url>
79 </organization>
80
32826a0 MAPREDUCE-3003. Publish MR JARs to Maven snapshot repository. (tucu)
Alejandro Abdelnur authored
81 <properties>
cdf5bce HADOOP-9231. Parametrize staging URL for the uniformity of distributionM...
Suresh Srinivas authored
82 <distMgmtSnapshotsId>apache.snapshots.https</distMgmtSnapshotsId>
32826a0 MAPREDUCE-3003. Publish MR JARs to Maven snapshot repository. (tucu)
Alejandro Abdelnur authored
83 <distMgmtSnapshotsName>Apache Development Snapshot Repository</distMgmtSnapshotsName>
84 <distMgmtSnapshotsUrl>https://repository.apache.org/content/repositories/snapshots</distMgmtSnapshotsUrl>
cdf5bce HADOOP-9231. Parametrize staging URL for the uniformity of distributionM...
Suresh Srinivas authored
85 <distMgmtStagingId>apache.staging.https</distMgmtStagingId>
86 <distMgmtStagingName>Apache Release Distribution Repository</distMgmtStagingName>
87 <distMgmtStagingUrl>https://repository.apache.org/service/local/staging/deploy/maven2</distMgmtStagingUrl>
06d945b @c0s HADOOP-10167. Mark hadoop-common source as UTF-8 in Maven pom files / re...
c0s authored
88
89 <!-- platform encoding override -->
90 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
91 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
32826a0 MAPREDUCE-3003. Publish MR JARs to Maven snapshot repository. (tucu)
Alejandro Abdelnur authored
92 </properties>
93
b94281c HADOOP-6671. Use maven for hadoop common builds. Contributed by Alejandr...
Thomas White authored
94 <modules>
95 <module>hadoop-project</module>
f13665c HADOOP-7496. Break Maven TAR & bintar profiles into just LAYOUT & TAR pr...
Thomas White authored
96 <module>hadoop-project-dist</module>
b94281c HADOOP-6671. Use maven for hadoop common builds. Contributed by Alejandr...
Thomas White authored
97 <module>hadoop-assemblies</module>
666f22e HADOOP-8924. Add maven plugin alternative to shell script to save packag...
Suresh Srinivas authored
98 <module>hadoop-maven-plugins</module>
91b48a2 @acmurthy HADOOP-7560. Change src layout to be heirarchical. Contributed by Alejan...
acmurthy authored
99 <module>hadoop-common-project</module>
100 <module>hadoop-hdfs-project</module>
0d753f1 @acmurthy YARN-1. Promote YARN to be a sub-project of Apache Hadoop.
acmurthy authored
101 <module>hadoop-yarn-project</module>
91b48a2 @acmurthy HADOOP-7560. Change src layout to be heirarchical. Contributed by Alejan...
acmurthy authored
102 <module>hadoop-mapreduce-project</module>
7a78641 HADOOP-7624. Set things up for a top level hadoop-tools module. (tucu)
Alejandro Abdelnur authored
103 <module>hadoop-tools</module>
4f15c5c HADOOP-7642. create hadoop-dist module where TAR stitching would happen....
Alejandro Abdelnur authored
104 <module>hadoop-dist</module>
da1e0be HADOOP-8009. Create hadoop-client and hadoop-minicluster artifacts for d...
Alejandro Abdelnur authored
105 <module>hadoop-client</module>
106 <module>hadoop-minicluster</module>
b94281c HADOOP-6671. Use maven for hadoop common builds. Contributed by Alejandr...
Thomas White authored
107 </modules>
108
109 <build>
110 <pluginManagement>
111 <plugins>
112 <plugin>
113 <groupId>org.apache.maven.plugins</groupId>
91c19b1 HADOOP-9961. versions of a few transitive dependencies diverged between ...
Alejandro Abdelnur authored
114 <artifactId>maven-dependency-plugin</artifactId>
115 <version>2.4</version>
116 </plugin>
117 <plugin>
118 <groupId>org.apache.maven.plugins</groupId>
b94281c HADOOP-6671. Use maven for hadoop common builds. Contributed by Alejandr...
Thomas White authored
119 <artifactId>maven-enforcer-plugin</artifactId>
91c19b1 HADOOP-9961. versions of a few transitive dependencies diverged between ...
Alejandro Abdelnur authored
120 <version>1.3.1</version>
82b0c09 HADOOP-8035 Hadoop Maven site is inefficient and runs phases redundantly...
Alejandro Abdelnur authored
121 <configuration>
122 <rules>
123 <requireMavenVersion>
124 <version>[3.0.2,)</version>
125 </requireMavenVersion>
126 <requireJavaVersion>
127 <version>1.6</version>
128 </requireJavaVersion>
129 </rules>
130 </configuration>
b94281c HADOOP-6671. Use maven for hadoop common builds. Contributed by Alejandr...
Thomas White authored
131 </plugin>
132 <plugin>
133 <groupId>org.apache.maven.plugins</groupId>
37a95f6 HADOOP-8317. Update maven-assembly-plugin to 2.3 - fix build on FreeBSD ...
Robert Joseph Evans authored
134 <artifactId>maven-assembly-plugin</artifactId>
135 <version>2.3</version>
136 </plugin>
137 <plugin>
138 <groupId>org.apache.maven.plugins</groupId>
bb47032 @gkesavan HADOOP-7520. Fix to add distribution management info to hadoop-main. Co...
gkesavan authored
139 <artifactId>maven-deploy-plugin</artifactId>
140 <version>2.5</version>
141 </plugin>
142 <plugin>
b94281c HADOOP-6671. Use maven for hadoop common builds. Contributed by Alejandr...
Thomas White authored
143 <groupId>org.apache.rat</groupId>
144 <artifactId>apache-rat-plugin</artifactId>
145 <version>0.7</version>
146 </plugin>
6610d30 HADOOP-7743. Add Maven profile to create a full source tarball. (tucu)
Alejandro Abdelnur authored
147 <plugin>
148 <groupId>org.apache.maven.plugins</groupId>
149 <artifactId>maven-antrun-plugin</artifactId>
4ef44e3 HADOOP-10064. Upgrade to maven antrun plugin version 1.7 (Arpit Agarwal ...
Jonathan Turner Eagles authored
150 <version>1.7</version>
6610d30 HADOOP-7743. Add Maven profile to create a full source tarball. (tucu)
Alejandro Abdelnur authored
151 </plugin>
b38ad49 MAPREDUCE-3204. mvn site:site fails on MapReduce. (tucu)
Alejandro Abdelnur authored
152 <plugin>
153 <groupId>org.apache.maven.plugins</groupId>
154 <artifactId>maven-site-plugin</artifactId>
3db40c3 @arp7 HADOOP-10273. Fix 'mvn site'.
arp7 authored
155 <version>3.3</version>
0d39d5e @tgravescs HADOOP-8032. mvn site:stage-deploy should be able to use the scp protoco...
tgravescs authored
156 <dependencies>
157 <dependency><!-- add support for ssh/scp -->
158 <groupId>org.apache.maven.wagon</groupId>
159 <artifactId>wagon-ssh</artifactId>
160 <version>1.0</version>
161 </dependency>
7c9c8c2 @steveloughran HADOOP-9432 Add support for markdown .md files in site documentation
steveloughran authored
162 <dependency> <!-- add support for markdown -->
163 <groupId>org.apache.maven.doxia</groupId>
164 <artifactId>doxia-module-markdown</artifactId>
165 <version>1.3</version>
166 </dependency>
0d39d5e @tgravescs HADOOP-8032. mvn site:stage-deploy should be able to use the scp protoco...
tgravescs authored
167 </dependencies>
b38ad49 MAPREDUCE-3204. mvn site:site fails on MapReduce. (tucu)
Alejandro Abdelnur authored
168 </plugin>
0e0aa7a HADOOP-8017. Configure hadoop-main pom to get rid of M2E plugin executi...
Robert Joseph Evans authored
169 <!--This plugin's configuration is used to store Eclipse m2e settings only.
170 It has no influence on the Maven build itself.-->
171 <plugin>
172 <groupId>org.eclipse.m2e</groupId>
173 <artifactId>lifecycle-mapping</artifactId>
174 <version>1.0.0</version>
175 <configuration>
176 <lifecycleMappingMetadata>
177 <pluginExecutions>
178 <pluginExecution>
179 <pluginExecutionFilter>
180 <groupId>org.apache.maven.plugins</groupId>
181 <artifactId>maven-antrun-plugin</artifactId>
4ef44e3 HADOOP-10064. Upgrade to maven antrun plugin version 1.7 (Arpit Agarwal ...
Jonathan Turner Eagles authored
182 <versionRange>[1.7,)</versionRange>
0e0aa7a HADOOP-8017. Configure hadoop-main pom to get rid of M2E plugin executi...
Robert Joseph Evans authored
183 <goals>
184 <goal>run</goal>
185 </goals>
186 </pluginExecutionFilter>
187 <action>
188 <ignore></ignore>
189 </action>
190 </pluginExecution>
191 <pluginExecution>
192 <pluginExecutionFilter>
193 <groupId>org.apache.maven.plugins</groupId>
194 <artifactId>maven-resources-plugin</artifactId>
195 <versionRange>[2.2,)</versionRange>
196 <goals>
197 <goal>testResources</goal>
198 <goal>resources</goal>
199 </goals>
200 </pluginExecutionFilter>
201 <action>
202 <ignore></ignore>
203 </action>
204 </pluginExecution>
205 <pluginExecution>
206 <pluginExecutionFilter>
207 <groupId>org.apache.avro</groupId>
208 <artifactId>avro-maven-plugin</artifactId>
209 <versionRange>[1.5.3,)</versionRange>
210 <goals>
211 <goal>schema</goal>
212 <goal>protocol</goal>
213 </goals>
214 </pluginExecutionFilter>
215 <action>
216 <ignore></ignore>
217 </action>
218 </pluginExecution>
219 <pluginExecution>
220 <pluginExecutionFilter>
221 <groupId>org.codehaus.mojo.jspc</groupId>
222 <artifactId>jspc-maven-plugin</artifactId>
223 <versionRange>[2.0-alpha-3,)</versionRange>
224 <goals>
225 <goal>compile</goal>
226 </goals>
227 </pluginExecutionFilter>
228 <action>
229 <ignore></ignore>
230 </action>
231 </pluginExecution>
232 <pluginExecution>
233 <pluginExecutionFilter>
234 <groupId>org.apache.maven.plugins</groupId>
235 <artifactId>maven-dependency-plugin</artifactId>
91c19b1 HADOOP-9961. versions of a few transitive dependencies diverged between ...
Alejandro Abdelnur authored
236 <versionRange>[2.4,)</versionRange>
0e0aa7a HADOOP-8017. Configure hadoop-main pom to get rid of M2E plugin executi...
Robert Joseph Evans authored
237 <goals>
238 <goal>copy-dependencies</goal>
239 <goal>build-classpath</goal>
240 </goals>
241 </pluginExecutionFilter>
242 <action>
243 <ignore></ignore>
244 </action>
245 </pluginExecution>
246 <pluginExecution>
247 <pluginExecutionFilter>
248 <groupId>org.codehaus.mojo</groupId>
249 <artifactId>exec-maven-plugin</artifactId>
250 <versionRange>[1.2,)</versionRange>
251 <goals>
252 <goal>exec</goal>
253 </goals>
254 </pluginExecutionFilter>
255 <action>
256 <ignore></ignore>
257 </action>
258 </pluginExecution>
259 <pluginExecution>
260 <pluginExecutionFilter>
261 <groupId>org.apache.maven.plugins</groupId>
262 <artifactId>maven-jar-plugin</artifactId>
263 <versionRange>[2.3.1,)</versionRange>
264 <goals>
265 <goal>test-jar</goal>
266 </goals>
267 </pluginExecutionFilter>
268 <action>
269 <ignore></ignore>
270 </action>
271 </pluginExecution>
272 </pluginExecutions>
273 </lifecycleMappingMetadata>
274 </configuration>
275 </plugin>
22ff7f6 HADOOP-8930. Cumulative code coverage calculation (Andrey Klochkov via b...
Robert Joseph Evans authored
276 <plugin>
277 <groupId>com.atlassian.maven.plugins</groupId>
278 <artifactId>maven-clover2-plugin</artifactId>
279 <version>3.0.5</version>
280 </plugin>
8d60734 HADOOP-10100. MiniKDC shouldn't use apacheds-all artifact. (rkanter via ...
Alejandro Abdelnur authored
281 <plugin>
282 <groupId>org.apache.felix</groupId>
283 <artifactId>maven-bundle-plugin</artifactId>
284 <version>2.4.0</version>
285 </plugin>
b94281c HADOOP-6671. Use maven for hadoop common builds. Contributed by Alejandr...
Thomas White authored
286 </plugins>
287 </pluginManagement>
288
289 <plugins>
290 <plugin>
291 <groupId>org.apache.maven.plugins</groupId>
292 <artifactId>maven-enforcer-plugin</artifactId>
293 <inherited>false</inherited>
294 <executions>
295 <execution>
296 <id>clean</id>
297 <goals>
298 <goal>enforce</goal>
299 </goals>
300 <phase>pre-clean</phase>
301 </execution>
302 <execution>
303 <id>default</id>
304 <goals>
305 <goal>enforce</goal>
306 </goals>
307 <phase>validate</phase>
308 </execution>
309 <execution>
310 <id>site</id>
311 <goals>
312 <goal>enforce</goal>
313 </goals>
314 <phase>pre-site</phase>
315 </execution>
316 </executions>
317 </plugin>
318 <plugin>
319 <groupId>org.apache.rat</groupId>
320 <artifactId>apache-rat-plugin</artifactId>
91a94f4 @tgravescs HADOOP-9097. Maven RAT plugin is not checking all source files (tgraves)
tgravescs authored
321 <configuration>
322 <excludes>
323 <exclude>.gitattributes</exclude>
324 <exclude>.gitignore</exclude>
325 <exclude>.git/**</exclude>
326 <exclude>.idea/**</exclude>
327 </excludes>
328 </configuration>
b94281c HADOOP-6671. Use maven for hadoop common builds. Contributed by Alejandr...
Thomas White authored
329 </plugin>
2925772 HADOOP-7934. Normalize dependencies versions across all modules. (tucu)
Alejandro Abdelnur authored
330 <plugin>
cb0bd04 HADOOP-7763. Add top-level navigation to APT docs.
Thomas White authored
331 <artifactId>maven-site-plugin</artifactId>
3db40c3 @arp7 HADOOP-10273. Fix 'mvn site'.
arp7 authored
332 <version>3.3</version>
cb0bd04 HADOOP-7763. Add top-level navigation to APT docs.
Thomas White authored
333 <executions>
334 <execution>
335 <id>attach-descriptor</id>
336 <goals>
337 <goal>attach-descriptor</goal>
338 </goals>
2925772 HADOOP-7934. Normalize dependencies versions across all modules. (tucu)
Alejandro Abdelnur authored
339 <configuration>
340 <generateReports>true</generateReports>
341 </configuration>
cb0bd04 HADOOP-7763. Add top-level navigation to APT docs.
Thomas White authored
342 </execution>
343 </executions>
344 </plugin>
8d60734 HADOOP-10100. MiniKDC shouldn't use apacheds-all artifact. (rkanter via ...
Alejandro Abdelnur authored
345 <plugin>
346 <groupId>org.apache.felix</groupId>
347 <artifactId>maven-bundle-plugin</artifactId>
348 <inherited>true</inherited>
349 <extensions>true</extensions>
350 </plugin>
b94281c HADOOP-6671. Use maven for hadoop common builds. Contributed by Alejandr...
Thomas White authored
351 </plugins>
352 </build>
cb0bd04 HADOOP-7763. Add top-level navigation to APT docs.
Thomas White authored
353
237172c HADOOP-7782. Aggregate project javadocs.
Thomas White authored
354 <reporting>
355 <excludeDefaults>true</excludeDefaults>
356 <plugins>
357 <plugin>
358 <groupId>org.apache.maven.plugins</groupId>
359 <artifactId>maven-javadoc-plugin</artifactId>
c77ab45 HADOOP-8018 Hudson auto test for HDFS has started throwing javadoc (Jon...
Robert Joseph Evans authored
360 <version>2.8.1</version>
82b0c09 HADOOP-8035 Hadoop Maven site is inefficient and runs phases redundantly...
Alejandro Abdelnur authored
361 <inherited>false</inherited>
237172c HADOOP-7782. Aggregate project javadocs.
Thomas White authored
362 <reportSets>
363 <reportSet>
364 <id>aggregate</id>
365 <configuration>
366 <maxmemory>1024m</maxmemory>
367 <linksource>true</linksource>
368 <quiet>true</quiet>
369 <verbose>false</verbose>
370 <source>${maven.compile.source}</source>
371 <charset>${maven.compile.encoding}</charset>
372 <reportOutputDirectory>${project.build.directory}/site</reportOutputDirectory>
373 <destDir>hadoop-project/api</destDir>
374 <!-- Non-public APIs -->
375 <excludePackageNames>org.apache.hadoop.authentication*,org.apache.hadoop.hdfs*,org.apache.hadoop.mapreduce.v2.proto,org.apache.hadoop.yarn.proto,org.apache.hadoop.yarn.server*,org.apache.hadoop.yarn.webapp*</excludePackageNames>
376 <groups>
377 <group>
378 <title>Common</title>
379 <packages>org.apache.hadoop*</packages>
380 </group>
381 <group>
382 <title>MapReduce</title>
383 <packages>org.apache.hadoop.mapred*</packages>
384 </group>
385 <group>
386 <title>YARN</title>
387 <packages>org.apache.hadoop.yarn*</packages>
388 </group>
389 </groups>
390 <doclet>org.apache.hadoop.classification.tools.IncludePublicAnnotationsStandardDoclet</doclet>
391 <docletArtifacts>
392 <docletArtifact>
393 <groupId>org.apache.hadoop</groupId>
394 <artifactId>hadoop-annotations</artifactId>
395 <version>${project.version}</version>
396 </docletArtifact>
397 </docletArtifacts>
398 <useStandardDocletOptions>true</useStandardDocletOptions>
399
400 <!-- switch on dependency-driven aggregation -->
401 <includeDependencySources>false</includeDependencySources>
402
403 <dependencySourceIncludes>
404 <!-- include ONLY dependencies I control -->
405 <dependencySourceInclude>org.apache.hadoop:hadoop-annotations</dependencySourceInclude>
406 </dependencySourceIncludes>
407
408 </configuration>
409 <reports>
410 <report>aggregate</report>
411 </reports>
412 </reportSet>
413 </reportSets>
414 </plugin>
415
15802f2 HADOOP-8278. Make sure components declare correct set of dependencies.
Thomas White authored
416 <plugin>
417 <groupId>org.apache.maven.plugins</groupId>
418 <artifactId>maven-dependency-plugin</artifactId>
419 <version>2.4</version>
420 <reportSets>
421 <reportSet>
422 <reports>
423 <report>analyze-report</report>
424 </reports>
425 </reportSet>
426 </reportSets>
427 </plugin>
237172c HADOOP-7782. Aggregate project javadocs.
Thomas White authored
428 </plugins>
429 </reporting>
430
6610d30 HADOOP-7743. Add Maven profile to create a full source tarball. (tucu)
Alejandro Abdelnur authored
431 <profiles>
432 <profile>
433 <id>src</id>
434 <activation>
435 <activeByDefault>false</activeByDefault>
436 </activation>
437 <build>
438 <plugins>
439 <plugin>
440 <groupId>org.apache.maven.plugins</groupId>
441 <artifactId>maven-assembly-plugin</artifactId>
82b0c09 HADOOP-8035 Hadoop Maven site is inefficient and runs phases redundantly...
Alejandro Abdelnur authored
442 <inherited>false</inherited>
6610d30 HADOOP-7743. Add Maven profile to create a full source tarball. (tucu)
Alejandro Abdelnur authored
443 <executions>
444 <execution>
445 <id>src-dist</id>
446 <phase>package</phase>
447 <goals>
448 <goal>single</goal>
449 </goals>
450 <configuration>
451 <appendAssemblyId>false</appendAssemblyId>
452 <attach>false</attach>
01bc42f HADOOP-7787. Make source tarball use conventional name. Contributed by B...
Thomas White authored
453 <finalName>hadoop-${project.version}-src</finalName>
6610d30 HADOOP-7743. Add Maven profile to create a full source tarball. (tucu)
Alejandro Abdelnur authored
454 <outputDirectory>hadoop-dist/target</outputDirectory>
455 <!-- Not using descriptorRef and hadoop-assembly dependency -->
456 <!-- to avoid making hadoop-main to depend on a module -->
457 <descriptors>
458 <descriptor>hadoop-assemblies/src/main/resources/assemblies/hadoop-src.xml</descriptor>
459 </descriptors>
460 </configuration>
461 </execution>
462 </executions>
463 </plugin>
464 <plugin>
465 <groupId>org.apache.maven.plugins</groupId>
466 <artifactId>maven-antrun-plugin</artifactId>
82b0c09 HADOOP-8035 Hadoop Maven site is inefficient and runs phases redundantly...
Alejandro Abdelnur authored
467 <inherited>false</inherited>
6610d30 HADOOP-7743. Add Maven profile to create a full source tarball. (tucu)
Alejandro Abdelnur authored
468 <executions>
469 <execution>
470 <id>src-dist-msg</id>
471 <phase>package</phase>
472 <goals>
473 <goal>run</goal>
474 </goals>
475 <configuration>
476 <target>
477 <echo/>
01bc42f HADOOP-7787. Make source tarball use conventional name. Contributed by B...
Thomas White authored
478 <echo>Hadoop source tar available at: ${basedir}/hadoop-dist/target/hadoop-${project.version}-src.tar.gz</echo>
6610d30 HADOOP-7743. Add Maven profile to create a full source tarball. (tucu)
Alejandro Abdelnur authored
479 <echo/>
480 </target>
481 </configuration>
482 </execution>
483 </executions>
484 </plugin>
485 </plugins>
486 </build>
487 </profile>
488
2816a3e @acmurthy HADOOP-7789. Add support gpg signatures for maven release artifacts. Con...
acmurthy authored
489 <profile>
490 <id>dist</id>
491 <!-- Profile for generating all maven artifacts and documentation. -->
492 <build>
493 <plugins>
494 <plugin>
495 <groupId>org.apache.maven.plugins</groupId>
496 <artifactId>maven-javadoc-plugin</artifactId>
82b0c09 HADOOP-8035 Hadoop Maven site is inefficient and runs phases redundantly...
Alejandro Abdelnur authored
497 <inherited>false</inherited>
2816a3e @acmurthy HADOOP-7789. Add support gpg signatures for maven release artifacts. Con...
acmurthy authored
498 <executions>
499 <execution>
500 <!-- build aggregate javadoc in parent only -->
501 <id>default-cli</id>
502 <goals>
503 <goal>aggregate</goal>
504 </goals>
505 <configuration>
506 <overview>hadoop-common-project/hadoop-common/src/main/java/overview.html</overview>
507 </configuration>
508 </execution>
509 </executions>
510 </plugin>
511 </plugins>
512 </build>
513 </profile>
514 <profile>
515 <id>sign</id>
516 <build>
517 <plugins>
518 <plugin>
519 <groupId>org.apache.maven.plugins</groupId>
520 <artifactId>maven-gpg-plugin</artifactId>
521 <executions>
522 <execution>
523 <id>sign-artifacts</id>
524 <phase>verify</phase>
525 <goals>
526 <goal>sign</goal>
527 </goals>
528 </execution>
529 </executions>
530 </plugin>
531 </plugins>
532 </build>
533 </profile>
22ff7f6 HADOOP-8930. Cumulative code coverage calculation (Andrey Klochkov via b...
Robert Joseph Evans authored
534 <profile>
535 <id>clover</id>
536 <activation>
537 <activeByDefault>false</activeByDefault>
538 <property>
539 <name>clover</name>
540 </property>
541 </activation>
542 <properties>
543 <cloverLicenseLocation>${user.home}/.clover.license</cloverLicenseLocation>
544 <cloverDatabase>${project.build.directory}/clover/hadoop-coverage.db</cloverDatabase>
75fd77d HADOOP-9247. Parametrize Clover generateXxx properties to make them re-d...
Suresh Srinivas authored
545 <!-- NB: This additional parametrization is made in order
546 to be able to re-define these properties with "-Dk=v" maven options.
547 By some reason the expressions declared in clover
548 docs like "${maven.clover.generateHtml}" do not work in that way.
549 However, the below properties are confirmed to work: e.g.
550 -DcloverGenHtml=false switches off the Html generation.
551 The default values provided here exactly correspond to Clover defaults, so
552 the behavior is 100% backwards compatible. -->
553 <cloverAlwaysReport>true</cloverAlwaysReport>
554 <cloverGenHtml>true</cloverGenHtml>
555 <cloverGenXml>true</cloverGenXml>
556 <cloverGenHistorical>false</cloverGenHistorical>
22ff7f6 HADOOP-8930. Cumulative code coverage calculation (Andrey Klochkov via b...
Robert Joseph Evans authored
557 </properties>
558 <build>
559 <plugins>
560 <plugin>
561 <groupId>com.atlassian.maven.plugins</groupId>
562 <artifactId>maven-clover2-plugin</artifactId>
563 <configuration>
c363736 @tgravescs HADOOP-9072. Hadoop-Common-0.23-Build Fails to build in Jenkins (Robert ...
tgravescs authored
564 <includesAllSourceRoots>false</includesAllSourceRoots>
22ff7f6 HADOOP-8930. Cumulative code coverage calculation (Andrey Klochkov via b...
Robert Joseph Evans authored
565 <includesTestSourceRoots>true</includesTestSourceRoots>
566 <licenseLocation>${cloverLicenseLocation}</licenseLocation>
567 <cloverDatabase>${cloverDatabase}</cloverDatabase>
568 <targetPercentage>50%</targetPercentage>
569 <outputDirectory>${project.build.directory}/clover</outputDirectory>
75fd77d HADOOP-9247. Parametrize Clover generateXxx properties to make them re-d...
Suresh Srinivas authored
570 <alwaysReport>${cloverAlwaysReport}</alwaysReport>
571 <generateHtml>${cloverGenHtml}</generateHtml>
572 <generateXml>${cloverGenXml}</generateXml>
573 <generateHistorical>${cloverGenHistorical}</generateHistorical>
04f5d93 HADOOP-9494. Excluded auto-generated and examples code from clover repor...
Jonathan Turner Eagles authored
574 <excludes>
575 <exclude>**/examples/**/*.java</exclude>
576 <exclude>**/hamlet/*.java</exclude>
577 <exclude>**/ha/proto/*.java</exclude>
578 <exclude>**/protocol/proto/*.java</exclude>
579 <exclude>**/compiler/generated/*.java</exclude>
580 <exclude>**/protobuf/*.java</exclude>
581 <exclude>**/v2/proto/*.java</exclude>
582 <exclude>**/yarn/proto/*.java</exclude>
583 <exclude>**/security/proto/*.java</exclude>
584 <exclude>**/tools/proto/*.java</exclude>
585 <exclude>**/hs/proto/*.java</exclude>
586 </excludes>
22ff7f6 HADOOP-8930. Cumulative code coverage calculation (Andrey Klochkov via b...
Robert Joseph Evans authored
587 </configuration>
588 <executions>
589 <execution>
590 <id>clover-setup</id>
591 <phase>process-sources</phase>
592 <goals>
593 <goal>setup</goal>
594 </goals>
595 </execution>
596 <execution>
597 <id>clover</id>
598 <phase>test</phase>
599 <goals>
600 <goal>clover</goal>
601 </goals>
602 </execution>
603 </executions>
604 </plugin>
605 </plugins>
606 </build>
607 </profile>
6610d30 HADOOP-7743. Add Maven profile to create a full source tarball. (tucu)
Alejandro Abdelnur authored
608 </profiles>
b94281c HADOOP-6671. Use maven for hadoop common builds. Contributed by Alejandr...
Thomas White authored
609 </project>
Something went wrong with that request. Please try again.