pom.xml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  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. <project xmlns="http://maven.apache.org/POM/4.0.0"
  14. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  15. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  16. <modelVersion>4.0.0</modelVersion>
  17. <parent>
  18. <groupId>org.apache.hadoop</groupId>
  19. <artifactId>hadoop-project</artifactId>
  20. <version>3.3.0-SNAPSHOT</version>
  21. <relativePath>../hadoop-project</relativePath>
  22. </parent>
  23. <artifactId>hadoop-maven-plugins</artifactId>
  24. <packaging>maven-plugin</packaging>
  25. <name>Apache Hadoop Maven Plugins</name>
  26. <properties>
  27. <maven.dependency.version>3.0.5</maven.dependency.version>
  28. <maven.plugin-tools.version>3.6.0</maven.plugin-tools.version>
  29. </properties>
  30. <dependencies>
  31. <dependency>
  32. <groupId>org.apache.maven</groupId>
  33. <artifactId>maven-plugin-api</artifactId>
  34. <version>${maven.dependency.version}</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.apache.maven</groupId>
  38. <artifactId>maven-core</artifactId>
  39. <version>${maven.dependency.version}</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.apache.maven.plugin-tools</groupId>
  43. <artifactId>maven-plugin-annotations</artifactId>
  44. <version>${maven.plugin-tools.version}</version>
  45. <scope>provided</scope>
  46. <exclusions>
  47. <!-- excluding dependency that conflicts with other maven
  48. dependencies -->
  49. <exclusion>
  50. <groupId>org.apache.maven</groupId>
  51. <artifactId>maven-artifact</artifactId>
  52. </exclusion>
  53. </exclusions>
  54. </dependency>
  55. <dependency>
  56. <groupId>commons-io</groupId>
  57. <artifactId>commons-io</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>com.fasterxml.jackson.core</groupId>
  61. <artifactId>jackson-databind</artifactId>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.apache.maven.plugins</groupId>
  65. <artifactId>maven-shade-plugin</artifactId>
  66. <version>${maven-shade-plugin.version}</version>
  67. <scope>provided</scope>
  68. <exclusions>
  69. <!-- shade conflicts with itself and other maven internals so we simply
  70. exclude shade's (older) copies of the dependencies -->
  71. <exclusion>
  72. <groupId>org.apache.maven</groupId>
  73. <artifactId>maven-artifact</artifactId>
  74. </exclusion>
  75. <exclusion>
  76. <groupId>org.apache.maven</groupId>
  77. <artifactId>maven-compat</artifactId>
  78. </exclusion>
  79. <exclusion>
  80. <groupId>org.apache.maven</groupId>
  81. <artifactId>maven-core</artifactId>
  82. </exclusion>
  83. <exclusion>
  84. <groupId>org.apache.maven</groupId>
  85. <artifactId>maven-model</artifactId>
  86. </exclusion>
  87. <exclusion>
  88. <groupId>org.apache.maven</groupId>
  89. <artifactId>maven-plugin-api</artifactId>
  90. </exclusion>
  91. <exclusion>
  92. <groupId>org.vafer</groupId>
  93. <artifactId>jdependency</artifactId>
  94. </exclusion>
  95. <exclusion>
  96. <groupId>org.sonatype.sisu</groupId>
  97. <artifactId>sisu-inject-plexus</artifactId>
  98. </exclusion>
  99. </exclusions>
  100. </dependency>
  101. </dependencies>
  102. <build>
  103. <plugins>
  104. <plugin>
  105. <artifactId>maven-compiler-plugin</artifactId>
  106. </plugin>
  107. <plugin>
  108. <groupId>org.apache.maven.plugins</groupId>
  109. <artifactId>maven-plugin-plugin</artifactId>
  110. <version>${maven.plugin-tools.version}</version>
  111. <executions>
  112. <execution>
  113. <id>default-descriptor</id>
  114. <phase>compile</phase>
  115. </execution>
  116. </executions>
  117. </plugin>
  118. <!--
  119. Skip Clover instrumentation for this module to prevent error finding Clover
  120. classes during plugin execution when running a build with Clover enabled.
  121. -->
  122. <plugin>
  123. <groupId>com.atlassian.maven.plugins</groupId>
  124. <artifactId>maven-clover2-plugin</artifactId>
  125. <configuration>
  126. <skip>true</skip>
  127. </configuration>
  128. </plugin>
  129. </plugins>
  130. </build>
  131. </project>