pom.xml 4.7 KB

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