pom.xml 17 KB

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