pom.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  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>1.3.0-SNAPSHOT</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>1.3.0-SNAPSHOT</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>1.3.0-SNAPSHOT</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.mockito</groupId>
  58. <artifactId>mockito-core</artifactId>
  59. <version>1.9.5</version>
  60. <scope>test</scope>
  61. </dependency>
  62. <dependency>
  63. <groupId>jline</groupId>
  64. <artifactId>jline</artifactId>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.codehaus.jackson</groupId>
  68. <artifactId>jackson-mapper-asl</artifactId>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.apache.hadoop</groupId>
  72. <artifactId>hadoop-common</artifactId>
  73. <version>2.4.1</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.apache.httpcomponents</groupId>
  77. <artifactId>httpclient</artifactId>
  78. <version>4.2.5</version>
  79. </dependency>
  80. </dependencies>
  81. <build>
  82. <plugins>
  83. <plugin>
  84. <artifactId>maven-compiler-plugin</artifactId>
  85. <version>3.0</version>
  86. </plugin>
  87. <plugin>
  88. <groupId>org.apache.rat</groupId>
  89. <artifactId>apache-rat-plugin</artifactId>
  90. <configuration>
  91. <excludes>
  92. <exclude>src/main/resources/elephant.txt</exclude>
  93. <exclude>src/main/resources/banner.txt</exclude>
  94. <exclude>src/test/resources/2columns</exclude>
  95. <exclude>src/test/resources/3columns</exclude>
  96. <exclude>src/test/resources/testBlueprint.json</exclude>
  97. <exclude>src/test/resources/core-site.xml</exclude>
  98. </excludes>
  99. </configuration>
  100. <executions>
  101. <execution>
  102. <phase>test</phase>
  103. <goals>
  104. <goal>check</goal>
  105. </goals>
  106. </execution>
  107. </executions>
  108. </plugin>
  109. <plugin>
  110. <artifactId>maven-assembly-plugin</artifactId>
  111. <configuration>
  112. <skipAssembly>true</skipAssembly>
  113. </configuration>
  114. </plugin>
  115. <plugin>
  116. <groupId>org.springframework.boot</groupId>
  117. <artifactId>spring-boot-maven-plugin</artifactId>
  118. <version>1.0.2.RELEASE</version>
  119. <executions>
  120. <execution>
  121. <goals>
  122. <goal>repackage</goal>
  123. </goals>
  124. </execution>
  125. </executions>
  126. <configuration>
  127. <mainClass>${start-class}</mainClass>
  128. </configuration>
  129. </plugin>
  130. <plugin>
  131. <groupId>org.vafer</groupId>
  132. <artifactId>jdeb</artifactId>
  133. <version>1.0.1</version>
  134. <executions>
  135. <execution>
  136. <phase>none</phase>
  137. <goals>
  138. <goal>jdeb</goal>
  139. </goals>
  140. </execution>
  141. </executions>
  142. <configuration>
  143. <controlDir>${basedir}/../../ambari-project/src/main/package/deb/control</controlDir>
  144. <skip>true</skip>
  145. <submodules>false</submodules>
  146. </configuration>
  147. </plugin>
  148. </plugins>
  149. </build>
  150. </project>