pom.xml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479
  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>7.6.7.v20120910</version>
  236. </dependency>
  237. <dependency>
  238. <groupId>org.eclipse.jetty</groupId>
  239. <artifactId>jetty-security</artifactId>
  240. <version>7.6.7.v20120910</version>
  241. </dependency>
  242. <dependency>
  243. <groupId>org.eclipse.jetty</groupId>
  244. <artifactId>jetty-servlet</artifactId>
  245. <version>7.6.7.v20120910</version>
  246. </dependency>
  247. <dependency>
  248. <groupId>org.eclipse.jetty</groupId>
  249. <artifactId>jetty-webapp</artifactId>
  250. <version>7.6.7.v20120910</version>
  251. </dependency>
  252. <dependency>
  253. <groupId>commons-logging</groupId>
  254. <artifactId>commons-logging</artifactId>
  255. <version>1.1.1</version>
  256. </dependency>
  257. <dependency>
  258. <groupId>commons-codec</groupId>
  259. <artifactId>commons-codec</artifactId>
  260. <version>1.8</version>
  261. </dependency>
  262. <dependency>
  263. <groupId>commons-lang</groupId>
  264. <artifactId>commons-lang</artifactId>
  265. <version>2.5</version>
  266. </dependency>
  267. <dependency>
  268. <groupId>commons-httpclient</groupId>
  269. <artifactId>commons-httpclient</artifactId>
  270. <version>3.1</version>
  271. </dependency>
  272. <dependency>
  273. <groupId>javax.servlet</groupId>
  274. <artifactId>servlet-api</artifactId>
  275. <version>2.5</version>
  276. </dependency>
  277. <dependency>
  278. <groupId>com.sun.jersey</groupId>
  279. <artifactId>jersey-core</artifactId>
  280. <version>1.11</version>
  281. </dependency>
  282. <dependency>
  283. <groupId>com.sun.jersey</groupId>
  284. <artifactId>jersey-grizzly</artifactId>
  285. <version>1.11</version>
  286. </dependency>
  287. <dependency>
  288. <groupId>org.codehaus.jackson</groupId>
  289. <artifactId>jackson-core-asl</artifactId>
  290. <version>1.9.9</version>
  291. </dependency>
  292. <dependency>
  293. <groupId>org.codehaus.jackson</groupId>
  294. <artifactId>jackson-jaxrs</artifactId>
  295. <version>1.9.9</version>
  296. </dependency>
  297. <dependency>
  298. <groupId>org.codehaus.jackson</groupId>
  299. <artifactId>jackson-xc</artifactId>
  300. <version>1.9.9</version>
  301. </dependency>
  302. <dependency>
  303. <groupId>org.codehaus.jackson</groupId>
  304. <artifactId>jackson-mappper</artifactId>
  305. <version>1.9.9</version>
  306. </dependency>
  307. <dependency>
  308. <groupId>org.codehaus.jackson</groupId>
  309. <artifactId>jackson-mapper-asl</artifactId>
  310. <version>1.9.13</version>
  311. </dependency>
  312. <dependency>
  313. <groupId>com.sun.grizzly</groupId>
  314. <artifactId>grizzly-comet-org.apache.ambari.server.controller.utilities.webserver</artifactId>
  315. <version>1.9.36</version>
  316. </dependency>
  317. <dependency>
  318. <groupId>com.sun.jersey</groupId>
  319. <artifactId>jersey-bundle</artifactId>
  320. <version>1.11</version>
  321. </dependency>
  322. <dependency>
  323. <groupId>com.sun.jersey</groupId>
  324. <artifactId>jersey-json</artifactId>
  325. <version>1.11</version>
  326. </dependency>
  327. <dependency>
  328. <groupId>com.sun.jersey</groupId>
  329. <artifactId>jersey-server</artifactId>
  330. <version>1.11</version>
  331. </dependency>
  332. <dependency>
  333. <groupId>com.sun.jersey</groupId>
  334. <artifactId>jersey-client</artifactId>
  335. <version>1.11</version>
  336. </dependency>
  337. <dependency>
  338. <groupId>com.sun.jersey.contribs</groupId>
  339. <artifactId>jersey-multipart</artifactId>
  340. <version>1.11</version>
  341. </dependency>
  342. <dependency>
  343. <groupId>com.sun.jersey.jersey-test-framework</groupId>
  344. <artifactId>jersey-test-framework-core</artifactId>
  345. <version>1.11</version>
  346. <scope>test</scope>
  347. </dependency>
  348. <dependency>
  349. <groupId>com.sun.jersey.jersey-test-framework</groupId>
  350. <artifactId>jersey-test-framework-grizzly2</artifactId>
  351. <version>1.11</version>
  352. </dependency>
  353. <dependency>
  354. <groupId>com.sun.jersey.contribs</groupId>
  355. <artifactId>jersey-guice</artifactId>
  356. <version>1.11</version>
  357. </dependency>
  358. <dependency>
  359. <groupId>log4j</groupId>
  360. <artifactId>log4j</artifactId>
  361. <version>1.2.16</version>
  362. <exclusions>
  363. <exclusion>
  364. <groupId>com.sun.jdmk</groupId>
  365. <artifactId>jmxtools</artifactId>
  366. </exclusion>
  367. <exclusion>
  368. <groupId>com.sun.jmx</groupId>
  369. <artifactId>jmxri</artifactId>
  370. </exclusion>
  371. <exclusion>
  372. <groupId>javax.mail</groupId>
  373. <artifactId>mail</artifactId>
  374. </exclusion>
  375. <exclusion>
  376. <groupId>javax.jms</groupId>
  377. <artifactId>jmx</artifactId>
  378. </exclusion>
  379. <exclusion>
  380. <groupId>javax.jms</groupId>
  381. <artifactId>jms</artifactId>
  382. </exclusion>
  383. </exclusions>
  384. </dependency>
  385. <dependency>
  386. <groupId>junit</groupId>
  387. <artifactId>junit</artifactId>
  388. <version>4.10</version>
  389. </dependency>
  390. <dependency>
  391. <groupId>org.springframework.shell</groupId>
  392. <artifactId>spring-shell</artifactId>
  393. <version>1.1.0.RC3</version>
  394. </dependency>
  395. <dependency>
  396. <groupId>org.springframework.boot</groupId>
  397. <artifactId>spring-boot-starter</artifactId>
  398. <version>1.0.2.RELEASE</version>
  399. </dependency>
  400. <dependency>
  401. <groupId>org.springframework.boot</groupId>
  402. <artifactId>spring-boot-starter-test</artifactId>
  403. <version>1.0.2.RELEASE</version>
  404. </dependency>
  405. <dependency>
  406. <groupId>org.codehaus.groovy</groupId>
  407. <artifactId>groovy-all</artifactId>
  408. <version>2.1.8</version>
  409. </dependency>
  410. <dependency>
  411. <groupId>org.codehaus.groovy.modules.http-builder</groupId>
  412. <artifactId>http-builder</artifactId>
  413. <version>0.7.1</version>
  414. </dependency>
  415. <dependency>
  416. <groupId>jline</groupId>
  417. <artifactId>jline</artifactId>
  418. <version>2.11</version>
  419. </dependency>
  420. </dependencies>
  421. </dependencyManagement>
  422. <build>
  423. <pluginManagement>
  424. <plugins>
  425. <plugin>
  426. <groupId>org.apache.maven.plugins</groupId>
  427. <artifactId>maven-surefire-plugin</artifactId>
  428. <version>2.12</version>
  429. </plugin>
  430. </plugins>
  431. </pluginManagement>
  432. <plugins>
  433. <plugin>
  434. <artifactId>maven-compiler-plugin</artifactId>
  435. <version>3.0</version>
  436. </plugin>
  437. <plugin>
  438. <groupId>org.apache.rat</groupId>
  439. <artifactId>apache-rat-plugin</artifactId>
  440. <configuration combine.self="override"/>
  441. <executions>
  442. <execution>
  443. <phase>test</phase>
  444. <goals>
  445. <goal>check</goal>
  446. </goals>
  447. </execution>
  448. </executions>
  449. </plugin>
  450. <plugin>
  451. <groupId>org.apache.maven.plugins</groupId>
  452. <artifactId>maven-surefire-plugin</artifactId>
  453. <configuration>
  454. <redirectTestOutputToFile>true</redirectTestOutputToFile>
  455. <forkMode>always</forkMode>
  456. <forkedProcessTimeoutInSeconds>900</forkedProcessTimeoutInSeconds>
  457. </configuration>
  458. </plugin>
  459. <plugin>
  460. <groupId>org.vafer</groupId>
  461. <artifactId>jdeb</artifactId>
  462. <version>1.0.1</version>
  463. <executions>
  464. <execution>
  465. <phase>none</phase>
  466. <goals>
  467. <goal>jdeb</goal>
  468. </goals>
  469. </execution>
  470. </executions>
  471. <configuration>
  472. <controlDir>${basedir}/src/main/package/deb/control</controlDir>
  473. </configuration>
  474. </plugin>
  475. </plugins>
  476. </build>
  477. </project>