pom.xml 17 KB

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