pom.xml 49 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400
  1. <?xml version="1.0"?>
  2. <!-- Licensed under the Apache License, Version 2.0 (the "License"); you
  3. may not use this file except in compliance with the License. You may obtain
  4. a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless
  5. required by applicable law or agreed to in writing, software distributed
  6. under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
  7. OR CONDITIONS OF ANY KIND, either express or implied. See the License for
  8. the specific language governing permissions and limitations under the License.
  9. See accompanying LICENSE file. -->
  10. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  11. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  12. <parent>
  13. <groupId>org.apache.ambari</groupId>
  14. <artifactId>ambari-project</artifactId>
  15. <version>1.3.0-SNAPSHOT</version>
  16. <relativePath>../ambari-project</relativePath>
  17. </parent>
  18. <modelVersion>4.0.0</modelVersion>
  19. <groupId>org.apache.ambari</groupId>
  20. <artifactId>ambari-server</artifactId>
  21. <packaging>jar</packaging>
  22. <name>Ambari Server</name>
  23. <version>1.3.0-SNAPSHOT</version>
  24. <description>Ambari Server</description>
  25. <properties>
  26. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  27. <python.ver>python &gt;= 2.6</python.ver>
  28. <deb.python.ver>python (&gt;= 2.6)</deb.python.ver>
  29. <deb.architecture>amd64</deb.architecture>
  30. <deb.dependency.list>openssl, postgresql (&gt;= 8.1), ${deb.python.ver}, curl</deb.dependency.list>
  31. <custom.tests>false</custom.tests>
  32. <hdpUrlForCentos6>http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.1.1.0</hdpUrlForCentos6>
  33. <hdpLatestUrl>http://public-repo-1.hortonworks.com/HDP/hdp_urlinfo.json</hdpLatestUrl>
  34. <ambari_commons.install.dir>/usr/lib/ambari-server/lib/ambari_commons</ambari_commons.install.dir>
  35. <resource_management.install.dir>/usr/lib/ambari-server/lib/resource_management</resource_management.install.dir>
  36. <ambari-web-dir>${basedir}/../ambari-web/public</ambari-web-dir>
  37. <ambari-admin-dir>${basedir}/../ambari-admin</ambari-admin-dir>
  38. <contrib-views-dir>${basedir}/../contrib/views</contrib-views-dir>
  39. </properties>
  40. <build>
  41. <plugins>
  42. <plugin>
  43. <groupId>org.codehaus.mojo</groupId>
  44. <artifactId>build-helper-maven-plugin</artifactId>
  45. <version>1.8</version>
  46. <executions>
  47. <execution>
  48. <id>parse-version</id>
  49. <phase>validate</phase>
  50. <goals>
  51. <goal>parse-version</goal>
  52. </goals>
  53. </execution>
  54. <execution>
  55. <id>regex-property</id>
  56. <goals>
  57. <goal>regex-property</goal>
  58. </goals>
  59. <configuration>
  60. <name>ambariVersion</name>
  61. <value>${project.version}</value>
  62. <regex>^([0-9]+)\.([0-9]+)\.([0-9]+)(\.|-).*</regex>
  63. <replacement>$1.$2.$3</replacement>
  64. <failIfNoMatch>false</failIfNoMatch>
  65. </configuration>
  66. </execution>
  67. </executions>
  68. </plugin>
  69. <plugin>
  70. <artifactId>maven-resources-plugin</artifactId>
  71. <version>2.6</version>
  72. <executions>
  73. <execution>
  74. <id>copy-resources</id>
  75. <phase>generate-test-resources</phase>
  76. <goals>
  77. <goal>copy-resources</goal>
  78. </goals>
  79. <configuration>
  80. <outputDirectory>${basedir}/target/</outputDirectory>
  81. <resources>
  82. <resource>
  83. <directory>${basedir}/../</directory>
  84. <includes>
  85. <include>version</include>
  86. </includes>
  87. <filtering>true</filtering>
  88. </resource>
  89. <resource>
  90. <directory>${basedir}/sbin/</directory>
  91. <includes>
  92. <include>ambari-server</include>
  93. </includes>
  94. <filtering>true</filtering>
  95. </resource>
  96. </resources>
  97. </configuration>
  98. </execution>
  99. </executions>
  100. </plugin>
  101. <plugin>
  102. <artifactId>maven-compiler-plugin</artifactId>
  103. <version>3.0</version>
  104. </plugin>
  105. <plugin>
  106. <artifactId>maven-assembly-plugin</artifactId>
  107. <configuration>
  108. <descriptors>
  109. <descriptor>src/main/assemblies/server.xml</descriptor>
  110. </descriptors>
  111. <tarLongFileMode>gnu</tarLongFileMode>
  112. </configuration>
  113. <executions>
  114. <execution>
  115. <id>build-tarball</id>
  116. <phase>package</phase>
  117. <goals>
  118. <goal>single</goal>
  119. </goals>
  120. </execution>
  121. </executions>
  122. </plugin>
  123. <plugin>
  124. <groupId>org.apache.rat</groupId>
  125. <artifactId>apache-rat-plugin</artifactId>
  126. <configuration>
  127. <excludes>
  128. <exclude>pass.txt</exclude>
  129. <exclude>derby.log</exclude>
  130. <exclude>src/test/resources/users.ldif</exclude>
  131. <exclude>src/test/resources/gsInstaller-hosts.txt</exclude>
  132. <exclude>src/test/resources/temporal_ganglia_data.txt</exclude>
  133. <exclude>src/test/resources/users.ldif</exclude>
  134. <exclude>src/main/resources/hive-schema-0.10.0.oracle.sql</exclude>
  135. <exclude>src/main/resources/hive-schema-0.12.0.oracle.sql</exclude>
  136. <exclude>src/main/resources/db/serial</exclude>
  137. <exclude>src/main/resources/db/index.txt</exclude>
  138. <exclude>src/main/resources/stacks/HDP/2.1.GlusterFS/services/YARN/package/templates/exclude_hosts_list.j2</exclude>
  139. <exclude>src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/balancer-emulator/balancer-err.log</exclude>
  140. <exclude>src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/balancer-emulator/balancer.log</exclude>
  141. <exclude>conf/unix/ca.config</exclude>
  142. <exclude>conf/unix/krb5JAASLogin.conf</exclude>
  143. <exclude>**/*.json</exclude>
  144. <exclude>**/*.sql</exclude>
  145. <exclude>**/repo_suse_rhel.j2</exclude>
  146. <exclude>**/repo_debian.j2</exclude>
  147. <exclude>**/.pydev*</exclude>
  148. <!--gitignore content -->
  149. <exclude>src/main/resources/db/newcerts/**</exclude>
  150. <!-- Stack definitions -->
  151. <exclude>src/main/resources/stacks/HDP/2.0._/services/HBASE/package/templates/regionservers.j2</exclude>
  152. <!--test samples -->
  153. <exclude>src/test/resources/TestAmbaryServer.samples/**</exclude>
  154. <exclude>src/test/resources/*.txt</exclude>
  155. <exclude>src/test/resources/users_for_dn_with_space.ldif</exclude>
  156. <!--Velocity log -->
  157. <exclude>**/velocity.log*</exclude>
  158. </excludes>
  159. </configuration>
  160. <executions>
  161. <execution>
  162. <phase>test</phase>
  163. <goals>
  164. <goal>check</goal>
  165. </goals>
  166. </execution>
  167. </executions>
  168. </plugin>
  169. <plugin>
  170. <artifactId>eclipselink-staticweave-maven-plugin</artifactId>
  171. <groupId>au.com.alderaan</groupId>
  172. <version>1.0.4</version>
  173. <executions>
  174. <execution>
  175. <goals>
  176. <goal>weave</goal>
  177. </goals>
  178. <phase>process-classes</phase>
  179. <configuration>
  180. <logLevel>ALL</logLevel>
  181. <includeProjectClasspath>true</includeProjectClasspath>
  182. </configuration>
  183. </execution>
  184. </executions>
  185. <dependencies>
  186. <dependency>
  187. <groupId>org.eclipse.persistence</groupId>
  188. <artifactId>eclipselink</artifactId>
  189. <version>2.4.0</version>
  190. </dependency>
  191. </dependencies>
  192. </plugin>
  193. <plugin>
  194. <groupId>org.codehaus.mojo</groupId>
  195. <artifactId>rpm-maven-plugin</artifactId>
  196. <version>2.0.1</version>
  197. <executions>
  198. <execution>
  199. <!-- unbinds rpm creation from maven lifecycle -->
  200. <phase>none</phase>
  201. <goals>
  202. <goal>rpm</goal>
  203. </goals>
  204. </execution>
  205. </executions>
  206. <configuration>
  207. <copyright>2012, Apache Software Foundation</copyright>
  208. <group>Development</group>
  209. <description>Maven Recipe: RPM Package.</description>
  210. <autoRequires>no</autoRequires>
  211. <requires>
  212. <require>postgresql-server &gt;= 8.1</require>
  213. <require>openssl</require>
  214. <require>${python.ver}</require>
  215. </requires>
  216. <postinstallScriptlet>
  217. <scriptFile>src/main/package/rpm/postinstall.sh</scriptFile>
  218. <fileEncoding>utf-8</fileEncoding>
  219. </postinstallScriptlet>
  220. <preinstallScriptlet>
  221. <scriptFile>src/main/package/rpm/preinstall.sh</scriptFile>
  222. <fileEncoding>utf-8</fileEncoding>
  223. </preinstallScriptlet>
  224. <preremoveScriptlet>
  225. <scriptFile>src/main/package/rpm/preremove.sh</scriptFile>
  226. <fileEncoding>utf-8</fileEncoding>
  227. </preremoveScriptlet>
  228. <posttransScriptlet>
  229. <scriptFile>src/main/package/rpm/posttrans_server.sh</scriptFile>
  230. <fileEncoding>utf-8</fileEncoding>
  231. </posttransScriptlet>
  232. <defaultFilemode>644</defaultFilemode>
  233. <defaultDirmode>755</defaultDirmode>
  234. <defaultUsername>root</defaultUsername>
  235. <defaultGroupname>root</defaultGroupname>
  236. <mappings>
  237. <mapping>
  238. <directory>/usr/lib/ambari-server</directory>
  239. <dependency>
  240. </dependency>
  241. </mapping>
  242. <mapping>
  243. <directory>/usr/lib/ambari-server/web</directory>
  244. <sources>
  245. <source>
  246. <location>${ambari-web-dir}</location>
  247. <includes>
  248. <include>**</include>
  249. </includes>
  250. </source>
  251. </sources>
  252. </mapping>
  253. <mapping>
  254. <directory>/usr/lib/ambari-server</directory>
  255. <sources>
  256. <source>
  257. <location>${project.build.directory}/${project.artifactId}-${project.version}.jar</location>
  258. </source>
  259. </sources>
  260. </mapping>
  261. <mapping>
  262. <directory>${ambari_commons.install.dir}</directory>
  263. <sources>
  264. <source>
  265. <location>
  266. ${project.basedir}/../ambari-common/src/main/python/ambari_commons
  267. </location>
  268. </source>
  269. </sources>
  270. </mapping>
  271. <mapping>
  272. <directory>${resource_management.install.dir}</directory>
  273. <sources>
  274. <source>
  275. <location>
  276. ${project.basedir}/../ambari-common/src/main/python/resource_management
  277. </location>
  278. </source>
  279. </sources>
  280. </mapping>
  281. <mapping>
  282. <directory>/usr/sbin</directory>
  283. <filemode>755</filemode>
  284. <username>root</username>
  285. <groupname>root</groupname>
  286. <directoryIncluded>false</directoryIncluded>
  287. <sources>
  288. <source>
  289. <location>src/main/python/ambari-server.py</location>
  290. </source>
  291. <source>
  292. <location>sbin/ambari-server</location>
  293. <filter>true</filter>
  294. </source>
  295. </sources>
  296. </mapping>
  297. <mapping>
  298. <directory>/var/lib/ambari-server/</directory>
  299. <filemode>755</filemode>
  300. <username>root</username>
  301. <groupname>root</groupname>
  302. <directoryIncluded>false</directoryIncluded>
  303. <sources>
  304. <source>
  305. <location>../ambari-common/src/main/unix/ambari-python-wrap</location>
  306. </source>
  307. </sources>
  308. </mapping>
  309. <mapping>
  310. <directory>/etc/ambari-server/conf</directory>
  311. <configuration>true</configuration>
  312. <sources>
  313. <source>
  314. <location>conf/unix/ambari.properties</location>
  315. </source>
  316. <source>
  317. <location>conf/unix/log4j.properties</location>
  318. </source>
  319. <source>
  320. <location>conf/unix/krb5JAASLogin.conf</location>
  321. </source>
  322. </sources>
  323. </mapping>
  324. <mapping>
  325. <directory>/var/lib/ambari-server/</directory>
  326. <filemode>700</filemode>
  327. <username>root</username>
  328. <groupname>root</groupname>
  329. <sources>
  330. <source>
  331. <location>conf/unix/ambari-env.sh</location>
  332. </source>
  333. </sources>
  334. </mapping>
  335. <mapping>
  336. <directory>/var/lib/ambari-server/</directory>
  337. <filemode>700</filemode>
  338. <username>root</username>
  339. <groupname>root</groupname>
  340. <sources>
  341. <source>
  342. <location>conf/unix/install-helper.sh</location>
  343. </source>
  344. </sources>
  345. </mapping>
  346. <mapping>
  347. <directory>/var/lib/ambari-server/keys</directory>
  348. <sources>
  349. <source>
  350. <location>conf/unix/ca.config</location>
  351. </source>
  352. </sources>
  353. </mapping>
  354. <mapping>
  355. <directory>/var/lib/ambari-server/keys/db</directory>
  356. <filemode>700</filemode>
  357. <username>root</username>
  358. <groupname>root</groupname>
  359. <sources>
  360. <source>
  361. <location>src/main/resources/db</location>
  362. </source>
  363. </sources>
  364. </mapping>
  365. <mapping>
  366. <directory>/var/run/ambari-server/bootstrap</directory>
  367. </mapping>
  368. <mapping>
  369. <directory>/var/run/ambari-server/stack-recommendations</directory>
  370. </mapping>
  371. <mapping>
  372. <directory>/var/log/ambari-server</directory>
  373. </mapping>
  374. <mapping>
  375. <directory>/var/lib/ambari-server/resources</directory>
  376. <sources>
  377. <source>
  378. <location>target/classes/Ambari-DDL-Postgres-CREATE.sql</location>
  379. </source>
  380. <source>
  381. <location>src/main/resources/Ambari-DDL-Postgres-DROP.sql</location>
  382. </source>
  383. <source>
  384. <location>target/classes/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql</location>
  385. </source>
  386. <source>
  387. <location>src/main/resources/Ambari-DDL-Postgres-EMBEDDED-DROP.sql</location>
  388. </source>
  389. <source>
  390. <location>target/classes/Ambari-DDL-Oracle-CREATE.sql</location>
  391. </source>
  392. <source>
  393. <location>target/classes/Ambari-DDL-MySQL-CREATE.sql</location>
  394. </source>
  395. <source>
  396. <location>src/main/resources/Ambari-DDL-Oracle-DROP.sql</location>
  397. </source>
  398. <source>
  399. <location>src/main/resources/Ambari-DDL-MySQL-DROP.sql</location>
  400. </source>
  401. <source>
  402. <location>${project.build.directory}/DBConnectionVerification.jar</location>
  403. </source>
  404. <source>
  405. <location>src/main/resources/role_command_order.json</location>
  406. </source>
  407. </sources>
  408. </mapping>
  409. <mapping>
  410. <directory>/var/lib/ambari-server/resources/scripts</directory>
  411. <filemode>755</filemode>
  412. <sources>
  413. <source>
  414. <location>src/main/resources/scripts</location>
  415. </source>
  416. <source>
  417. <location>src/main/python/UpgradeHelper_HDP2.py</location>
  418. </source>
  419. </sources>
  420. </mapping>
  421. <mapping>
  422. <directory>/var/lib/ambari-server/resources/views</directory>
  423. <filemode>755</filemode>
  424. <sources>
  425. <source>
  426. <location>${ambari-admin-dir}/target</location>
  427. <includes>
  428. <include>*.jar</include>
  429. </includes>
  430. </source>
  431. </sources>
  432. </mapping>
  433. <mapping>
  434. <directory>/var/lib/ambari-server/resources/upgrade</directory>
  435. </mapping>
  436. <mapping>
  437. <directory>/var/lib/ambari-server/resources/upgrade/ddl</directory>
  438. <sources>
  439. <source>
  440. <location>src/main/resources/upgrade/ddl</location>
  441. </source>
  442. </sources>
  443. </mapping>
  444. <mapping>
  445. <directory>/var/lib/ambari-server/resources/upgrade/dml</directory>
  446. <sources>
  447. <source>
  448. <location>src/main/resources/upgrade/dml</location>
  449. </source>
  450. </sources>
  451. </mapping>
  452. <mapping>
  453. <directory>/var/lib/ambari-server/resources/stacks/HDP</directory>
  454. <sources>
  455. <source>
  456. <location>target/classes/stacks/HDP</location>
  457. </source>
  458. </sources>
  459. </mapping>
  460. <mapping>
  461. <directory>/var/lib/ambari-server/resources/stacks</directory>
  462. <filemode>755</filemode>
  463. <username>root</username>
  464. <groupname>root</groupname>
  465. <sources>
  466. <source>
  467. <location>target/classes/stacks/stack_advisor.py</location>
  468. </source>
  469. </sources>
  470. </mapping>
  471. <mapping>
  472. <directory>/usr/lib/python2.6/site-packages/ambari_server</directory>
  473. <filemode>755</filemode>
  474. <username>root</username>
  475. <groupname>root</groupname>
  476. <sources>
  477. <source>
  478. <location>src/main/python/ambari_server</location>
  479. </source>
  480. <source>
  481. <location>src/main/python/bootstrap.py</location>
  482. </source>
  483. <source>
  484. <location>src/main/python/setupAgent.py</location>
  485. </source>
  486. <source>
  487. <location>src/main/python/os_check_type.py</location>
  488. </source>
  489. </sources>
  490. </mapping>
  491. <mapping>
  492. <directory>/var/run/ambari-server</directory>
  493. </mapping>
  494. <mapping>
  495. <directory>/var/lib/ambari-server/resources</directory>
  496. <sources>
  497. <source>
  498. <location>../version</location>
  499. <filter>true</filter>
  500. </source>
  501. </sources>
  502. </mapping>
  503. <mapping>
  504. <directory>/var/lib/ambari-server/resources/custom_action_definitions</directory>
  505. <sources>
  506. <source>
  507. <location>src/main/resources/custom_action_definitions</location>
  508. </source>
  509. </sources>
  510. </mapping>
  511. <mapping>
  512. <!-- custom actions root-->
  513. <directory>/var/lib/ambari-server/resources/custom_actions</directory>
  514. <filemode>755</filemode>
  515. <username>root</username>
  516. <groupname>root</groupname>
  517. <sources>
  518. <source>
  519. <location>src/main/resources/custom_actions</location>
  520. </source>
  521. </sources>
  522. </mapping>
  523. </mappings>
  524. </configuration>
  525. </plugin>
  526. <plugin>
  527. <groupId>org.vafer</groupId>
  528. <artifactId>jdeb</artifactId>
  529. <version>1.0.1</version>
  530. <executions>
  531. <execution>
  532. <!-- unbinds rpm creation from maven lifecycle -->
  533. <phase>none</phase>
  534. <goals>
  535. <goal>jdeb</goal>
  536. </goals>
  537. </execution>
  538. </executions>
  539. <configuration>
  540. <controlDir>${basedir}/src/main/package/deb/control</controlDir>
  541. <deb>${basedir}/target/${artifactId}_${package-version}-${package-release}.deb</deb>
  542. <dataSet>
  543. <data>
  544. <type>template</type>
  545. <paths>
  546. <path>/usr/lib/ambari-server</path>
  547. <path>/var/run/ambari-server</path>
  548. <path>/var/run/ambari-server/bootstrap</path>
  549. <path>/var/run/ambari-server/stack-recommendations</path>
  550. <path>/var/log/ambari-server</path>
  551. <path>/var/lib/ambari-server/resources/upgrade</path>
  552. </paths>
  553. </data>
  554. <!-- TODO: should be included all subdirs, if exists-->
  555. <data>
  556. <src>${basedir}/../ambari-web/public</src>
  557. <type>directory</type>
  558. <mapper>
  559. <type>perm</type>
  560. <prefix>/usr/lib/ambari-server/web</prefix>
  561. </mapper>
  562. </data>
  563. <data>
  564. <src>${project.build.directory}/${project.artifactId}-${project.version}-dist/${project.artifactId}-${project.version}/lib</src>
  565. <type>directory</type>
  566. <mapper>
  567. <type>perm</type>
  568. <prefix>/usr/lib</prefix>
  569. </mapper>
  570. </data>
  571. <data>
  572. <src>src/main/python/ambari-server.py</src>
  573. <type>file</type>
  574. <mapper>
  575. <type>perm</type>
  576. <prefix>/usr/sbin</prefix>
  577. <user>root</user>
  578. <group>root</group>
  579. <filemode>755</filemode>
  580. </mapper>
  581. </data>
  582. <data>
  583. <src>src/main/python/ambari-server.py</src>
  584. <type>file</type>
  585. <mapper>
  586. <type>perm</type>
  587. <prefix>/usr/sbin</prefix>
  588. <user>root</user>
  589. <group>root</group>
  590. <filemode>755</filemode>
  591. </mapper>
  592. </data>
  593. <data>
  594. <src>../ambari-common/src/main/unix/ambari-python-wrap</src>
  595. <type>file</type>
  596. <mapper>
  597. <type>perm</type>
  598. <prefix>/var/lib/ambari-server</prefix>
  599. <user>root</user>
  600. <group>root</group>
  601. <filemode>755</filemode>
  602. </mapper>
  603. </data>
  604. <data>
  605. <src>${basedir}/target/ambari-server</src>
  606. <type>file</type>
  607. <mapper>
  608. <type>perm</type>
  609. <prefix>/usr/sbin</prefix>
  610. <user>root</user>
  611. <group>root</group>
  612. <filemode>755</filemode>
  613. </mapper>
  614. </data>
  615. <data>
  616. <src>conf/unix/ambari.properties</src>
  617. <type>file</type>
  618. <mapper>
  619. <type>perm</type>
  620. <prefix>/etc/ambari-server/conf</prefix>
  621. </mapper>
  622. </data>
  623. <data>
  624. <src>conf/unix/log4j.properties</src>
  625. <type>file</type>
  626. <mapper>
  627. <type>perm</type>
  628. <prefix>/etc/ambari-server/conf</prefix>
  629. </mapper>
  630. </data>
  631. <data>
  632. <src>conf/unix/krb5JAASLogin.conf</src>
  633. <type>file</type>
  634. <mapper>
  635. <type>perm</type>
  636. <prefix>/etc/ambari-server/conf</prefix>
  637. </mapper>
  638. </data>
  639. <!-- /q001 -->
  640. <data>
  641. <src>conf/unix/ambari-env.sh</src>
  642. <type>file</type>
  643. <mapper>
  644. <type>perm</type>
  645. <prefix>/var/lib/ambari-server/</prefix>
  646. <user>root</user>
  647. <group>root</group>
  648. <filemode>700</filemode>
  649. </mapper>
  650. </data>
  651. <data>
  652. <src>conf/unix/install-helper.sh</src>
  653. <type>file</type>
  654. <mapper>
  655. <type>perm</type>
  656. <prefix>/var/lib/ambari-server/</prefix>
  657. <user>root</user>
  658. <group>root</group>
  659. <filemode>700</filemode>
  660. </mapper>
  661. </data>
  662. <data>
  663. <src>conf/unix/ca.config</src>
  664. <type>file</type>
  665. <mapper>
  666. <type>perm</type>
  667. <prefix>/var/lib/ambari-server/keys</prefix>
  668. </mapper>
  669. </data>
  670. <data>
  671. <src>src/main/resources/db</src>
  672. <type>directory</type>
  673. <mapper>
  674. <type>perm</type>
  675. <prefix>/var/lib/ambari-server/keys/db</prefix>
  676. <user>root</user>
  677. <group>root</group>
  678. <filemode>700</filemode>
  679. </mapper>
  680. </data>
  681. <data>
  682. <src>target/classes/Ambari-DDL-Postgres-CREATE.sql</src>
  683. <type>file</type>
  684. <mapper>
  685. <type>perm</type>
  686. <prefix>/var/lib/ambari-server/resources</prefix>
  687. </mapper>
  688. </data>
  689. <data>
  690. <src>src/main/resources/Ambari-DDL-Postgres-DROP.sql</src>
  691. <type>file</type>
  692. <mapper>
  693. <type>perm</type>
  694. <prefix>/var/lib/ambari-server/resources</prefix>
  695. </mapper>
  696. </data>
  697. <data>
  698. <src>target/classes/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql</src>
  699. <type>file</type>
  700. <mapper>
  701. <type>perm</type>
  702. <prefix>/var/lib/ambari-server/resources</prefix>
  703. </mapper>
  704. </data>
  705. <data>
  706. <src>src/main/resources/Ambari-DDL-Postgres-EMBEDDED-DROP.sql</src>
  707. <type>file</type>
  708. <mapper>
  709. <type>perm</type>
  710. <prefix>/var/lib/ambari-server/resources</prefix>
  711. </mapper>
  712. </data>
  713. <data>
  714. <src>target/classes/Ambari-DDL-Oracle-CREATE.sql</src>
  715. <type>file</type>
  716. <mapper>
  717. <type>perm</type>
  718. <prefix>/var/lib/ambari-server/resources</prefix>
  719. </mapper>
  720. </data>
  721. <data>
  722. <src>target/classes/Ambari-DDL-MySQL-CREATE.sql</src>
  723. <type>file</type>
  724. <mapper>
  725. <type>perm</type>
  726. <prefix>/var/lib/ambari-server/resources</prefix>
  727. </mapper>
  728. </data>
  729. <data>
  730. <src>src/main/resources/Ambari-DDL-Oracle-DROP.sql</src>
  731. <type>file</type>
  732. <mapper>
  733. <type>perm</type>
  734. <prefix>/var/lib/ambari-server/resources</prefix>
  735. </mapper>
  736. </data>
  737. <data>
  738. <src>src/main/resources/Ambari-DDL-MySQL-DROP.sql</src>
  739. <type>file</type>
  740. <mapper>
  741. <type>perm</type>
  742. <prefix>/var/lib/ambari-server/resources</prefix>
  743. </mapper>
  744. </data>
  745. <data>
  746. <src>${project.build.directory}/DBConnectionVerification.jar</src>
  747. <type>file</type>
  748. <mapper>
  749. <type>perm</type>
  750. <prefix>/var/lib/ambari-server/resources</prefix>
  751. </mapper>
  752. </data>
  753. <data>
  754. <src>src/main/resources/role_command_order.json</src>
  755. <type>file</type>
  756. <mapper>
  757. <type>perm</type>
  758. <prefix>/var/lib/ambari-server/resources</prefix>
  759. </mapper>
  760. </data>
  761. <data>
  762. <src>src/main/resources/scripts</src>
  763. <type>directory</type>
  764. <mapper>
  765. <type>perm</type>
  766. <prefix>/var/lib/ambari-server/resources/scripts</prefix>
  767. <filemode>755</filemode>
  768. </mapper>
  769. </data>
  770. <data>
  771. <src>${ambari-admin-dir}/target</src>
  772. <type>directory</type>
  773. <includes>*.jar</includes>
  774. <mapper>
  775. <type>perm</type>
  776. <prefix>/var/lib/ambari-server/resources/views</prefix>
  777. </mapper>
  778. </data>
  779. <data>
  780. <src>src/main/python/UpgradeHelper_HDP2.py</src>
  781. <type>file</type>
  782. <mapper>
  783. <type>perm</type>
  784. <prefix>/var/lib/ambari-server/resources/scripts</prefix>
  785. <filemode>755</filemode>
  786. </mapper>
  787. </data>
  788. <data>
  789. <src>src/main/resources/upgrade/ddl</src>
  790. <type>directory</type>
  791. <mapper>
  792. <type>perm</type>
  793. <prefix>/var/lib/ambari-server/resources/upgrade/ddl</prefix>
  794. </mapper>
  795. </data>
  796. <data>
  797. <src>src/main/resources/upgrade/dml</src>
  798. <type>directory</type>
  799. <mapper>
  800. <type>perm</type>
  801. <prefix>/var/lib/ambari-server/resources/upgrade/dml</prefix>
  802. </mapper>
  803. </data>
  804. <data>
  805. <src>target/classes/stacks/HDP</src>
  806. <type>directory</type>
  807. <mapper>
  808. <type>perm</type>
  809. <prefix>/var/lib/ambari-server/resources/stacks/HDP</prefix>
  810. </mapper>
  811. </data>
  812. <data>
  813. <src>target/classes/stacks/stack_advisor.py</src>
  814. <type>file</type>
  815. <mapper>
  816. <type>perm</type>
  817. <prefix>/var/lib/ambari-server/resources/stacks</prefix>
  818. <user>root</user>
  819. <group>root</group>
  820. <filemode>755</filemode>
  821. </mapper>
  822. </data>
  823. <data>
  824. <src>src/main/python/ambari_server</src>
  825. <type>directory</type>
  826. <mapper>
  827. <type>perm</type>
  828. <prefix>/usr/lib/python2.6/site-packages/ambari_server</prefix>
  829. <user>root</user>
  830. <group>root</group>
  831. <filemode>755</filemode>
  832. </mapper>
  833. </data>
  834. <data>
  835. <src>src/main/python/bootstrap.py</src>
  836. <type>file</type>
  837. <mapper>
  838. <type>perm</type>
  839. <prefix>/usr/lib/python2.6/site-packages/ambari_server</prefix>
  840. <user>root</user>
  841. <group>root</group>
  842. <filemode>755</filemode>
  843. </mapper>
  844. </data>
  845. <data>
  846. <src>src/main/python/setupAgent.py</src>
  847. <type>file</type>
  848. <mapper>
  849. <type>perm</type>
  850. <prefix>/usr/lib/python2.6/site-packages/ambari_server</prefix>
  851. <user>root</user>
  852. <group>root</group>
  853. <filemode>755</filemode>
  854. </mapper>
  855. </data>
  856. <data>
  857. <src>src/main/python/os_check_type.py</src>
  858. <type>file</type>
  859. <mapper>
  860. <type>perm</type>
  861. <prefix>/usr/lib/python2.6/site-packages/ambari_server</prefix>
  862. <user>root</user>
  863. <group>root</group>
  864. <filemode>755</filemode>
  865. </mapper>
  866. </data>
  867. <data>
  868. <src>${basedir}/target/version</src>
  869. <type>file</type>
  870. <mapper>
  871. <type>perm</type>
  872. <prefix>/var/lib/ambari-server/resources</prefix>
  873. </mapper>
  874. </data>
  875. <data>
  876. <src>src/main/resources/custom_action_definitions</src>
  877. <type>directory</type>
  878. <mapper>
  879. <type>perm</type>
  880. <prefix>/var/lib/ambari-server/resources/custom_action_definitions</prefix>
  881. </mapper>
  882. </data>
  883. <data>
  884. <src>src/main/resources/custom_actions</src>
  885. <type>directory</type>
  886. <mapper>
  887. <type>perm</type>
  888. <prefix>/var/lib/ambari-server/resources/custom_actions</prefix>
  889. <user>root</user>
  890. <group>root</group>
  891. <filemode>755</filemode>
  892. </mapper>
  893. </data>
  894. <data>
  895. <src>
  896. ${project.basedir}/../ambari-common/src/main/python/ambari_commons
  897. </src>
  898. <type>directory</type>
  899. <mapper>
  900. <type>perm</type>
  901. <prefix>${ambari_commons.install.dir}</prefix>
  902. <filemode>755</filemode>
  903. <user>root</user>
  904. <group>root</group>
  905. </mapper>
  906. </data>
  907. <data>
  908. <src>
  909. ${project.basedir}/../ambari-common/src/main/python/resource_management
  910. </src>
  911. <type>directory</type>
  912. <mapper>
  913. <type>perm</type>
  914. <prefix>${resource_management.install.dir}</prefix>
  915. <filemode>755</filemode>
  916. <user>root</user>
  917. <group>root</group>
  918. </mapper>
  919. </data>
  920. </dataSet>
  921. </configuration>
  922. </plugin>
  923. <plugin>
  924. <groupId>org.codehaus.mojo</groupId>
  925. <artifactId>findbugs-maven-plugin</artifactId>
  926. <version>2.5.2</version>
  927. <configuration>
  928. <failOnError>false</failOnError>
  929. </configuration>
  930. <executions>
  931. <execution>
  932. <phase>verify</phase>
  933. <goals>
  934. <goal>check</goal>
  935. </goals>
  936. </execution>
  937. </executions>
  938. </plugin>
  939. <plugin>
  940. <groupId>org.codehaus.mojo</groupId>
  941. <artifactId>exec-maven-plugin</artifactId>
  942. <version>1.2</version>
  943. <executions>
  944. <execution>
  945. <configuration>
  946. <executable>${project.basedir}/../ambari-common/src/main/unix/ambari-python-wrap</executable>
  947. <workingDirectory>src/test/python</workingDirectory>
  948. <arguments>
  949. <argument>unitTests.py</argument>
  950. <argument>${custom.tests}</argument>
  951. </arguments>
  952. <environmentVariables>
  953. <PYTHONPATH>${project.basedir}/../ambari-common/src/main/python:${project.basedir}/../ambari-agent/src/main/python:${project.basedir}/../ambari-common/src/main/python/jinja2:${project.basedir}/../ambari-common/src/main/python/ambari_commons:${project.basedir}/../ambari-common/src/test/python:${project.basedir}/src/main/python:${project.basedir}/src/main/python/ambari-server-state:${project.basedir}/src/test/python:$PYTHONPATH</PYTHONPATH>
  954. </environmentVariables>
  955. <skip>${skipTests}</skip>
  956. </configuration>
  957. <id>python-test</id>
  958. <phase>test</phase>
  959. <goals>
  960. <goal>exec</goal>
  961. </goals>
  962. </execution>
  963. </executions>
  964. </plugin>
  965. <plugin>
  966. <groupId>com.atlassian.maven.plugins</groupId>
  967. <artifactId>maven-clover2-plugin</artifactId>
  968. <version>3.1.11</version>
  969. <!-- <configuration> <licenseLocation>/path/to/clover.license</licenseLocation>
  970. </configuration> -->
  971. </plugin>
  972. <plugin>
  973. <groupId>org.codehaus.mojo</groupId>
  974. <artifactId>buildnumber-maven-plugin</artifactId>
  975. <version>${buildnumber-maven-plugin-version}</version>
  976. <configuration>
  977. <urlScm>scm:git:https://git-wip-us.apache.org/repos/asf/incubator-ambari.git</urlScm>
  978. </configuration>
  979. <executions>
  980. <execution>
  981. <phase>validate</phase>
  982. <goals>
  983. <goal>create</goal>
  984. </goals>
  985. </execution>
  986. </executions>
  987. </plugin>
  988. <plugin>
  989. <groupId>org.apache.maven.plugins</groupId>
  990. <artifactId>maven-antrun-plugin</artifactId>
  991. <version>1.7</version>
  992. <executions>
  993. <execution>
  994. <phase>package</phase>
  995. <configuration>
  996. <tasks>
  997. <jar destfile="target/DBConnectionVerification.jar">
  998. <fileset dir="${basedir}/target/classes/"
  999. includes="**/DBConnectionVerification.class" />
  1000. <manifest>
  1001. <attribute name="Main-Class"
  1002. value="org.apache.ambari.server.DBConnectionVerification" />
  1003. </manifest>
  1004. </jar>
  1005. </tasks>
  1006. </configuration>
  1007. <goals>
  1008. <goal>run</goal>
  1009. </goals>
  1010. </execution>
  1011. <!-- Copies compiled views into known location for RPM builds -->
  1012. <execution>
  1013. <id>copy-view-jars</id>
  1014. <phase>package</phase>
  1015. <goals>
  1016. <goal>run</goal>
  1017. </goals>
  1018. <configuration>
  1019. <target>
  1020. <copy todir="${ambari-admin-dir}/target" flatten="true">
  1021. <fileset dir="${contrib-views-dir}">
  1022. <include name="*/target/*jar" />
  1023. </fileset>
  1024. </copy>
  1025. </target>
  1026. </configuration>
  1027. </execution>
  1028. </executions>
  1029. </plugin>
  1030. </plugins>
  1031. <resources>
  1032. <resource>
  1033. <directory>src/main/resources</directory>
  1034. <filtering>true</filtering>
  1035. <excludes>
  1036. <exclude>stacks/**</exclude>
  1037. </excludes>
  1038. </resource>
  1039. <resource>
  1040. <directory>src/main/resources</directory>
  1041. <filtering>false</filtering>
  1042. <includes>
  1043. <include>stacks/**</include>
  1044. </includes>
  1045. </resource>
  1046. </resources>
  1047. </build>
  1048. <profiles>
  1049. <profile>
  1050. <id>replaceurl</id>
  1051. <build>
  1052. <plugins>
  1053. <plugin>
  1054. <groupId>org.apache.maven.plugins</groupId>
  1055. <artifactId>maven-antrun-plugin</artifactId>
  1056. <version>1.7</version>
  1057. <executions>
  1058. <execution>
  1059. <id>set-hdp-url-classes</id>
  1060. <phase>process-classes</phase>
  1061. <goals>
  1062. <goal>run</goal>
  1063. </goals>
  1064. <configuration>
  1065. <target name="ambari-server-compile">
  1066. <exec dir="${basedir}" executable="bash"
  1067. failonerror="true">
  1068. <arg value="${basedir}/set-hdp-repo-url.sh" />
  1069. <arg value="${hdpUrlForCentos6}" />
  1070. <arg value="${hdpLatestUrl}" />
  1071. </exec>
  1072. </target>
  1073. </configuration>
  1074. </execution>
  1075. <execution>
  1076. <id>set-hdp-url-packages</id>
  1077. <phase>package</phase>
  1078. <goals>
  1079. <goal>run</goal>
  1080. </goals>
  1081. <configuration>
  1082. <target name="ambari-server-compile">
  1083. <exec dir="${basedir}" executable="bash"
  1084. failonerror="true">
  1085. <arg value="${basedir}/set-hdp-repo-url.sh" />
  1086. <arg value="${hdpUrlForCentos6}" />
  1087. <arg value="${hdpLatestUrl}" />
  1088. <arg
  1089. value="${project.build.directory}/ambari-server-${project.version}-dist/ambari-server-${project.version}" />
  1090. </exec>
  1091. </target>
  1092. </configuration>
  1093. </execution>
  1094. </executions>
  1095. </plugin>
  1096. </plugins>
  1097. </build>
  1098. </profile>
  1099. </profiles>
  1100. <dependencies>
  1101. <dependency>
  1102. <groupId>${pom.groupId}</groupId>
  1103. <artifactId>ambari-views</artifactId>
  1104. <version>${project.version}</version>
  1105. </dependency>
  1106. <dependency>
  1107. <groupId>commons-io</groupId>
  1108. <artifactId>commons-io</artifactId>
  1109. </dependency>
  1110. <dependency>
  1111. <groupId>com.google.inject.extensions</groupId>
  1112. <artifactId>guice-assistedinject</artifactId>
  1113. </dependency>
  1114. <dependency>
  1115. <groupId>com.google.inject.extensions</groupId>
  1116. <artifactId>guice-persist</artifactId>
  1117. </dependency>
  1118. <dependency>
  1119. <groupId>com.google.inject.extensions</groupId>
  1120. <artifactId>guice-servlet</artifactId>
  1121. </dependency>
  1122. <dependency>
  1123. <groupId>com.google.inject.extensions</groupId>
  1124. <artifactId>guice-multibindings</artifactId>
  1125. <version>3.0</version>
  1126. </dependency>
  1127. <dependency>
  1128. <groupId>org.apache.derby</groupId>
  1129. <artifactId>derby</artifactId>
  1130. </dependency>
  1131. <dependency>
  1132. <groupId>org.springframework.security</groupId>
  1133. <artifactId>spring-security-core</artifactId>
  1134. </dependency>
  1135. <dependency>
  1136. <groupId>org.springframework.security</groupId>
  1137. <artifactId>spring-security-config</artifactId>
  1138. </dependency>
  1139. <dependency>
  1140. <groupId>org.springframework.security</groupId>
  1141. <artifactId>spring-security-web</artifactId>
  1142. </dependency>
  1143. <dependency>
  1144. <groupId>org.springframework</groupId>
  1145. <artifactId>spring-mock</artifactId>
  1146. <scope>test</scope>
  1147. </dependency>
  1148. <dependency>
  1149. <groupId>org.springframework.security</groupId>
  1150. <artifactId>spring-security-ldap</artifactId>
  1151. </dependency>
  1152. <dependency>
  1153. <groupId>org.springframework.ldap</groupId>
  1154. <artifactId>spring-ldap-core</artifactId>
  1155. </dependency>
  1156. <dependency>
  1157. <groupId>org.apache.directory.server</groupId>
  1158. <artifactId>apacheds-core</artifactId>
  1159. </dependency>
  1160. <dependency>
  1161. <groupId>org.apache.directory.server</groupId>
  1162. <artifactId>apacheds-protocol-ldap</artifactId>
  1163. </dependency>
  1164. <dependency>
  1165. <groupId>org.apache.directory.shared</groupId>
  1166. <artifactId>shared-ldap</artifactId>
  1167. </dependency>
  1168. <dependency>
  1169. <groupId>org.slf4j</groupId>
  1170. <artifactId>slf4j-api</artifactId>
  1171. </dependency>
  1172. <dependency>
  1173. <groupId>org.slf4j</groupId>
  1174. <artifactId>slf4j-log4j12</artifactId>
  1175. </dependency>
  1176. <dependency>
  1177. <groupId>log4j</groupId>
  1178. <artifactId>log4j</artifactId>
  1179. </dependency>
  1180. <dependency>
  1181. <groupId>org.eclipse.persistence</groupId>
  1182. <artifactId>eclipselink</artifactId>
  1183. </dependency>
  1184. <dependency>
  1185. <groupId>org.mockito</groupId>
  1186. <artifactId>mockito-core</artifactId>
  1187. <scope>test</scope>
  1188. </dependency>
  1189. <dependency>
  1190. <groupId>org.eclipse.jetty</groupId>
  1191. <artifactId>jetty-security</artifactId>
  1192. </dependency>
  1193. <dependency>
  1194. <groupId>org.eclipse.jetty</groupId>
  1195. <artifactId>jetty-servlet</artifactId>
  1196. </dependency>
  1197. <dependency>
  1198. <groupId>org.eclipse.jetty</groupId>
  1199. <artifactId>jetty-webapp</artifactId>
  1200. </dependency>
  1201. <dependency>
  1202. <groupId>org.eclipse.jetty</groupId>
  1203. <artifactId>jetty-server</artifactId>
  1204. </dependency>
  1205. <dependency>
  1206. <groupId>commons-logging</groupId>
  1207. <artifactId>commons-logging</artifactId>
  1208. </dependency>
  1209. <dependency>
  1210. <groupId>commons-codec</groupId>
  1211. <artifactId>commons-codec</artifactId>
  1212. </dependency>
  1213. <dependency>
  1214. <groupId>commons-lang</groupId>
  1215. <artifactId>commons-lang</artifactId>
  1216. </dependency>
  1217. <dependency>
  1218. <groupId>commons-httpclient</groupId>
  1219. <artifactId>commons-httpclient</artifactId>
  1220. </dependency>
  1221. <dependency>
  1222. <groupId>commons-net</groupId>
  1223. <artifactId>commons-net</artifactId>
  1224. <version>1.4.1</version>
  1225. </dependency>
  1226. <dependency>
  1227. <groupId>javax.servlet</groupId>
  1228. <artifactId>servlet-api</artifactId>
  1229. </dependency>
  1230. <dependency>
  1231. <groupId>com.sun.jersey</groupId>
  1232. <artifactId>jersey-json</artifactId>
  1233. <exclusions>
  1234. <exclusion>
  1235. <groupId>org.codehaus.jackson</groupId>
  1236. <artifactId>jackson-xc</artifactId>
  1237. </exclusion>
  1238. <exclusion>
  1239. <groupId>org.codehaus.jettison</groupId>
  1240. <artifactId>jettison</artifactId>
  1241. </exclusion>
  1242. <exclusion>
  1243. <groupId>org.codehaus.jackson</groupId>
  1244. <artifactId>jackson-mapper-asl</artifactId>
  1245. </exclusion>
  1246. </exclusions>
  1247. </dependency>
  1248. <dependency>
  1249. <groupId>com.sun.jersey</groupId>
  1250. <artifactId>jersey-server</artifactId>
  1251. </dependency>
  1252. <dependency>
  1253. <groupId>com.sun.jersey</groupId>
  1254. <artifactId>jersey-client</artifactId>
  1255. </dependency>
  1256. <dependency>
  1257. <groupId>com.sun.jersey.contribs</groupId>
  1258. <artifactId>jersey-multipart</artifactId>
  1259. </dependency>
  1260. <dependency>
  1261. <groupId>com.sun.jersey.contribs</groupId>
  1262. <artifactId>jersey-guice</artifactId>
  1263. </dependency>
  1264. <dependency>
  1265. <groupId>org.codehaus.jackson</groupId>
  1266. <artifactId>jackson-mapper-asl</artifactId>
  1267. <version>1.9.2</version>
  1268. </dependency>
  1269. <dependency>
  1270. <groupId>org.codehaus.jackson</groupId>
  1271. <artifactId>jackson-core-asl</artifactId>
  1272. </dependency>
  1273. <dependency>
  1274. <groupId>org.codehaus.jackson</groupId>
  1275. <artifactId>jackson-jaxrs</artifactId>
  1276. </dependency>
  1277. <dependency>
  1278. <groupId>org.codehaus.jackson</groupId>
  1279. <artifactId>jackson-xc</artifactId>
  1280. </dependency>
  1281. <dependency>
  1282. <groupId>com.sun.jersey.jersey-test-framework</groupId>
  1283. <artifactId>jersey-test-framework-core</artifactId>
  1284. <scope>test</scope>
  1285. </dependency>
  1286. <dependency>
  1287. <groupId>com.sun.jersey.jersey-test-framework</groupId>
  1288. <artifactId>jersey-test-framework-grizzly2</artifactId>
  1289. <scope>test</scope>
  1290. </dependency>
  1291. <dependency>
  1292. <groupId>org.codehaus.jettison</groupId>
  1293. <artifactId>jettison</artifactId>
  1294. <scope>test</scope>
  1295. </dependency>
  1296. <dependency>
  1297. <groupId>junit</groupId>
  1298. <artifactId>junit</artifactId>
  1299. <scope>test</scope>
  1300. </dependency>
  1301. <dependency>
  1302. <groupId>org.easymock</groupId>
  1303. <artifactId>easymock</artifactId>
  1304. <version>3.1</version>
  1305. <scope>test</scope>
  1306. </dependency>
  1307. <dependency>
  1308. <groupId>org.powermock</groupId>
  1309. <artifactId>powermock-core</artifactId>
  1310. <version>1.5</version>
  1311. <scope>test</scope>
  1312. </dependency>
  1313. <dependency>
  1314. <groupId>org.powermock</groupId>
  1315. <artifactId>powermock-reflect</artifactId>
  1316. <version>1.5</version>
  1317. <scope>test</scope>
  1318. </dependency>
  1319. <dependency>
  1320. <groupId>org.powermock</groupId>
  1321. <artifactId>powermock-api-easymock</artifactId>
  1322. <version>1.5</version>
  1323. <scope>test</scope>
  1324. </dependency>
  1325. <dependency>
  1326. <groupId>org.powermock</groupId>
  1327. <artifactId>powermock-module-junit4</artifactId>
  1328. <version>1.5</version>
  1329. <scope>test</scope>
  1330. </dependency>
  1331. <dependency>
  1332. <groupId>org.objenesis</groupId>
  1333. <artifactId>objenesis-tck</artifactId>
  1334. <version>1.2</version>
  1335. </dependency>
  1336. <dependency>
  1337. <groupId>cglib</groupId>
  1338. <artifactId>cglib</artifactId>
  1339. <version>2.2.2</version>
  1340. </dependency>
  1341. <dependency>
  1342. <groupId>asm</groupId>
  1343. <artifactId>asm</artifactId>
  1344. <version>3.3.1</version>
  1345. </dependency>
  1346. <dependency>
  1347. <groupId>com.google.inject</groupId>
  1348. <artifactId>guice</artifactId>
  1349. <version>3.0</version>
  1350. </dependency>
  1351. <dependency>
  1352. <groupId>com.google.code.gson</groupId>
  1353. <artifactId>gson</artifactId>
  1354. <version>2.2.2</version>
  1355. </dependency>
  1356. <dependency>
  1357. <groupId>org.postgresql</groupId>
  1358. <artifactId>postgresql</artifactId>
  1359. <version>9.3-1101-jdbc4</version>
  1360. </dependency>
  1361. <dependency>
  1362. <groupId>org.apache.httpcomponents</groupId>
  1363. <artifactId>httpclient</artifactId>
  1364. <version>4.2.5</version>
  1365. </dependency>
  1366. <dependency>
  1367. <groupId>com.google.guava</groupId>
  1368. <artifactId>guava</artifactId>
  1369. <version>14.0.1</version>
  1370. </dependency>
  1371. <dependency>
  1372. <groupId>com.google.code.findbugs</groupId>
  1373. <artifactId>jsr305</artifactId>
  1374. <version>1.3.9</version>
  1375. </dependency>
  1376. <dependency>
  1377. <groupId>org.quartz-scheduler</groupId>
  1378. <artifactId>quartz</artifactId>
  1379. <version>2.2.1</version>
  1380. </dependency>
  1381. <dependency>
  1382. <groupId>org.quartz-scheduler</groupId>
  1383. <artifactId>quartz-jobs</artifactId>
  1384. <version>2.2.1</version>
  1385. </dependency>
  1386. <dependency>
  1387. <groupId>org.apache.velocity</groupId>
  1388. <artifactId>velocity</artifactId>
  1389. <version>1.7</version>
  1390. </dependency>
  1391. </dependencies>
  1392. <!--<reporting> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId>
  1393. <artifactId>findbugs-maven-plugin</artifactId> <version>2.5.2</version> </plugin>
  1394. </plugins> </reporting> -->
  1395. </project>