pom.xml 45 KB

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