pom.xml 14 KB

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