pom.xml 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  14. <modelVersion>4.0.0</modelVersion>
  15. <parent>
  16. <groupId>org.apache.ambari</groupId>
  17. <artifactId>ambari</artifactId>
  18. <version>1.0.3-SNAPSHOT</version>
  19. </parent>
  20. <groupId>org.apache.ambari</groupId>
  21. <artifactId>ambari-project</artifactId>
  22. <version>1.0.3-SNAPSHOT</version>
  23. <description>Apache Ambari Project POM</description>
  24. <name>Apache Ambari Project POM</name>
  25. <packaging>pom</packaging>
  26. <pluginRepositories>
  27. <pluginRepository>
  28. <id>maven2-repository.dev.java.net</id>
  29. <name>Java.net Repository for Maven</name>
  30. <url>http://download.java.net/maven/2/</url>
  31. <layout>default</layout>
  32. </pluginRepository>
  33. <pluginRepository>
  34. <id>maven2-glassfish-repository.dev.java.net</id>
  35. <name>Java.net Repository for Maven</name>
  36. <url>http://download.java.net/maven/glassfish/</url>
  37. </pluginRepository>
  38. </pluginRepositories>
  39. <repositories>
  40. <repository>
  41. <id>EclipseLink</id>
  42. <url>http://download.eclipse.org/rt/eclipselink/maven.repo</url>
  43. </repository>
  44. </repositories>
  45. <profiles>
  46. <profile>
  47. <id>dist</id>
  48. <build>
  49. <plugins>
  50. <plugin>
  51. <groupId>org.apache.maven.plugins</groupId>
  52. <artifactId>maven-javadoc-plugin</artifactId>
  53. <executions>
  54. <execution>
  55. <id>module-javadocs</id>
  56. <phase>package</phase>
  57. <goals>
  58. <goal>jar</goal>
  59. </goals>
  60. <configuration>
  61. <destDir>${project.build.directory}</destDir>
  62. </configuration>
  63. </execution>
  64. </executions>
  65. </plugin>
  66. <plugin>
  67. <groupId>org.apache.maven.plugins</groupId>
  68. <artifactId>maven-source-plugin</artifactId>
  69. <executions>
  70. <execution>
  71. <id>ambari-java-sources</id>
  72. <phase>package</phase>
  73. <goals>
  74. <goal>jar-no-fork</goal>
  75. </goals>
  76. </execution>
  77. </executions>
  78. </plugin>
  79. </plugins>
  80. </build>
  81. </profile>
  82. </profiles>
  83. <dependencyManagement>
  84. <dependencies>
  85. <dependency>
  86. <groupId>commons-io</groupId>
  87. <artifactId>commons-io</artifactId>
  88. <version>2.1</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>com.google.inject</groupId>
  92. <artifactId>guice</artifactId>
  93. <version>3.0</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>com.google.inject.extensions</groupId>
  97. <artifactId>guice-assistedinject</artifactId>
  98. <version>3.0</version>
  99. </dependency>
  100. <dependency>
  101. <groupId>com.google.inject.extensions</groupId>
  102. <artifactId>guice-persist</artifactId>
  103. <version>3.0</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.apache.derby</groupId>
  107. <artifactId>derby</artifactId>
  108. <version>10.9.1.0</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.springframework.security</groupId>
  112. <artifactId>spring-security-core</artifactId>
  113. <version>3.1.2.RELEASE</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.springframework.security</groupId>
  117. <artifactId>spring-security-config</artifactId>
  118. <version>3.1.2.RELEASE</version>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.springframework.security</groupId>
  122. <artifactId>spring-security-web</artifactId>
  123. <version>3.1.2.RELEASE</version>
  124. </dependency>
  125. <dependency>
  126. <groupId>org.springframework.security</groupId>
  127. <artifactId>spring-security-ldap</artifactId>
  128. <version>3.1.2.RELEASE</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.springframework.ldap</groupId>
  132. <artifactId>spring-ldap-core</artifactId>
  133. <version>1.3.1.RELEASE</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>org.apache.directory.server</groupId>
  137. <artifactId>apacheds-all</artifactId>
  138. <version>1.5.5</version>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.slf4j</groupId>
  142. <artifactId>slf4j-api</artifactId>
  143. <version>1.6.6</version>
  144. </dependency>
  145. <dependency>
  146. <groupId>org.slf4j</groupId>
  147. <artifactId>slf4j-log4j12</artifactId>
  148. <version>1.0.1</version>
  149. </dependency>
  150. <dependency>
  151. <groupId>org.eclipse.persistence</groupId>
  152. <artifactId>eclipselink</artifactId>
  153. <version>2.4.0</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>postgresql</groupId>
  157. <artifactId>postgresql</artifactId>
  158. <version>9.1-901.jdbc4</version>
  159. </dependency>
  160. <dependency>
  161. <groupId>org.mockito</groupId>
  162. <artifactId>mockito-core</artifactId>
  163. <version>1.8.5</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>org.mortbay.jetty</groupId>
  167. <artifactId>jetty</artifactId>
  168. <version>6.1.26</version>
  169. </dependency>
  170. <dependency>
  171. <groupId>commons-logging</groupId>
  172. <artifactId>commons-logging</artifactId>
  173. <version>1.1.1</version>
  174. </dependency>
  175. <dependency>
  176. <groupId>commons-codec</groupId>
  177. <artifactId>commons-codec</artifactId>
  178. <version>1.4</version>
  179. </dependency>
  180. <dependency>
  181. <groupId>commons-lang</groupId>
  182. <artifactId>commons-lang</artifactId>
  183. <version>2.5</version>
  184. </dependency>
  185. <dependency>
  186. <groupId>commons-httpclient</groupId>
  187. <artifactId>commons-httpclient</artifactId>
  188. <version>3.1</version>
  189. </dependency>
  190. <dependency>
  191. <groupId>javax.servlet</groupId>
  192. <artifactId>servlet-api</artifactId>
  193. <version>2.5</version>
  194. </dependency>
  195. <dependency>
  196. <groupId>com.sun.jersey</groupId>
  197. <artifactId>jersey-json</artifactId>
  198. <version>1.8</version>
  199. </dependency>
  200. <dependency>
  201. <groupId>com.sun.jersey</groupId>
  202. <artifactId>jersey-server</artifactId>
  203. <version>1.8</version>
  204. </dependency>
  205. <dependency>
  206. <groupId>com.sun.jersey</groupId>
  207. <artifactId>jersey-client</artifactId>
  208. <version>1.8</version>
  209. </dependency>
  210. <dependency>
  211. <groupId>com.sun.jersey.contribs</groupId>
  212. <artifactId>jersey-multipart</artifactId>
  213. <version>1.8</version>
  214. </dependency>
  215. <dependency>
  216. <groupId>com.sun.jersey.jersey-test-framework</groupId>
  217. <artifactId>jersey-test-framework-core</artifactId>
  218. <version>1.8</version>
  219. <scope>test</scope>
  220. </dependency>
  221. <dependency>
  222. <groupId>com.sun.jersey.jersey-test-framework</groupId>
  223. <artifactId>jersey-test-framework-grizzly2</artifactId>
  224. <version>1.8</version>
  225. </dependency>
  226. <dependency>
  227. <groupId>com.sun.jersey.contribs</groupId>
  228. <artifactId>jersey-guice</artifactId>
  229. <version>1.8</version>
  230. </dependency>
  231. <dependency>
  232. <groupId>log4j</groupId>
  233. <artifactId>log4j</artifactId>
  234. <version>1.2.15</version>
  235. <exclusions>
  236. <exclusion>
  237. <groupId>com.sun.jdmk</groupId>
  238. <artifactId>jmxtools</artifactId>
  239. </exclusion>
  240. <exclusion>
  241. <groupId>com.sun.jmx</groupId>
  242. <artifactId>jmxri</artifactId>
  243. </exclusion>
  244. <exclusion>
  245. <groupId>javax.mail</groupId>
  246. <artifactId>mail</artifactId>
  247. </exclusion>
  248. <exclusion>
  249. <groupId>javax.jms</groupId>
  250. <artifactId>jmx</artifactId>
  251. </exclusion>
  252. <exclusion>
  253. <groupId>javax.jms</groupId>
  254. <artifactId>jms</artifactId>
  255. </exclusion>
  256. </exclusions>
  257. </dependency>
  258. <dependency>
  259. <groupId>junit</groupId>
  260. <artifactId>junit</artifactId>
  261. <version>4.10</version>
  262. </dependency>
  263. </dependencies>
  264. </dependencyManagement>
  265. <build>
  266. <pluginManagement>
  267. <plugins>
  268. <plugin>
  269. <groupId>org.apache.rat</groupId>
  270. <artifactId>apache-rat-plugin</artifactId>
  271. <version>0.8</version>
  272. </plugin>
  273. <plugin>
  274. <groupId>org.apache.maven.plugins</groupId>
  275. <artifactId>maven-surefire-plugin</artifactId>
  276. <version>2.12</version>
  277. </plugin>
  278. </plugins>
  279. </pluginManagement>
  280. <plugins>
  281. <plugin>
  282. <groupId>org.apache.maven.plugins</groupId>
  283. <artifactId>maven-surefire-plugin</artifactId>
  284. <configuration>
  285. <redirectTestOutputToFile>true</redirectTestOutputToFile>
  286. <forkMode>always</forkMode>
  287. <forkedProcessTimeoutInSeconds>900</forkedProcessTimeoutInSeconds>
  288. </configuration>
  289. </plugin>
  290. </plugins>
  291. </build>
  292. </project>