pom.xml 17 KB

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