pom.xml 52 KB

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