pom.xml 15 KB

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