DRILL-240: Add apache-rat-plugin to Eclipse' plugin Execution ignore list
[incubator-drill.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor 
3   license agreements. See the NOTICE file distributed with this work for additional 
4   information regarding copyright ownership. The ASF licenses this file to 
5   You under the Apache License, Version 2.0 (the "License"); you may not use 
6   this file except in compliance with the License. You may obtain a copy of 
7   the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required 
8   by applicable law or agreed to in writing, software distributed under the 
9   License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS 
10   OF ANY KIND, either express or implied. See the License for the specific 
11   language governing permissions and limitations under the License. -->
12 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
13   <modelVersion>4.0.0</modelVersion>
14
15   <parent>
16     <groupId>org.apache</groupId>
17     <artifactId>apache</artifactId>
18     <version>13</version>
19   </parent>
20
21   <groupId>org.apache.drill</groupId>
22   <artifactId>drill-root</artifactId>
23   <version>1.0.0-m2-incubating-SNAPSHOT</version>
24   <packaging>pom</packaging>
25
26   <name>Apache Drill Root POM</name>
27
28   <properties>
29     <target.gen.source.path>${project.basedir}/target/generated-sources</target.gen.source.path>
30     <proto.cas.path>${project.basedir}/src/main/protobuf/</proto.cas.path>
31     <dep.junit.version>4.11</dep.junit.version>
32     <dep.slf4j.version>1.7.5</dep.slf4j.version>
33   </properties>
34
35   <scm>
36     <connection>scm:git:https://git-wip-us.apache.org/repos/asf/incubator-drill.git</connection>
37     <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/incubator-drill.git</developerConnection>
38     <url>https://github.com/apache/incubator-drill</url>
39     <tag>HEAD</tag>
40   </scm>
41
42   <repositories>
43     <repository>
44       <id>conjars</id>
45       <name>Conjars</name>
46       <url>http://conjars.org/repo</url>
47       <layout>default</layout>
48       <releases>
49         <enabled>true</enabled>
50         <updatePolicy>never</updatePolicy>
51         <checksumPolicy>warn</checksumPolicy>
52       </releases>
53       <snapshots>
54         <enabled>false</enabled>
55       </snapshots>
56     </repository>
57
58     <repository>
59       <id>pentaho</id>
60       <name>Pentaho</name>
61       <url>http://repo.pentaho.org/artifactory/repo</url>
62       <layout>default</layout>
63       <releases>
64         <enabled>true</enabled>
65         <updatePolicy>never</updatePolicy>
66         <checksumPolicy>warn</checksumPolicy>
67       </releases>
68       <snapshots>
69         <enabled>false</enabled>
70       </snapshots>
71     </repository>
72
73     <repository>
74       <id>sonatype-nexus-snapshots</id>
75       <url>https://oss.sonatype.org/content/repositories/snapshots</url>
76       <releases>
77         <enabled>false</enabled>
78       </releases>
79       <snapshots>
80         <enabled>true</enabled>
81       </snapshots>
82     </repository>
83   </repositories>
84
85   <issueManagement>
86     <system>Jira</system>
87     <url>https://issues.apache.org/jira/browse/DRILL</url>
88   </issueManagement>
89
90   <build>
91
92     <plugins>
93       <plugin>
94         <groupId>org.apache.rat</groupId>
95         <artifactId>apache-rat-plugin</artifactId>
96         <executions>
97           <execution>
98             <id>rat-checks</id>
99             <phase>compile</phase>
100             <goals>
101               <goal>check</goal>
102             </goals>
103           </execution>
104         </executions>
105         <configuration>
106
107           <excludeSubprojects>false</excludeSubprojects>
108           <excludes>
109             <exclude>**/*.md</exclude>
110             <exclude>sandbox/**</exclude>
111             <exclude>**/*.json</exclude>
112             <exclude>**/drill-*.conf</exclude>
113             <exclude>**/.buildpath</exclude>
114             <exclude>**/*.proto</exclude>
115             <exclude>**/*.fmpp</exclude>
116             <exclude>**/*.tdd</exclude>
117             
118           </excludes>
119         </configuration>
120       </plugin>
121
122       <plugin>
123         <groupId>org.apache.maven.plugins</groupId>
124         <artifactId>maven-jar-plugin</artifactId>
125         <configuration>
126           <excludes>
127             <exclude>**/logging.properties</exclude>
128             <exclude>**/logback-test.xml</exclude>
129             <exclude>**/logback.out.xml</exclude>
130             <exclude>**/logback.xml</exclude>
131           </excludes>
132           <archive>
133             <index>true</index>
134             <manifest>
135               <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
136               <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
137             </manifest>
138             <manifestEntries>
139               <Extension-Name>org.apache.drill</Extension-Name>
140               <Built-By>${username}</Built-By>
141               <url>http://incubator.apache.org/drill/</url>
142             </manifestEntries>
143           </archive>
144         </configuration>
145       </plugin>
146
147
148       <plugin>
149         <groupId>org.apache.maven.plugins</groupId>
150         <artifactId>maven-resources-plugin</artifactId>
151         <configuration>
152           <encoding>UTF-8</encoding>
153         </configuration>
154       </plugin>
155       <plugin>
156         <groupId>org.apache.maven.plugins</groupId>
157         <artifactId>maven-compiler-plugin</artifactId>
158         <configuration>
159           <source>1.7</source>
160           <target>1.7</target>
161         </configuration>
162       </plugin>
163       <plugin>
164         <artifactId>maven-enforcer-plugin</artifactId>
165         <executions>
166           <execution>
167             <id>no_commons_logging</id>
168             <goals>
169               <goal>enforce</goal>
170             </goals>
171             <configuration>
172               <rules>
173                 <bannedDependencies>
174                   <excludes>
175                     <exclude>commons-logging</exclude>
176                   </excludes>
177                 </bannedDependencies>
178               </rules>
179             </configuration>
180           </execution>
181         </executions>
182       </plugin>
183       <plugin>
184         <groupId>com.mycila</groupId>
185         <artifactId>license-maven-plugin</artifactId>
186         <version>2.3</version>
187         <configuration>
188           <header>header</header>
189           <includes>
190             <include>**/*.java</include>
191           </includes>
192         </configuration>
193         <executions>
194           <execution>
195             <phase>compile</phase>
196             <goals>
197               <goal>check</goal>
198             </goals>
199           </execution>
200         </executions>
201       </plugin>
202
203     </plugins>
204     <pluginManagement>
205
206       <plugins>
207         <plugin>
208           <groupId>org.apache.rat</groupId>
209           <artifactId>apache-rat-plugin</artifactId>
210           <version>0.10</version>
211         </plugin>
212         <plugin>
213           <groupId>org.apache.maven.plugins</groupId>
214           <artifactId>maven-resources-plugin</artifactId>
215           <version>2.6</version>
216         </plugin>
217         <plugin>
218           <groupId>org.apache.maven.plugins</groupId>
219           <artifactId>maven-compiler-plugin</artifactId>
220           <version>3.0</version>
221         </plugin>
222         <plugin>
223           <artifactId>maven-enforcer-plugin</artifactId>
224           <version>1.2</version>
225         </plugin>
226         <plugin>
227           <artifactId>maven-surefire-plugin</artifactId>
228           <version>2.15</version>
229           <configuration>
230             <argLine>-XX:MaxDirectMemorySize=4096M </argLine>
231           </configuration>
232         </plugin>
233         <plugin>
234           <groupId>org.apache.maven.plugins</groupId>
235           <artifactId>maven-release-plugin</artifactId>
236           <version>2.4.1</version>
237           <configuration>
238             <useReleaseProfile>false</useReleaseProfile>
239             <pushChanges>false</pushChanges>
240             <goals>deploy</goals>
241             <arguments>-Pdrill-release ${arguments}</arguments>
242           </configuration>
243         </plugin>
244
245         <!--This plugin's configuration is used to store Eclipse m2e settings 
246           only. It has no influence on the Maven build itself. -->
247         <plugin>
248           <groupId>org.eclipse.m2e</groupId>
249           <artifactId>lifecycle-mapping</artifactId>
250           <version>1.0.0</version>
251           <configuration>
252             <lifecycleMappingMetadata>
253               <pluginExecutions>
254                 <pluginExecution>
255                   <pluginExecutionFilter>
256                     <groupId>org.apache.maven.plugins</groupId>
257                     <artifactId>maven-antrun-plugin</artifactId>
258                     <versionRange>[1.6,)</versionRange>
259                     <goals>
260                       <goal>run</goal>
261                     </goals>
262                   </pluginExecutionFilter>
263                   <action>
264                     <ignore />
265                   </action>
266                 </pluginExecution>
267                 <pluginExecution>
268                   <pluginExecutionFilter>
269                     <groupId>com.github.igor-petruk.protobuf</groupId>
270                     <artifactId>protobuf-maven-plugin</artifactId>
271                     <versionRange>[0.6.3,)</versionRange>
272                     <goals>
273                       <goal>run</goal>
274                     </goals>
275                   </pluginExecutionFilter>
276                   <action>
277                     <ignore />
278                   </action>
279                 </pluginExecution>
280                 <pluginExecution>
281                   <pluginExecutionFilter>
282                     <groupId>com.googlecode.fmpp-maven-plugin</groupId>
283                     <artifactId>fmpp-maven-plugin</artifactId>
284                     <versionRange>[1.0,)</versionRange>
285                     <goals>
286                       <goal>run</goal>
287                       <goal>generate</goal>
288                     </goals>
289                   </pluginExecutionFilter>
290                   <action>
291                     <ignore />
292                   </action>
293                 </pluginExecution>
294                 <pluginExecution>
295                   <pluginExecutionFilter>
296                     <groupId>org.apache.maven.plugins</groupId>
297                     <artifactId>maven-enforcer-plugin</artifactId>
298                     <versionRange>[1.2,)</versionRange>
299                     <goals>
300                       <goal>enforce</goal>
301                     </goals>
302                   </pluginExecutionFilter>
303                   <action>
304                     <ignore />
305                   </action>
306                 </pluginExecution>
307                 <pluginExecution>
308                   <pluginExecutionFilter>
309                     <groupId>org.apache.maven.plugins</groupId>
310                     <artifactId>
311                       maven-remote-resources-plugin
312                     </artifactId>
313                     <versionRange>[1.1,)</versionRange>
314                     <goals>
315                       <goal>process</goal>
316                     </goals>
317                   </pluginExecutionFilter>
318                   <action>
319                     <ignore />
320                   </action>
321                 </pluginExecution>
322                 <pluginExecution>
323                   <pluginExecutionFilter>
324                     <groupId>org.apache.rat</groupId>
325                     <artifactId>apache-rat-plugin</artifactId>
326                     <versionRange>[0.10,)</versionRange>
327                     <goals>
328                       <goal>check</goal>
329                     </goals>
330                   </pluginExecutionFilter>
331                   <action>
332                     <ignore/>
333                   </action>
334                 </pluginExecution>
335               </pluginExecutions>
336             </lifecycleMappingMetadata>
337           </configuration>
338         </plugin>
339       </plugins>
340     </pluginManagement>
341   </build>
342   <dependencies>
343
344     <dependency>
345       <groupId>com.google.guava</groupId>
346       <artifactId>guava</artifactId>
347       <version>14.0.1</version>
348     </dependency>
349
350     <dependency>
351       <groupId>org.slf4j</groupId>
352       <artifactId>slf4j-api</artifactId>
353       <version>${dep.slf4j.version}</version>
354     </dependency>
355
356     <dependency>
357       <groupId>org.slf4j</groupId>
358       <artifactId>jul-to-slf4j</artifactId>
359       <version>${dep.slf4j.version}</version>
360     </dependency>
361
362     <dependency>
363       <groupId>org.slf4j</groupId>
364       <artifactId>jcl-over-slf4j</artifactId>
365       <version>${dep.slf4j.version}</version>
366     </dependency>
367
368     <dependency>
369       <groupId>org.slf4j</groupId>
370       <artifactId>log4j-over-slf4j</artifactId>
371       <version>${dep.slf4j.version}</version>
372     </dependency>
373
374     <!-- Test Dependencies -->
375     <dependency>
376       <groupId>com.googlecode.jmockit</groupId>
377       <artifactId>jmockit</artifactId>
378       <version>1.3</version>
379       <scope>test</scope>
380     </dependency>
381     <dependency>
382       <groupId>junit</groupId>
383       <artifactId>junit</artifactId>
384       <version>${dep.junit.version}</version>
385       <scope>test</scope>
386     </dependency>
387     <dependency>
388       <groupId>ch.qos.logback</groupId>
389       <artifactId>logback-classic</artifactId>
390       <version>1.0.13</version>
391       <scope>test</scope>
392     </dependency>
393     <dependency>
394       <groupId>de.huxhorn.lilith</groupId>
395       <artifactId>de.huxhorn.lilith.logback.appender.multiplex-classic</artifactId>
396       <version>0.9.43</version>
397       <scope>test</scope>
398     </dependency>
399
400   </dependencies>
401
402   <!-- Managed Dependencies -->
403   <dependencyManagement>
404   </dependencyManagement>
405
406   <profiles>
407     <profile>
408       <!-- this is heavily borrowed from the apache-root pom but updated 
409         so we don't have some of the issues it has. -->
410       <id>drill-release</id>
411       <build>
412         <plugins>
413           <plugin>
414             <groupId>net.ju-n.maven.plugins</groupId>
415             <artifactId>checksum-maven-plugin</artifactId>
416             <version>1.2</version>
417             <executions>
418               <execution>
419                 <goals>
420                   <goal>artifacts</goal>
421                 </goals>
422               </execution>
423             </executions>
424             <configuration>
425               <algorithms>
426                 <algorithm>MD5</algorithm>
427                 <algorithm>SHA-1</algorithm>
428               </algorithms>
429               <failOnError>false</failOnError>
430             </configuration>
431           </plugin>
432
433           <!-- Create a source-release artifact that contains the fully buildable 
434             project directory source structure. This is the artifact which is the official 
435             subject of any release vote. -->
436           <plugin>
437             <artifactId>maven-assembly-plugin</artifactId>
438             <dependencies>
439               <dependency>
440                 <groupId>org.apache.apache.resources</groupId>
441                 <artifactId>apache-source-release-assembly-descriptor</artifactId>
442                 <version>1.0.4</version>
443               </dependency>
444             </dependencies>
445             <executions>
446               <execution>
447                 <id>source-release-assembly</id>
448                 <phase>package</phase>
449                 <goals>
450                   <goal>single</goal>
451                 </goals>
452                 <configuration>
453                   <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
454                   <descriptor>src/assembly/source-assembly.xml</descriptor>
455                   <finalName>apache-drill-${project.version}</finalName>
456                   <tarLongFileMode>gnu</tarLongFileMode>
457                 </configuration>
458               </execution>
459             </executions>
460           </plugin>
461           <!-- We want to deploy the artifact to a staging location for perusal -->
462           <plugin>
463             <inherited>true</inherited>
464             <groupId>org.apache.maven.plugins</groupId>
465             <artifactId>maven-deploy-plugin</artifactId>
466             <configuration>
467               <updateReleaseInfo>true</updateReleaseInfo>
468             </configuration>
469           </plugin>
470           <plugin>
471             <groupId>org.apache.maven.plugins</groupId>
472             <artifactId>maven-source-plugin</artifactId>
473             <executions>
474               <execution>
475                 <id>attach-sources</id>
476                 <goals>
477                   <goal>jar</goal>
478                 </goals>
479               </execution>
480             </executions>
481           </plugin>
482           <plugin>
483             <groupId>org.apache.maven.plugins</groupId>
484             <artifactId>maven-javadoc-plugin</artifactId>
485             <executions>
486               <execution>
487                 <id>attach-javadocs</id>
488                 <goals>
489                   <goal>jar</goal>
490                 </goals>
491               </execution>
492             </executions>
493           </plugin>
494           <!-- We want to sign the artifact, the POM, and all attached artifacts -->
495           <plugin>
496             <groupId>org.apache.maven.plugins</groupId>
497             <artifactId>maven-gpg-plugin</artifactId>
498             <configuration>
499               <passphrase>${gpg.passphrase}</passphrase>
500               <useAgent>${gpg.useagent}</useAgent>
501             </configuration>
502             <executions>
503               <execution>
504                 <goals>
505                   <goal>sign</goal>
506                 </goals>
507               </execution>
508             </executions>
509           </plugin>
510         </plugins>
511       </build>
512     </profile>
513     <profile>
514       <id>default-hadoop</id>
515       <activation>
516         <property>
517           <name>!alt-hadoop</name>
518         </property>
519       </activation>
520       <dependencyManagement>
521         <dependencies>
522           <dependency>
523             <groupId>org.apache.hadoop</groupId>
524             <artifactId>hadoop-core</artifactId>
525             <version>1.2.1</version>
526             <exclusions>
527               <exclusion>
528                 <artifactId>jets3t</artifactId>
529                 <groupId>net.java.dev.jets3t</groupId>
530               </exclusion>
531               <exclusion>
532                 <artifactId>log4j</artifactId>
533                 <groupId>log4j</groupId>
534               </exclusion>
535
536               <exclusion>
537                 <artifactId>mockito-all</artifactId>
538                 <groupId>org.mockito</groupId>
539               </exclusion>
540               <exclusion>
541                 <artifactId>commons-logging-api</artifactId>
542                 <groupId>commons-logging</groupId>
543               </exclusion>
544               <exclusion>
545                 <artifactId>commons-logging</artifactId>
546                 <groupId>commons-logging</groupId>
547               </exclusion>
548               <exclusion>
549                 <artifactId>jersey-server</artifactId>
550                 <groupId>com.sun.jersey</groupId>
551               </exclusion>
552               <exclusion>
553                 <artifactId>core</artifactId>
554                 <groupId>org.eclipse.jdt</groupId>
555               </exclusion>
556               <exclusion>
557                 <groupId>org.codehaus.jackson</groupId>
558                 <artifactId>jackson-core-asl</artifactId>
559               </exclusion>
560               <exclusion>
561                 <groupId>org.codehaus.jackson</groupId>
562                 <artifactId>jackson-mapper-asl</artifactId>
563               </exclusion>
564               <exclusion>
565                 <groupId>org.codehaus.jackson</groupId>
566                 <artifactId>jackson-xc</artifactId>
567               </exclusion>
568               <exclusion>
569                 <groupId>org.codehaus.jackson</groupId>
570                 <artifactId>jackson-jaxrs</artifactId>
571               </exclusion>
572             </exclusions>
573           </dependency>
574           <dependency>
575             <groupId>net.hydromatic</groupId>
576             <artifactId>optiq</artifactId>
577             <version>0.4.10</version>
578             <exclusions>
579               <exclusion>
580                 <groupId>org.jgrapht</groupId>
581                 <artifactId>jgrapht-jdk1.5</artifactId>
582               </exclusion>
583             </exclusions>
584           </dependency>
585         </dependencies>
586       </dependencyManagement>
587     </profile>
588     <profile>
589       <id>mapr</id>
590       <properties>
591         <alt-hadoop>mapr</alt-hadoop>
592         <rat.excludeSubprojects>false</rat.excludeSubprojects>
593       </properties>
594       <dependencyManagement>
595         <dependencies>
596           <dependency>
597             <groupId>xerces</groupId>
598             <artifactId>xercesImpl</artifactId>
599             <version>2.9.1</version>
600           </dependency>
601           <dependency>
602             <groupId>xalan</groupId>
603             <artifactId>xalan</artifactId>
604             <version>2.7.1</version>
605           </dependency>
606           <dependency>
607             <groupId>com.mapr.hadoop</groupId>
608             <artifactId>maprfs</artifactId>
609             <version>1.0.3-mapr-3.0.0</version>
610           </dependency>
611           <dependency>
612             <groupId>org.apache.hadoop</groupId>
613             <artifactId>hadoop-core</artifactId>
614             <version>1.0.3-mapr-3.0.0</version>
615             <exclusions>
616               <exclusion>
617                 <artifactId>asm</artifactId>
618                 <groupId>asm</groupId>
619               </exclusion>
620               <exclusion>
621                 <artifactId>central-logging</artifactId>
622                 <groupId>com.mapr.util</groupId>
623               </exclusion>
624               <exclusion>
625                 <groupId>org.codehaus.jackson</groupId>
626                 <artifactId>jackson-core-asl</artifactId>
627               </exclusion>
628               <exclusion>
629                 <groupId>org.codehaus.jackson</groupId>
630                 <artifactId>jackson-mapper-asl</artifactId>
631               </exclusion>
632               <exclusion>
633                 <groupId>org.codehaus.jackson</groupId>
634                 <artifactId>jackson-xc</artifactId>
635               </exclusion>
636               <exclusion>
637                 <groupId>org.codehaus.jackson</groupId>
638                 <artifactId>jackson-jaxrs</artifactId>
639               </exclusion>
640               <exclusion>
641                 <artifactId>mockito-all</artifactId>
642                 <groupId>org.codehaus</groupId>
643               </exclusion>
644               <exclusion>
645
646                 <artifactId>jets3t</artifactId>
647                 <groupId>net.java.dev.jets3t</groupId>
648               </exclusion>
649               <exclusion>
650                 <artifactId>log4j</artifactId>
651                 <groupId>log4j</groupId>
652               </exclusion>
653
654               <exclusion>
655                 <artifactId>mockito-all</artifactId>
656                 <groupId>org.mockito</groupId>
657               </exclusion>
658               <exclusion>
659                 <artifactId>commons-logging-api</artifactId>
660                 <groupId>commons-logging</groupId>
661               </exclusion>
662               <exclusion>
663                 <artifactId>commons-logging</artifactId>
664                 <groupId>commons-logging</groupId>
665               </exclusion>
666               <exclusion>
667                 <artifactId>slf4j-log4j12</artifactId>
668                 <groupId>org.slf4j</groupId>
669               </exclusion>
670               <exclusion>
671                 <artifactId>servlet-api-2.5</artifactId>
672                 <groupId>org.mortbay.jetty</groupId>
673               </exclusion>
674               <exclusion>
675                 <artifactId>jasper-runtime</artifactId>
676                 <groupId>tomcat</groupId>
677               </exclusion>
678               <exclusion>
679                 <artifactId>jasper-compiler</artifactId>
680                 <groupId>tomcat</groupId>
681               </exclusion>
682               <exclusion>
683                 <artifactId>jetty</artifactId>
684                 <groupId>org.mortbay.jetty</groupId>
685               </exclusion>
686               <exclusion>
687                 <artifactId>jersey-server</artifactId>
688                 <groupId>com.sun.jersey</groupId>
689               </exclusion>
690               <exclusion>
691                 <artifactId>core</artifactId>
692                 <groupId>org.eclipse.jdt</groupId>
693               </exclusion>
694             </exclusions>
695           </dependency>
696         </dependencies>
697       </dependencyManagement>
698       <repositories>
699         <repository>
700           <id>mapr-releases</id>
701           <url>http://repository.mapr.com/maven/</url>
702           <snapshots>
703             <enabled>false</enabled>
704           </snapshots>
705           <releases>
706             <enabled>true</enabled>
707           </releases>
708         </repository>
709       </repositories>
710     </profile>
711     <profile>
712       <id>cdh</id>
713       <properties>
714         <alt-hadoop>cdh4</alt-hadoop>
715       </properties>
716       <dependencyManagement>
717         <dependencies>
718           <dependency>
719             <groupId>org.apache.hadoop</groupId>
720             <artifactId>hadoop-common</artifactId>
721             <version>2.0.0-cdh4.4.0</version>
722             <exclusions>
723               <exclusion>
724                 <artifactId>commons-logging</artifactId>
725                 <groupId>commons-logging</groupId>
726               </exclusion>
727             </exclusions>
728           </dependency>
729         </dependencies>
730       </dependencyManagement>
731       <repositories>
732         <repository>
733           <id>cloudera</id>
734           <url>https://repository.cloudera.com/artifactory/cloudera-repos/</url>
735         </repository>
736       </repositories>
737     </profile>
738     <profile>
739       <id>hdp</id>
740       <properties>
741         <alt-hadoop>hdp</alt-hadoop>
742       </properties>
743       <dependencyManagement>
744         <dependencies>
745           <dependency>
746             <groupId>org.apache.hadoop</groupId>
747             <artifactId>hadoop-common</artifactId>
748             <version>2.1.0.2.0.4.0-38</version>
749             <exclusions>
750               <exclusion>
751                 <artifactId>commons-logging</artifactId>
752                 <groupId>commons-logging</groupId>
753               </exclusion>
754             </exclusions>
755           </dependency>
756         </dependencies>
757       </dependencyManagement>
758       <repositories>
759         <repository>
760           <releases>
761             <enabled>true</enabled>
762             <updatePolicy>always</updatePolicy>
763             <checksumPolicy>warn</checksumPolicy>
764           </releases>
765           <snapshots>
766             <enabled>false</enabled>
767             <updatePolicy>never</updatePolicy>
768             <checksumPolicy>fail</checksumPolicy>
769           </snapshots>
770           <id>HDPReleases</id>
771           <name>HDP Releases</name>
772           <url>http://repo.hortonworks.com/content/repositories/releases</url>
773           <layout>default</layout>
774         </repository>
775       </repositories>
776     </profile>
777   </profiles>
778   <modules>
779     <module>protocol</module>
780     <module>common</module>
781     <module>contrib</module>
782     <module>exec</module>
783     <module>sqlparser</module>
784     <module>distribution</module>
785   </modules>
786 </project>