pom.xml 19 KB

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