pom.xml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506
  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"
  14. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  15. <modelVersion>4.0.0</modelVersion>
  16. <parent>
  17. <groupId>org.apache.ambari</groupId>
  18. <artifactId>ambari</artifactId>
  19. <version>2.0.0-SNAPSHOT</version>
  20. </parent>
  21. <groupId>org.apache.ambari</groupId>
  22. <artifactId>ambari-project</artifactId>
  23. <version>2.0.0-SNAPSHOT</version>
  24. <description>Apache Ambari Project POM</description>
  25. <name>Apache Ambari Project POM</name>
  26. <packaging>pom</packaging>
  27. <properties>
  28. <ambari.dir>${project.parent.basedir}</ambari.dir>
  29. </properties>
  30. <profiles>
  31. <profile>
  32. <id>dist</id>
  33. <build>
  34. <plugins>
  35. <plugin>
  36. <groupId>org.apache.maven.plugins</groupId>
  37. <artifactId>maven-javadoc-plugin</artifactId>
  38. <executions>
  39. <execution>
  40. <id>module-javadocs</id>
  41. <phase>package</phase>
  42. <goals>
  43. <goal>jar</goal>
  44. </goals>
  45. <configuration>
  46. <destDir>${project.build.directory}</destDir>
  47. </configuration>
  48. </execution>
  49. </executions>
  50. </plugin>
  51. <plugin>
  52. <groupId>org.apache.maven.plugins</groupId>
  53. <artifactId>maven-source-plugin</artifactId>
  54. <executions>
  55. <execution>
  56. <id>ambari-java-sources</id>
  57. <phase>package</phase>
  58. <goals>
  59. <goal>jar-no-fork</goal>
  60. </goals>
  61. </execution>
  62. </executions>
  63. </plugin>
  64. </plugins>
  65. </build>
  66. </profile>
  67. </profiles>
  68. <dependencyManagement>
  69. <dependencies>
  70. <dependency>
  71. <groupId>commons-io</groupId>
  72. <artifactId>commons-io</artifactId>
  73. <version>2.1</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.apache.commons</groupId>
  77. <artifactId>commons-csv</artifactId>
  78. <version>1.1</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>com.google.inject.extensions</groupId>
  82. <artifactId>guice-servlet</artifactId>
  83. <version>3.0</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.codehaus.jettison</groupId>
  87. <artifactId>jettison</artifactId>
  88. <version>1.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>com.google.code.gson</groupId>
  107. <artifactId>gson</artifactId>
  108. <version>2.2.2</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.apache.derby</groupId>
  112. <artifactId>derby</artifactId>
  113. <version>10.9.1.0</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.springframework.security</groupId>
  117. <artifactId>spring-security-core</artifactId>
  118. <version>3.1.2.RELEASE</version>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.springframework.security</groupId>
  122. <artifactId>spring-security-config</artifactId>
  123. <version>3.1.2.RELEASE</version>
  124. </dependency>
  125. <dependency>
  126. <groupId>org.springframework.security</groupId>
  127. <artifactId>spring-security-web</artifactId>
  128. <version>3.1.2.RELEASE</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.springframework</groupId>
  132. <artifactId>spring-mock</artifactId>
  133. <version>2.0.8</version>
  134. <scope>test</scope>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.springframework.security</groupId>
  138. <artifactId>spring-security-ldap</artifactId>
  139. <version>3.1.2.RELEASE</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>org.springframework.ldap</groupId>
  143. <artifactId>spring-ldap-core</artifactId>
  144. <version>1.3.1.RELEASE</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.apache.directory.server</groupId>
  148. <artifactId>apacheds-server-annotations</artifactId>
  149. <version>2.0.0-M19</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>org.apache.directory.server</groupId>
  153. <artifactId>apacheds-core-integ</artifactId>
  154. <version>2.0.0-M19</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>org.apache.directory.server</groupId>
  158. <artifactId>apacheds-server-integ</artifactId>
  159. <version>2.0.0-M19</version>
  160. </dependency>
  161. <dependency>
  162. <groupId>org.apache.directory.server</groupId>
  163. <artifactId>apacheds-jdbm</artifactId>
  164. <version>2.0.0-M5</version>
  165. </dependency>
  166. <dependency>
  167. <groupId>org.apache.directory.server</groupId>
  168. <artifactId>apacheds-kerberos-codec</artifactId>
  169. <version>2.0.0-M19</version>
  170. </dependency>
  171. <dependency>
  172. <groupId>org.apache.directory.server</groupId>
  173. <artifactId>apacheds-core</artifactId>
  174. <version>2.0.0-M19</version>
  175. </dependency>
  176. <dependency>
  177. <groupId>org.apache.directory.server</groupId>
  178. <artifactId>kerberos-client</artifactId>
  179. <version>2.0.0-M19</version>
  180. </dependency>
  181. <dependency>
  182. <groupId>org.apache.directory.server</groupId>
  183. <artifactId>apacheds-protocol-ldap</artifactId>
  184. <version>2.0.0-M19</version>
  185. <exclusions>
  186. <exclusion>
  187. <groupId>org.apache.directory.jdbm</groupId>
  188. <artifactId>apacheds-jdbm1</artifactId>
  189. </exclusion>
  190. </exclusions>
  191. </dependency>
  192. <dependency>
  193. <groupId>org.apache.directory.shared</groupId>
  194. <artifactId>shared-ldap</artifactId>
  195. <version>0.9.17</version>
  196. </dependency>
  197. <dependency>
  198. <groupId>org.slf4j</groupId>
  199. <artifactId>slf4j-api</artifactId>
  200. <version>1.7.2</version>
  201. </dependency>
  202. <dependency>
  203. <groupId>org.slf4j</groupId>
  204. <artifactId>slf4j-log4j12</artifactId>
  205. <version>1.7.2</version>
  206. </dependency>
  207. <dependency>
  208. <groupId>org.eclipse.persistence</groupId>
  209. <artifactId>eclipselink</artifactId>
  210. <version>2.5.2</version>
  211. </dependency>
  212. <dependency>
  213. <groupId>org.postgresql</groupId>
  214. <artifactId>postgresql</artifactId>
  215. <version>9.3-1101-jdbc4</version>
  216. </dependency>
  217. <dependency>
  218. <groupId>com.google.guava</groupId>
  219. <artifactId>guava</artifactId>
  220. <version>14.0.1</version>
  221. </dependency>
  222. <dependency>
  223. <groupId>com.google.code.findbugs</groupId>
  224. <artifactId>jsr305</artifactId>
  225. <version>1.3.9</version>
  226. </dependency>
  227. <dependency>
  228. <groupId>org.mockito</groupId>
  229. <artifactId>mockito-core</artifactId>
  230. <version>1.8.5</version>
  231. </dependency>
  232. <dependency>
  233. <groupId>org.eclipse.jetty</groupId>
  234. <artifactId>jetty-server</artifactId>
  235. <version>8.1.17.v20150415</version>
  236. </dependency>
  237. <dependency>
  238. <groupId>org.eclipse.jetty</groupId>
  239. <artifactId>jetty-security</artifactId>
  240. <version>8.1.17.v20150415</version>
  241. </dependency>
  242. <dependency>
  243. <groupId>org.eclipse.jetty</groupId>
  244. <artifactId>jetty-servlet</artifactId>
  245. <version>8.1.17.v20150415</version>
  246. </dependency>
  247. <dependency>
  248. <groupId>org.eclipse.jetty</groupId>
  249. <artifactId>jetty-servlets</artifactId>
  250. <version>8.1.17.v20150415</version>
  251. </dependency>
  252. <dependency>
  253. <groupId>org.eclipse.jetty</groupId>
  254. <artifactId>jetty-webapp</artifactId>
  255. <version>8.1.17.v20150415</version>
  256. </dependency>
  257. <!--jsp support for jetty -->
  258. <dependency>
  259. <groupId>org.mortbay.jetty</groupId>
  260. <artifactId>jsp-api-2.1-glassfish</artifactId>
  261. <version>2.1.v20100127</version>
  262. </dependency>
  263. <dependency>
  264. <groupId>org.mortbay.jetty</groupId>
  265. <artifactId>jsp-2.1-glassfish</artifactId>
  266. <version>2.1.v20100127</version>
  267. </dependency>
  268. <dependency>
  269. <groupId>org.apache.ant</groupId>
  270. <artifactId>ant</artifactId>
  271. <version>1.7.1</version>
  272. </dependency>
  273. <dependency>
  274. <groupId>org.apache.ant</groupId>
  275. <artifactId>ant-launcher</artifactId>
  276. <version>1.7.1</version>
  277. </dependency>
  278. <dependency>
  279. <groupId>commons-logging</groupId>
  280. <artifactId>commons-logging</artifactId>
  281. <version>1.1.1</version>
  282. </dependency>
  283. <dependency>
  284. <groupId>commons-codec</groupId>
  285. <artifactId>commons-codec</artifactId>
  286. <version>1.8</version>
  287. </dependency>
  288. <dependency>
  289. <groupId>commons-lang</groupId>
  290. <artifactId>commons-lang</artifactId>
  291. <version>2.5</version>
  292. </dependency>
  293. <dependency>
  294. <groupId>commons-httpclient</groupId>
  295. <artifactId>commons-httpclient</artifactId>
  296. <version>3.1</version>
  297. </dependency>
  298. <dependency>
  299. <groupId>javax.servlet</groupId>
  300. <artifactId>javax.servlet-api</artifactId>
  301. <version>3.0.1</version>
  302. </dependency>
  303. <dependency>
  304. <groupId>com.sun.jersey</groupId>
  305. <artifactId>jersey-core</artifactId>
  306. <version>1.18</version>
  307. </dependency>
  308. <dependency>
  309. <groupId>com.sun.jersey</groupId>
  310. <artifactId>jersey-grizzly</artifactId>
  311. <version>1.18</version>
  312. </dependency>
  313. <dependency>
  314. <groupId>org.codehaus.jackson</groupId>
  315. <artifactId>jackson-core-asl</artifactId>
  316. <version>1.9.9</version>
  317. </dependency>
  318. <dependency>
  319. <groupId>org.codehaus.jackson</groupId>
  320. <artifactId>jackson-jaxrs</artifactId>
  321. <version>1.9.9</version>
  322. </dependency>
  323. <dependency>
  324. <groupId>org.codehaus.jackson</groupId>
  325. <artifactId>jackson-xc</artifactId>
  326. <version>1.9.9</version>
  327. </dependency>
  328. <dependency>
  329. <groupId>org.codehaus.jackson</groupId>
  330. <artifactId>jackson-mappper</artifactId>
  331. <version>1.9.9</version>
  332. </dependency>
  333. <dependency>
  334. <groupId>org.codehaus.jackson</groupId>
  335. <artifactId>jackson-mapper-asl</artifactId>
  336. <version>1.9.13</version>
  337. </dependency>
  338. <dependency>
  339. <groupId>com.sun.grizzly</groupId>
  340. <artifactId>grizzly-comet-org.apache.ambari.server.controller.utilities.webserver</artifactId>
  341. <version>1.9.36</version>
  342. </dependency>
  343. <dependency>
  344. <groupId>com.sun.jersey</groupId>
  345. <artifactId>jersey-bundle</artifactId>
  346. <version>1.18</version>
  347. </dependency>
  348. <dependency>
  349. <groupId>com.sun.jersey</groupId>
  350. <artifactId>jersey-json</artifactId>
  351. <version>1.18</version>
  352. </dependency>
  353. <dependency>
  354. <groupId>com.sun.jersey</groupId>
  355. <artifactId>jersey-server</artifactId>
  356. <version>1.18</version>
  357. </dependency>
  358. <dependency>
  359. <groupId>com.sun.jersey</groupId>
  360. <artifactId>jersey-client</artifactId>
  361. <version>1.11</version>
  362. </dependency>
  363. <dependency>
  364. <groupId>com.sun.jersey.contribs</groupId>
  365. <artifactId>jersey-multipart</artifactId>
  366. <version>1.18</version>
  367. </dependency>
  368. <dependency>
  369. <groupId>com.sun.jersey.jersey-test-framework</groupId>
  370. <artifactId>jersey-test-framework-core</artifactId>
  371. <version>1.18</version>
  372. <scope>test</scope>
  373. </dependency>
  374. <dependency>
  375. <groupId>com.sun.jersey.jersey-test-framework</groupId>
  376. <artifactId>jersey-test-framework-grizzly2</artifactId>
  377. <version>1.18</version>
  378. </dependency>
  379. <dependency>
  380. <groupId>com.sun.jersey.contribs</groupId>
  381. <artifactId>jersey-guice</artifactId>
  382. <version>1.18</version>
  383. </dependency>
  384. <dependency>
  385. <groupId>log4j</groupId>
  386. <artifactId>log4j</artifactId>
  387. <version>1.2.16</version>
  388. <exclusions>
  389. <exclusion>
  390. <groupId>com.sun.jdmk</groupId>
  391. <artifactId>jmxtools</artifactId>
  392. </exclusion>
  393. <exclusion>
  394. <groupId>com.sun.jmx</groupId>
  395. <artifactId>jmxri</artifactId>
  396. </exclusion>
  397. <exclusion>
  398. <groupId>javax.mail</groupId>
  399. <artifactId>mail</artifactId>
  400. </exclusion>
  401. <exclusion>
  402. <groupId>javax.jms</groupId>
  403. <artifactId>jmx</artifactId>
  404. </exclusion>
  405. <exclusion>
  406. <groupId>javax.jms</groupId>
  407. <artifactId>jms</artifactId>
  408. </exclusion>
  409. </exclusions>
  410. </dependency>
  411. <dependency>
  412. <groupId>junit</groupId>
  413. <artifactId>junit</artifactId>
  414. <version>4.10</version>
  415. </dependency>
  416. <dependency>
  417. <groupId>org.springframework.shell</groupId>
  418. <artifactId>spring-shell</artifactId>
  419. <version>1.1.0.RC3</version>
  420. </dependency>
  421. <dependency>
  422. <groupId>org.springframework.boot</groupId>
  423. <artifactId>spring-boot-starter</artifactId>
  424. <version>1.0.2.RELEASE</version>
  425. </dependency>
  426. <dependency>
  427. <groupId>org.springframework.boot</groupId>
  428. <artifactId>spring-boot-starter-test</artifactId>
  429. <version>1.0.2.RELEASE</version>
  430. </dependency>
  431. <dependency>
  432. <groupId>org.codehaus.groovy</groupId>
  433. <artifactId>groovy-all</artifactId>
  434. <version>2.1.8</version>
  435. </dependency>
  436. <dependency>
  437. <groupId>org.codehaus.groovy.modules.http-builder</groupId>
  438. <artifactId>http-builder</artifactId>
  439. <version>0.7.1</version>
  440. </dependency>
  441. <dependency>
  442. <groupId>jline</groupId>
  443. <artifactId>jline</artifactId>
  444. <version>2.11</version>
  445. </dependency>
  446. </dependencies>
  447. </dependencyManagement>
  448. <build>
  449. <pluginManagement>
  450. <plugins>
  451. <plugin>
  452. <groupId>org.apache.maven.plugins</groupId>
  453. <artifactId>maven-surefire-plugin</artifactId>
  454. <version>2.12</version>
  455. </plugin>
  456. </plugins>
  457. </pluginManagement>
  458. <plugins>
  459. <plugin>
  460. <artifactId>maven-compiler-plugin</artifactId>
  461. <version>3.0</version>
  462. </plugin>
  463. <plugin>
  464. <groupId>org.apache.rat</groupId>
  465. <artifactId>apache-rat-plugin</artifactId>
  466. <configuration combine.self="override"/>
  467. <executions>
  468. <execution>
  469. <phase>test</phase>
  470. <goals>
  471. <goal>check</goal>
  472. </goals>
  473. </execution>
  474. </executions>
  475. </plugin>
  476. <plugin>
  477. <groupId>org.apache.maven.plugins</groupId>
  478. <artifactId>maven-surefire-plugin</artifactId>
  479. <configuration>
  480. <redirectTestOutputToFile>true</redirectTestOutputToFile>
  481. <forkMode>always</forkMode>
  482. <forkedProcessTimeoutInSeconds>900</forkedProcessTimeoutInSeconds>
  483. </configuration>
  484. </plugin>
  485. <plugin>
  486. <groupId>org.vafer</groupId>
  487. <artifactId>jdeb</artifactId>
  488. <version>1.0.1</version>
  489. <executions>
  490. <execution>
  491. <phase>none</phase>
  492. <goals>
  493. <goal>jdeb</goal>
  494. </goals>
  495. </execution>
  496. </executions>
  497. <configuration>
  498. <controlDir>${basedir}/src/main/package/deb/control</controlDir>
  499. </configuration>
  500. </plugin>
  501. </plugins>
  502. </build>
  503. </project>