pom.xml 51 KB

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