pom.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386
  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.3.0-SNAPSHOT</version>
  19. </parent>
  20. <groupId>org.apache.ambari</groupId>
  21. <artifactId>ambari-project</artifactId>
  22. <version>1.3.0-SNAPSHOT</version>
  23. <description>Apache Ambari Project POM</description>
  24. <name>Apache Ambari Project POM</name>
  25. <packaging>pom</packaging>
  26. <properties>
  27. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  28. </properties>
  29. <pluginRepositories>
  30. <pluginRepository>
  31. <id>maven2-repository.dev.java.net</id>
  32. <name>Java.net Repository for Maven</name>
  33. <url>http://download.java.net/maven/2/</url>
  34. <layout>default</layout>
  35. </pluginRepository>
  36. <pluginRepository>
  37. <id>maven2-glassfish-repository.dev.java.net</id>
  38. <name>Java.net Repository for Maven</name>
  39. <url>http://download.java.net/maven/glassfish/</url>
  40. </pluginRepository>
  41. </pluginRepositories>
  42. <repositories>
  43. <repository>
  44. <id>EclipseLink</id>
  45. <url>http://download.eclipse.org/rt/eclipselink/maven.repo</url>
  46. </repository>
  47. </repositories>
  48. <profiles>
  49. <profile>
  50. <id>dist</id>
  51. <build>
  52. <plugins>
  53. <plugin>
  54. <groupId>org.apache.maven.plugins</groupId>
  55. <artifactId>maven-javadoc-plugin</artifactId>
  56. <executions>
  57. <execution>
  58. <id>module-javadocs</id>
  59. <phase>package</phase>
  60. <goals>
  61. <goal>jar</goal>
  62. </goals>
  63. <configuration>
  64. <destDir>${project.build.directory}</destDir>
  65. </configuration>
  66. </execution>
  67. </executions>
  68. </plugin>
  69. <plugin>
  70. <groupId>org.apache.maven.plugins</groupId>
  71. <artifactId>maven-source-plugin</artifactId>
  72. <executions>
  73. <execution>
  74. <id>ambari-java-sources</id>
  75. <phase>package</phase>
  76. <goals>
  77. <goal>jar-no-fork</goal>
  78. </goals>
  79. </execution>
  80. </executions>
  81. </plugin>
  82. </plugins>
  83. </build>
  84. </profile>
  85. </profiles>
  86. <dependencyManagement>
  87. <dependencies>
  88. <dependency>
  89. <groupId>org.apache.ambari</groupId>
  90. <artifactId>ambari-api</artifactId>
  91. <version>1.0.3-SNAPSHOT</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>commons-io</groupId>
  95. <artifactId>commons-io</artifactId>
  96. <version>2.1</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>com.google.inject.extensions</groupId>
  100. <artifactId>guice-servlet</artifactId>
  101. <version>3.0</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.codehaus.jettison</groupId>
  105. <artifactId>jettison</artifactId>
  106. <version>1.1</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>com.google.inject</groupId>
  110. <artifactId>guice</artifactId>
  111. <version>3.0</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>com.google.inject.extensions</groupId>
  115. <artifactId>guice-assistedinject</artifactId>
  116. <version>3.0</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>com.google.inject.extensions</groupId>
  120. <artifactId>guice-persist</artifactId>
  121. <version>3.0</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>com.google.code.gson</groupId>
  125. <artifactId>gson</artifactId>
  126. <version>2.2.2</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.apache.derby</groupId>
  130. <artifactId>derby</artifactId>
  131. <version>10.9.1.0</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.springframework.security</groupId>
  135. <artifactId>spring-security-core</artifactId>
  136. <version>3.1.2.RELEASE</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.springframework.security</groupId>
  140. <artifactId>spring-security-config</artifactId>
  141. <version>3.1.2.RELEASE</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>org.springframework.security</groupId>
  145. <artifactId>spring-security-web</artifactId>
  146. <version>3.1.2.RELEASE</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.springframework.security</groupId>
  150. <artifactId>spring-security-ldap</artifactId>
  151. <version>3.1.2.RELEASE</version>
  152. </dependency>
  153. <dependency>
  154. <groupId>org.springframework.ldap</groupId>
  155. <artifactId>spring-ldap-core</artifactId>
  156. <version>1.3.1.RELEASE</version>
  157. </dependency>
  158. <dependency>
  159. <groupId>org.apache.directory.server</groupId>
  160. <artifactId>apacheds-core</artifactId>
  161. <version>1.5.5</version>
  162. </dependency>
  163. <dependency>
  164. <groupId>org.apache.directory.server</groupId>
  165. <artifactId>apacheds-protocol-ldap</artifactId>
  166. <version>1.5.5</version>
  167. </dependency>
  168. <dependency>
  169. <groupId>org.apache.directory.shared</groupId>
  170. <artifactId>shared-ldap</artifactId>
  171. <version>0.9.17</version>
  172. </dependency>
  173. <dependency>
  174. <groupId>org.slf4j</groupId>
  175. <artifactId>slf4j-api</artifactId>
  176. <version>1.7.2</version>
  177. </dependency>
  178. <dependency>
  179. <groupId>org.slf4j</groupId>
  180. <artifactId>slf4j-log4j12</artifactId>
  181. <version>1.7.2</version>
  182. </dependency>
  183. <dependency>
  184. <groupId>org.eclipse.persistence</groupId>
  185. <artifactId>eclipselink</artifactId>
  186. <version>2.4.0</version>
  187. </dependency>
  188. <dependency>
  189. <groupId>postgresql</groupId>
  190. <artifactId>postgresql</artifactId>
  191. <version>9.1-901.jdbc4</version>
  192. </dependency>
  193. <dependency>
  194. <groupId>org.mockito</groupId>
  195. <artifactId>mockito-core</artifactId>
  196. <version>1.8.5</version>
  197. </dependency>
  198. <dependency>
  199. <groupId>org.eclipse.jetty</groupId>
  200. <artifactId>jetty-server</artifactId>
  201. <version>7.6.7.v20120910</version>
  202. </dependency>
  203. <dependency>
  204. <groupId>org.eclipse.jetty</groupId>
  205. <artifactId>jetty-security</artifactId>
  206. <version>7.6.7.v20120910</version>
  207. </dependency>
  208. <dependency>
  209. <groupId>org.eclipse.jetty</groupId>
  210. <artifactId>jetty-servlet</artifactId>
  211. <version>7.6.7.v20120910</version>
  212. </dependency>
  213. <dependency>
  214. <groupId>org.eclipse.jetty</groupId>
  215. <artifactId>jetty-webapp</artifactId>
  216. <version>7.6.7.v20120910</version>
  217. </dependency>
  218. <dependency>
  219. <groupId>commons-logging</groupId>
  220. <artifactId>commons-logging</artifactId>
  221. <version>1.1.1</version>
  222. </dependency>
  223. <dependency>
  224. <groupId>commons-codec</groupId>
  225. <artifactId>commons-codec</artifactId>
  226. <version>1.4</version>
  227. </dependency>
  228. <dependency>
  229. <groupId>commons-lang</groupId>
  230. <artifactId>commons-lang</artifactId>
  231. <version>2.5</version>
  232. </dependency>
  233. <dependency>
  234. <groupId>commons-httpclient</groupId>
  235. <artifactId>commons-httpclient</artifactId>
  236. <version>3.1</version>
  237. </dependency>
  238. <dependency>
  239. <groupId>javax.servlet</groupId>
  240. <artifactId>servlet-api</artifactId>
  241. <version>2.5</version>
  242. </dependency>
  243. <dependency>
  244. <groupId>com.sun.jersey</groupId>
  245. <artifactId>jersey-core</artifactId>
  246. <version>1.11</version>
  247. </dependency>
  248. <dependency>
  249. <groupId>com.sun.jersey</groupId>
  250. <artifactId>jersey-grizzly</artifactId>
  251. <version>1.11</version>
  252. </dependency>
  253. <dependency>
  254. <groupId>org.codehaus.jackson</groupId>
  255. <artifactId>jackson-core-asl</artifactId>
  256. <version>1.9.9</version>
  257. </dependency>
  258. <dependency>
  259. <groupId>org.codehaus.jackson</groupId>
  260. <artifactId>jackson-jaxrs</artifactId>
  261. <version>1.9.9</version>
  262. </dependency>
  263. <dependency>
  264. <groupId>org.codehaus.jackson</groupId>
  265. <artifactId>jackson-xc</artifactId>
  266. <version>1.9.9</version>
  267. </dependency>
  268. <dependency>
  269. <groupId>org.codehaus.jackson</groupId>
  270. <artifactId>jackson-mappper</artifactId>
  271. <version>1.9.9</version>
  272. </dependency>
  273. <dependency>
  274. <groupId>com.sun.grizzly</groupId>
  275. <artifactId>grizzly-comet-org.apache.ambari.server.controller.utilities.webserver</artifactId>
  276. <version>1.9.36</version>
  277. </dependency>
  278. <dependency>
  279. <groupId>com.sun.jersey</groupId>
  280. <artifactId>jersey-bundle</artifactId>
  281. <version>1.11</version>
  282. </dependency>
  283. <dependency>
  284. <groupId>com.sun.jersey</groupId>
  285. <artifactId>jersey-json</artifactId>
  286. <version>1.11</version>
  287. </dependency>
  288. <dependency>
  289. <groupId>com.sun.jersey</groupId>
  290. <artifactId>jersey-server</artifactId>
  291. <version>1.11</version>
  292. </dependency>
  293. <dependency>
  294. <groupId>com.sun.jersey</groupId>
  295. <artifactId>jersey-client</artifactId>
  296. <version>1.11</version>
  297. </dependency>
  298. <dependency>
  299. <groupId>com.sun.jersey.contribs</groupId>
  300. <artifactId>jersey-multipart</artifactId>
  301. <version>1.11</version>
  302. </dependency>
  303. <dependency>
  304. <groupId>com.sun.jersey.jersey-test-framework</groupId>
  305. <artifactId>jersey-test-framework-core</artifactId>
  306. <version>1.11</version>
  307. <scope>test</scope>
  308. </dependency>
  309. <dependency>
  310. <groupId>com.sun.jersey.jersey-test-framework</groupId>
  311. <artifactId>jersey-test-framework-grizzly2</artifactId>
  312. <version>1.11</version>
  313. </dependency>
  314. <dependency>
  315. <groupId>com.sun.jersey.contribs</groupId>
  316. <artifactId>jersey-guice</artifactId>
  317. <version>1.11</version>
  318. </dependency>
  319. <dependency>
  320. <groupId>log4j</groupId>
  321. <artifactId>log4j</artifactId>
  322. <version>1.2.16</version>
  323. <exclusions>
  324. <exclusion>
  325. <groupId>com.sun.jdmk</groupId>
  326. <artifactId>jmxtools</artifactId>
  327. </exclusion>
  328. <exclusion>
  329. <groupId>com.sun.jmx</groupId>
  330. <artifactId>jmxri</artifactId>
  331. </exclusion>
  332. <exclusion>
  333. <groupId>javax.mail</groupId>
  334. <artifactId>mail</artifactId>
  335. </exclusion>
  336. <exclusion>
  337. <groupId>javax.jms</groupId>
  338. <artifactId>jmx</artifactId>
  339. </exclusion>
  340. <exclusion>
  341. <groupId>javax.jms</groupId>
  342. <artifactId>jms</artifactId>
  343. </exclusion>
  344. </exclusions>
  345. </dependency>
  346. <dependency>
  347. <groupId>junit</groupId>
  348. <artifactId>junit</artifactId>
  349. <version>4.10</version>
  350. </dependency>
  351. </dependencies>
  352. </dependencyManagement>
  353. <build>
  354. <pluginManagement>
  355. <plugins>
  356. <plugin>
  357. <groupId>org.apache.maven.plugins</groupId>
  358. <artifactId>maven-surefire-plugin</artifactId>
  359. <version>2.12</version>
  360. </plugin>
  361. </plugins>
  362. </pluginManagement>
  363. <plugins>
  364. <plugin>
  365. <artifactId>maven-compiler-plugin</artifactId>
  366. <version>3.0</version>
  367. </plugin>
  368. <plugin>
  369. <groupId>org.apache.rat</groupId>
  370. <artifactId>apache-rat-plugin</artifactId>
  371. <configuration combine.self="override"/>
  372. </plugin>
  373. <plugin>
  374. <groupId>org.apache.maven.plugins</groupId>
  375. <artifactId>maven-surefire-plugin</artifactId>
  376. <configuration>
  377. <redirectTestOutputToFile>true</redirectTestOutputToFile>
  378. <forkMode>always</forkMode>
  379. <forkedProcessTimeoutInSeconds>900</forkedProcessTimeoutInSeconds>
  380. </configuration>
  381. </plugin>
  382. </plugins>
  383. </build>
  384. </project>