pom.xml 19 KB

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