pom.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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. <artifactId>ambari-client</artifactId>
  14. <groupId>org.apache.ambari</groupId>
  15. <version>1.3.0-SNAPSHOT</version>
  16. <relativePath>../../ambari-client/</relativePath>
  17. </parent>
  18. <modelVersion>4.0.0</modelVersion>
  19. <groupId>org.apache.ambari</groupId>
  20. <artifactId>groovy-client</artifactId>
  21. <packaging>jar</packaging>
  22. <version>1.3.0-SNAPSHOT</version>
  23. <name>Ambari Groovy Client</name>
  24. <description>Ambari Groovy client</description>
  25. <properties>
  26. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  27. </properties>
  28. <dependencies>
  29. <dependency>
  30. <groupId>org.slf4j</groupId>
  31. <artifactId>slf4j-api</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.slf4j</groupId>
  35. <artifactId>slf4j-log4j12</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.codehaus.groovy</groupId>
  39. <artifactId>groovy-all</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.codehaus.groovy.modules.http-builder</groupId>
  43. <artifactId>http-builder</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.easymock</groupId>
  47. <artifactId>easymock</artifactId>
  48. <version>3.2</version>
  49. <scope>test</scope>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.spockframework</groupId>
  53. <artifactId>spock-core</artifactId>
  54. <version>0.7-groovy-2.0</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>commons-io</groupId>
  58. <artifactId>commons-io</artifactId>
  59. </dependency>
  60. </dependencies>
  61. <build>
  62. <plugins>
  63. <plugin>
  64. <artifactId>maven-compiler-plugin</artifactId>
  65. <!-- 2.8.0-01 and later require maven-compiler-plugin 3.1 or higher -->
  66. <version>3.1</version>
  67. <configuration>
  68. <compilerId>groovy-eclipse-compiler</compilerId>
  69. </configuration>
  70. <dependencies>
  71. <dependency>
  72. <groupId>org.codehaus.groovy</groupId>
  73. <artifactId>groovy-eclipse-compiler</artifactId>
  74. <version>2.8.0-01</version>
  75. </dependency>
  76. <!-- for 2.8.0-01 and later you must have an explicit dependency on
  77. groovy-eclipse-batch -->
  78. <dependency>
  79. <groupId>org.codehaus.groovy</groupId>
  80. <artifactId>groovy-eclipse-batch</artifactId>
  81. <version>2.1.8-01</version>
  82. </dependency>
  83. </dependencies>
  84. </plugin>
  85. <plugin>
  86. <groupId>org.apache.rat</groupId>
  87. <artifactId>apache-rat-plugin</artifactId>
  88. <configuration>
  89. <excludes>
  90. <exclude>**/*.iml</exclude>
  91. <exclude>src/main/resources/blueprints/**</exclude>
  92. <exclude>src/test/resources/**</exclude>
  93. </excludes>
  94. </configuration>
  95. <executions>
  96. <execution>
  97. <phase>test</phase>
  98. <goals>
  99. <goal>check</goal>
  100. </goals>
  101. </execution>
  102. </executions>
  103. </plugin>
  104. <plugin>
  105. <artifactId>maven-assembly-plugin</artifactId>
  106. <configuration>
  107. <skipAssembly>true</skipAssembly>
  108. </configuration>
  109. </plugin>
  110. <plugin>
  111. <groupId>org.vafer</groupId>
  112. <artifactId>jdeb</artifactId>
  113. <version>1.0.1</version>
  114. <executions>
  115. <execution>
  116. <phase>none</phase>
  117. <goals>
  118. <goal>jdeb</goal>
  119. </goals>
  120. </execution>
  121. </executions>
  122. <configuration>
  123. <controlDir>${basedir}/../../ambari-project/src/main/package/deb/control</controlDir>
  124. </configuration>
  125. </plugin>
  126. </plugins>
  127. </build>
  128. </project>