pom.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. <?xml version="1.0"?>
  2. <!-- Licensed under the Apache License, Version 2.0 (the "License"); you
  3. may not use this file except in compliance with the License. You may obtain
  4. a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless
  5. required by applicable law or agreed to in writing, software distributed
  6. under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
  7. OR CONDITIONS OF ANY KIND, either express or implied. See the License for
  8. the specific language governing permissions and limitations under the License.
  9. See accompanying LICENSE file. -->
  10. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  11. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  12. <parent>
  13. <groupId>org.apache.ambari</groupId>
  14. <artifactId>ambari-shell</artifactId>
  15. <version>2.5.0.0.0</version>
  16. <relativePath>../../ambari-shell</relativePath>
  17. </parent>
  18. <modelVersion>4.0.0</modelVersion>
  19. <groupId>org.apache.ambari</groupId>
  20. <artifactId>ambari-groovy-shell</artifactId>
  21. <packaging>jar</packaging>
  22. <name>Ambari Groovy Shell</name>
  23. <version>2.5.0.0.0</version>
  24. <description>Ambari Groovy Shell</description>
  25. <properties>
  26. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  27. <start-class>org.apache.ambari.shell.AmbariShell</start-class>
  28. </properties>
  29. <dependencies>
  30. <dependency>
  31. <groupId>junit</groupId>
  32. <artifactId>junit</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework.shell</groupId>
  36. <artifactId>spring-shell</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-test</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>commons-io</groupId>
  48. <artifactId>commons-io</artifactId>
  49. <version>2.3</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.apache.ambari</groupId>
  53. <artifactId>groovy-client</artifactId>
  54. <version>2.5.0.0.0</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.mockito</groupId>
  58. <artifactId>mockito-core</artifactId>
  59. <scope>test</scope>
  60. </dependency>
  61. <dependency>
  62. <groupId>jline</groupId>
  63. <artifactId>jline</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.codehaus.jackson</groupId>
  67. <artifactId>jackson-mapper-asl</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.apache.hadoop</groupId>
  71. <artifactId>hadoop-common</artifactId>
  72. <version>2.4.1</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.apache.httpcomponents</groupId>
  76. <artifactId>httpclient</artifactId>
  77. <version>4.2.5</version>
  78. </dependency>
  79. </dependencies>
  80. <build>
  81. <plugins>
  82. <plugin>
  83. <artifactId>maven-compiler-plugin</artifactId>
  84. <version>3.0</version>
  85. </plugin>
  86. <plugin>
  87. <groupId>org.apache.rat</groupId>
  88. <artifactId>apache-rat-plugin</artifactId>
  89. <configuration>
  90. <excludes>
  91. <exclude>src/main/resources/elephant.txt</exclude>
  92. <exclude>src/main/resources/banner.txt</exclude>
  93. <exclude>src/test/resources/2columns</exclude>
  94. <exclude>src/test/resources/3columns</exclude>
  95. <exclude>src/test/resources/testBlueprint.json</exclude>
  96. <exclude>src/test/resources/core-site.xml</exclude>
  97. </excludes>
  98. </configuration>
  99. <executions>
  100. <execution>
  101. <phase>test</phase>
  102. <goals>
  103. <goal>check</goal>
  104. </goals>
  105. </execution>
  106. </executions>
  107. </plugin>
  108. <plugin>
  109. <artifactId>maven-assembly-plugin</artifactId>
  110. <configuration>
  111. <skipAssembly>true</skipAssembly>
  112. </configuration>
  113. </plugin>
  114. <plugin>
  115. <groupId>org.springframework.boot</groupId>
  116. <artifactId>spring-boot-maven-plugin</artifactId>
  117. <version>1.0.2.RELEASE</version>
  118. <executions>
  119. <execution>
  120. <goals>
  121. <goal>repackage</goal>
  122. </goals>
  123. </execution>
  124. </executions>
  125. <configuration>
  126. <mainClass>${start-class}</mainClass>
  127. </configuration>
  128. </plugin>
  129. <plugin>
  130. <groupId>org.vafer</groupId>
  131. <artifactId>jdeb</artifactId>
  132. <version>1.0.1</version>
  133. <executions>
  134. <execution>
  135. <phase>none</phase>
  136. <goals>
  137. <goal>jdeb</goal>
  138. </goals>
  139. </execution>
  140. </executions>
  141. <configuration>
  142. <controlDir>${basedir}/../../ambari-project/src/main/package/deb/control</controlDir>
  143. <skip>true</skip>
  144. <submodules>false</submodules>
  145. </configuration>
  146. </plugin>
  147. </plugins>
  148. </build>
  149. </project>