pom.xml 72 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959
  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>2.0.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>${packagingFormat}</packaging>
  22. <name>Ambari Server</name>
  23. <version>2.0.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. <simplejson.install.dir>/usr/lib/ambari-server/lib/ambari_simplejson</simplejson.install.dir>
  40. <ambari-web-dir>${basedir}/../ambari-web/public</ambari-web-dir>
  41. <ambari-admin-dir>${basedir}/../ambari-admin</ambari-admin-dir>
  42. <contrib-views-dir>${basedir}/../contrib/views</contrib-views-dir>
  43. <resourceManagementSrcLocation>${project.basedir}/../ambari-common/src/main/python/resource_management</resourceManagementSrcLocation>
  44. <commonServicesSrcLocation>target/classes/common-services</commonServicesSrcLocation>
  45. <stacksSrcLocation>target/classes/stacks/${stack.distribution}</stacksSrcLocation>
  46. <tarballResourcesFolder>src/main/resources</tarballResourcesFolder>
  47. <skipPythonTests>false</skipPythonTests>
  48. </properties>
  49. <build>
  50. <plugins>
  51. <plugin>
  52. <groupId>org.codehaus.mojo</groupId>
  53. <artifactId>build-helper-maven-plugin</artifactId>
  54. <version>1.8</version>
  55. <executions>
  56. <execution>
  57. <id>parse-version</id>
  58. <phase>validate</phase>
  59. <goals>
  60. <goal>parse-version</goal>
  61. </goals>
  62. </execution>
  63. <execution>
  64. <id>regex-property</id>
  65. <goals>
  66. <goal>regex-property</goal>
  67. </goals>
  68. <configuration>
  69. <name>ambariVersion</name>
  70. <value>${project.version}</value>
  71. <regex>^([0-9]+)\.([0-9]+)\.([0-9]+)(\.|-).*</regex>
  72. <replacement>$1.$2.$3</replacement>
  73. <failIfNoMatch>false</failIfNoMatch>
  74. </configuration>
  75. </execution>
  76. </executions>
  77. </plugin>
  78. <plugin>
  79. <artifactId>maven-resources-plugin</artifactId>
  80. <version>2.6</version>
  81. <executions>
  82. <execution>
  83. <id>copy-resources</id>
  84. <phase>generate-test-resources</phase>
  85. <goals>
  86. <goal>copy-resources</goal>
  87. </goals>
  88. <configuration>
  89. <outputDirectory>${basedir}/target/</outputDirectory>
  90. <resources>
  91. <resource>
  92. <directory>${basedir}/../</directory>
  93. <includes>
  94. <include>version</include>
  95. </includes>
  96. <filtering>true</filtering>
  97. </resource>
  98. <resource>
  99. <directory>${basedir}/sbin/</directory>
  100. <includes>
  101. <include>ambari-server</include>
  102. </includes>
  103. <filtering>true</filtering>
  104. </resource>
  105. </resources>
  106. </configuration>
  107. </execution>
  108. </executions>
  109. </plugin>
  110. <plugin>
  111. <artifactId>maven-compiler-plugin</artifactId>
  112. <version>3.0</version>
  113. </plugin>
  114. <plugin>
  115. <groupId>org.apache.maven.plugins</groupId>
  116. <artifactId>maven-antrun-plugin</artifactId>
  117. <version>1.7</version>
  118. <executions>
  119. <execution>
  120. <phase>package</phase>
  121. <configuration>
  122. <tasks>
  123. <jar destfile="target/DBConnectionVerification.jar">
  124. <fileset dir="${basedir}/target/classes/"
  125. includes="**/DBConnectionVerification.class" />
  126. <manifest>
  127. <attribute name="Main-Class"
  128. value="org.apache.ambari.server.DBConnectionVerification" />
  129. </manifest>
  130. </jar>
  131. </tasks>
  132. </configuration>
  133. <goals>
  134. <goal>run</goal>
  135. </goals>
  136. </execution>
  137. </executions>
  138. </plugin>
  139. <plugin>
  140. <artifactId>maven-assembly-plugin</artifactId>
  141. <configuration>
  142. <descriptors>
  143. <descriptor>${assemblydescriptor}</descriptor>
  144. </descriptors>
  145. <tarLongFileMode>gnu</tarLongFileMode>
  146. </configuration>
  147. <executions>
  148. <execution>
  149. <id>build-tarball</id>
  150. <phase>package</phase>
  151. <goals>
  152. <goal>single</goal>
  153. </goals>
  154. </execution>
  155. </executions>
  156. </plugin>
  157. <plugin>
  158. <groupId>org.apache.rat</groupId>
  159. <artifactId>apache-rat-plugin</artifactId>
  160. <configuration>
  161. <excludes>
  162. <exclude>pass.txt</exclude>
  163. <exclude>derby.log</exclude>
  164. <exclude>src/test/resources/version</exclude>
  165. <exclude>src/test/resources/users.ldif</exclude>
  166. <exclude>src/test/resources/gsInstaller-hosts.txt</exclude>
  167. <exclude>src/test/resources/temporal_ganglia_data.txt</exclude>
  168. <exclude>src/test/resources/users.ldif</exclude>
  169. <exclude>src/main/resources/hive-schema-0.10.0.oracle.sql</exclude>
  170. <exclude>src/main/resources/hive-schema-0.12.0.oracle.sql</exclude>
  171. <exclude>src/main/resources/db/serial</exclude>
  172. <exclude>src/main/resources/db/index.txt</exclude>
  173. <exclude>src/main/resources/stacks/HDP/2.1.GlusterFS/services/YARN/package/templates/exclude_hosts_list.j2</exclude>
  174. <exclude>src/main/windows/ambari-server.cmd</exclude>
  175. <exclude>src/main/windows/ambari-server.ps1</exclude>
  176. <exclude>src/main/package/choco/ambari-server.nuspec</exclude>
  177. <exclude>src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/templates/smoketest_metrics.json.j2</exclude>
  178. <exclude>src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/balancer-emulator/balancer-err.log</exclude>
  179. <exclude>src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/balancer-emulator/balancer.log</exclude>
  180. <exclude>src/main/resources/stacks/BIGTOP/0.8/services/HDFS/package/scripts/balancer-emulator/balancer.log</exclude>
  181. <exclude>src/main/resources/stacks/BIGTOP/0.8/services/HDFS/package/scripts/balancer-emulator/balancer-err.log</exclude>
  182. <exclude>src/main/resources/stacks/PHD/3.0.0.0/services/HDFS/package/scripts/balancer-emulator/balancer.log</exclude>
  183. <exclude>src/main/resources/stacks/PHD/3.0.0.0/services/HDFS/package/scripts/balancer-emulator/balancer-err.log</exclude>
  184. <exclude>conf/unix/ca.config</exclude>
  185. <exclude>conf/unix/krb5JAASLogin.conf</exclude>
  186. <exclude>conf/windows/ca.config</exclude>
  187. <exclude>conf/windows/krb5JAASLogin.conf</exclude>
  188. <exclude>**/*.iml</exclude>
  189. <exclude>**/*.json</exclude>
  190. <exclude>**/*.sql</exclude>
  191. <exclude>**/repo_suse_rhel.j2</exclude>
  192. <exclude>**/repo_debian.j2</exclude>
  193. <exclude>**/cluster.properties.j2</exclude>
  194. <exclude>**/repo_ubuntu.j2</exclude>
  195. <exclude>**/.pydev*</exclude>
  196. <!--gitignore content -->
  197. <exclude>src/main/resources/db/newcerts/**</exclude>
  198. <!-- Stack definitions -->
  199. <exclude>src/main/resources/stacks/HDP/2.0._/services/HBASE/package/templates/regionservers.j2</exclude>
  200. <exclude>src/main/resources/stacks/HDPWIN/2.1/services/*/configuration*/*</exclude>
  201. <!--test samples -->
  202. <exclude>src/test/resources/TestAmbaryServer.samples/**</exclude>
  203. <exclude>src/test/resources/*.txt</exclude>
  204. <exclude>src/test/resources/users_for_dn_with_space.ldif</exclude>
  205. <!--Velocity log -->
  206. <exclude>**/velocity.log*</exclude>
  207. </excludes>
  208. </configuration>
  209. <executions>
  210. <execution>
  211. <phase>test</phase>
  212. <goals>
  213. <goal>check</goal>
  214. </goals>
  215. </execution>
  216. </executions>
  217. </plugin>
  218. <plugin>
  219. <artifactId>eclipselink-staticweave-maven-plugin</artifactId>
  220. <groupId>au.com.alderaan</groupId>
  221. <version>1.0.4</version>
  222. <executions>
  223. <execution>
  224. <goals>
  225. <goal>weave</goal>
  226. </goals>
  227. <phase>process-classes</phase>
  228. <configuration>
  229. <logLevel>ALL</logLevel>
  230. <includeProjectClasspath>true</includeProjectClasspath>
  231. </configuration>
  232. </execution>
  233. </executions>
  234. <dependencies>
  235. <dependency>
  236. <groupId>org.eclipse.persistence</groupId>
  237. <artifactId>eclipselink</artifactId>
  238. <version>2.4.2</version>
  239. </dependency>
  240. </dependencies>
  241. </plugin>
  242. <plugin>
  243. <groupId>org.codehaus.mojo</groupId>
  244. <artifactId>rpm-maven-plugin</artifactId>
  245. <version>2.0.1</version>
  246. <executions>
  247. <execution>
  248. <!-- unbinds rpm creation from maven lifecycle -->
  249. <phase>none</phase>
  250. <goals>
  251. <goal>rpm</goal>
  252. </goals>
  253. </execution>
  254. </executions>
  255. <configuration>
  256. <copyright>2012, Apache Software Foundation</copyright>
  257. <group>Development</group>
  258. <description>Maven Recipe: RPM Package.</description>
  259. <autoRequires>no</autoRequires>
  260. <requires>
  261. <require>postgresql-server &gt;= 8.1</require>
  262. <require>openssl</require>
  263. <require>${python.ver}</require>
  264. <require>${python.xml.package}</require>
  265. </requires>
  266. <postinstallScriptlet>
  267. <scriptFile>src/main/package/rpm/postinstall.sh</scriptFile>
  268. <fileEncoding>utf-8</fileEncoding>
  269. </postinstallScriptlet>
  270. <preinstallScriptlet>
  271. <scriptFile>src/main/package/rpm/preinstall.sh</scriptFile>
  272. <fileEncoding>utf-8</fileEncoding>
  273. </preinstallScriptlet>
  274. <preremoveScriptlet>
  275. <scriptFile>src/main/package/rpm/preremove.sh</scriptFile>
  276. <fileEncoding>utf-8</fileEncoding>
  277. </preremoveScriptlet>
  278. <posttransScriptlet>
  279. <scriptFile>src/main/package/rpm/posttrans_server.sh</scriptFile>
  280. <fileEncoding>utf-8</fileEncoding>
  281. </posttransScriptlet>
  282. <defaultFilemode>644</defaultFilemode>
  283. <defaultDirmode>755</defaultDirmode>
  284. <defaultUsername>root</defaultUsername>
  285. <defaultGroupname>root</defaultGroupname>
  286. <needarch>x86_64</needarch>
  287. <mappings>
  288. <mapping>
  289. <directory>/usr/lib/ambari-server</directory>
  290. <dependency>
  291. </dependency>
  292. </mapping>
  293. <mapping>
  294. <directory>/usr/lib/ambari-server/web</directory>
  295. <sources>
  296. <source>
  297. <location>${ambari-web-dir}</location>
  298. <includes>
  299. <include>**</include>
  300. </includes>
  301. </source>
  302. </sources>
  303. </mapping>
  304. <mapping>
  305. <directory>/usr/lib/ambari-server</directory>
  306. <sources>
  307. <source>
  308. <location>${project.build.directory}/${project.artifactId}-${project.version}.jar</location>
  309. </source>
  310. </sources>
  311. </mapping>
  312. <mapping>
  313. <directory>${ambari_commons.install.dir}</directory>
  314. <sources>
  315. <source>
  316. <location>
  317. ${project.basedir}/../ambari-common/src/main/python/ambari_commons
  318. </location>
  319. </source>
  320. </sources>
  321. </mapping>
  322. <mapping>
  323. <directory>${resource_management.install.dir}</directory>
  324. <sources>
  325. <source>
  326. <location>
  327. ${resourceManagementSrcLocation}
  328. </location>
  329. </source>
  330. </sources>
  331. </mapping>
  332. <mapping>
  333. <directory>${jinja.install.dir}</directory>
  334. <filemode>755</filemode>
  335. <username>root</username>
  336. <groupname>root</groupname>
  337. <sources>
  338. <source>
  339. <location>${project.basedir}/../ambari-common/src/main/python/ambari_jinja2/ambari_jinja2</location>
  340. <excludes>
  341. <exclude>${project.basedir}/../ambari-common/src/main/python/ambari_jinja2/ambari_jinja2/testsuite</exclude>
  342. </excludes>
  343. </source>
  344. </sources>
  345. </mapping>
  346. <mapping>
  347. <directory>${simplejson.install.dir}</directory>
  348. <filemode>755</filemode>
  349. <username>root</username>
  350. <groupname>root</groupname>
  351. <sources>
  352. <source>
  353. <location>${project.basedir}/../ambari-common/src/main/python/ambari_simplejson</location>
  354. </source>
  355. </sources>
  356. </mapping>
  357. <mapping>
  358. <directory>/usr/sbin</directory>
  359. <filemode>755</filemode>
  360. <username>root</username>
  361. <groupname>root</groupname>
  362. <directoryIncluded>false</directoryIncluded>
  363. <sources>
  364. <source>
  365. <location>src/main/python/ambari-server.py</location>
  366. </source>
  367. <source>
  368. <location>src/main/python/ambari_server_main.py</location>
  369. </source>
  370. <source>
  371. <location>sbin/ambari-server</location>
  372. <filter>true</filter>
  373. </source>
  374. </sources>
  375. </mapping>
  376. <mapping>
  377. <directory>/var/lib/ambari-server/</directory>
  378. <filemode>755</filemode>
  379. <username>root</username>
  380. <groupname>root</groupname>
  381. <directoryIncluded>false</directoryIncluded>
  382. <sources>
  383. <source>
  384. <location>../ambari-common/src/main/unix/ambari-python-wrap</location>
  385. </source>
  386. </sources>
  387. </mapping>
  388. <mapping>
  389. <directory>/etc/ambari-server/conf</directory>
  390. <configuration>true</configuration>
  391. <sources>
  392. <source>
  393. <location>conf/unix/ambari.properties</location>
  394. </source>
  395. <source>
  396. <location>conf/unix/log4j.properties</location>
  397. </source>
  398. <source>
  399. <location>conf/unix/krb5JAASLogin.conf</location>
  400. </source>
  401. </sources>
  402. </mapping>
  403. <mapping>
  404. <directory>/var/lib/ambari-server/</directory>
  405. <configuration>true</configuration>
  406. <filemode>700</filemode>
  407. <username>root</username>
  408. <groupname>root</groupname>
  409. <sources>
  410. <source>
  411. <location>conf/unix/ambari-env.sh</location>
  412. </source>
  413. </sources>
  414. </mapping>
  415. <mapping>
  416. <directory>/var/lib/ambari-server/</directory>
  417. <filemode>700</filemode>
  418. <username>root</username>
  419. <groupname>root</groupname>
  420. <sources>
  421. <source>
  422. <location>conf/unix/ambari-sudo.sh</location>
  423. </source>
  424. </sources>
  425. </mapping>
  426. <mapping>
  427. <directory>/var/lib/ambari-server/</directory>
  428. <filemode>700</filemode>
  429. <username>root</username>
  430. <groupname>root</groupname>
  431. <sources>
  432. <source>
  433. <location>conf/unix/install-helper.sh</location>
  434. </source>
  435. </sources>
  436. </mapping>
  437. <mapping>
  438. <directory>/var/lib/ambari-server/keys</directory>
  439. <sources>
  440. <source>
  441. <location>conf/unix/ca.config</location>
  442. </source>
  443. </sources>
  444. </mapping>
  445. <mapping>
  446. <directory>/var/lib/ambari-server/keys/db</directory>
  447. <filemode>700</filemode>
  448. <username>root</username>
  449. <groupname>root</groupname>
  450. <sources>
  451. <source>
  452. <location>src/main/resources/db</location>
  453. </source>
  454. </sources>
  455. </mapping>
  456. <mapping>
  457. <directory>/var/run/ambari-server/bootstrap</directory>
  458. </mapping>
  459. <mapping>
  460. <directory>/var/run/ambari-server/stack-recommendations</directory>
  461. </mapping>
  462. <mapping>
  463. <directory>/var/log/ambari-server</directory>
  464. </mapping>
  465. <mapping>
  466. <directory>/var/lib/ambari-server/resources</directory>
  467. <sources>
  468. <source>
  469. <location>target/classes/Ambari-DDL-Postgres-CREATE.sql</location>
  470. </source>
  471. <source>
  472. <location>src/main/resources/Ambari-DDL-Postgres-DROP.sql</location>
  473. </source>
  474. <source>
  475. <location>target/classes/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql</location>
  476. </source>
  477. <source>
  478. <location>src/main/resources/Ambari-DDL-Postgres-EMBEDDED-DROP.sql</location>
  479. </source>
  480. <source>
  481. <location>target/classes/Ambari-DDL-Oracle-CREATE.sql</location>
  482. </source>
  483. <source>
  484. <location>target/classes/Ambari-DDL-MySQL-CREATE.sql</location>
  485. </source>
  486. <source>
  487. <location>src/main/resources/Ambari-DDL-Oracle-DROP.sql</location>
  488. </source>
  489. <source>
  490. <location>src/main/resources/Ambari-DDL-MySQL-DROP.sql</location>
  491. </source>
  492. <source>
  493. <location>target/classes/Ambari-DDL-SQLServer-CREATE.sql</location>
  494. </source>
  495. <source>
  496. <location>target/classes/Ambari-DDL-SQLServer-CREATELOCAL.sql</location>
  497. </source>
  498. <source>
  499. <location>src/main/resources/Ambari-DDL-SQLServer-DROP.sql</location>
  500. </source>
  501. <source>
  502. <location>${project.build.directory}/DBConnectionVerification.jar</location>
  503. </source>
  504. <source>
  505. <location>src/main/resources/role_command_order.json</location>
  506. </source>
  507. </sources>
  508. </mapping>
  509. <mapping>
  510. <directory>/var/lib/ambari-server/data/tmp</directory>
  511. <filemode>755</filemode>
  512. <username>root</username>
  513. <groupname>root</groupname>
  514. </mapping>
  515. <mapping>
  516. <directory>/var/lib/ambari-server/data/cache</directory>
  517. <filemode>700</filemode>
  518. <username>root</username>
  519. <groupname>root</groupname>
  520. </mapping>
  521. <mapping>
  522. <directory>/var/lib/ambari-server/resources/apps</directory>
  523. <filemode>755</filemode>
  524. <username>root</username>
  525. <groupname>root</groupname>
  526. <sources>
  527. <source>
  528. <location>src/main/resources/slider_resources/README.txt</location>
  529. </source>
  530. </sources>
  531. </mapping>
  532. <mapping>
  533. <directory>/var/lib/ambari-server/resources/scripts</directory>
  534. <filemode>755</filemode>
  535. <sources>
  536. <source>
  537. <location>src/main/resources/scripts</location>
  538. </source>
  539. <source>
  540. <location>src/main/python/upgradeHelper.py</location>
  541. </source>
  542. </sources>
  543. </mapping>
  544. <mapping>
  545. <directory>/var/lib/ambari-server/resources/views</directory>
  546. <filemode>755</filemode>
  547. <sources>
  548. <source>
  549. <location>${ambari-admin-dir}/target</location>
  550. <includes>
  551. <include>*.jar</include>
  552. </includes>
  553. </source>
  554. </sources>
  555. </mapping>
  556. <mapping>
  557. <directory>/var/lib/ambari-server/resources/upgrade</directory>
  558. </mapping>
  559. <mapping>
  560. <directory>/var/lib/ambari-server/resources/upgrade/ddl</directory>
  561. <sources>
  562. <source>
  563. <location>src/main/resources/upgrade/ddl</location>
  564. </source>
  565. </sources>
  566. </mapping>
  567. <mapping>
  568. <directory>/var/lib/ambari-server/resources/upgrade/dml</directory>
  569. <sources>
  570. <source>
  571. <location>src/main/resources/upgrade/dml</location>
  572. </source>
  573. </sources>
  574. </mapping>
  575. <mapping>
  576. <directory>/var/lib/ambari-server/resources/common-services</directory>
  577. <sources>
  578. <source>
  579. <location>${commonServicesSrcLocation}</location>
  580. </source>
  581. </sources>
  582. </mapping>
  583. <mapping>
  584. <directory>/var/lib/ambari-server/resources/upgrade/catalog</directory>
  585. <sources>
  586. <source>
  587. <location>src/main/resources/upgrade/catalog</location>
  588. </source>
  589. </sources>
  590. </mapping>
  591. <mapping>
  592. <directory>/var/lib/ambari-server/resources/stacks/${stack.distribution}</directory>
  593. <sources>
  594. <source>
  595. <location>${stacksSrcLocation}</location>
  596. </source>
  597. </sources>
  598. </mapping>
  599. <mapping>
  600. <directory>/var/lib/ambari-server/resources/stacks</directory>
  601. <filemode>755</filemode>
  602. <username>root</username>
  603. <groupname>root</groupname>
  604. <sources>
  605. <source>
  606. <location>target/classes/stacks/stack_advisor.py</location>
  607. </source>
  608. </sources>
  609. </mapping>
  610. <mapping>
  611. <directory>/usr/lib/python2.6/site-packages/ambari_server</directory>
  612. <filemode>755</filemode>
  613. <username>root</username>
  614. <groupname>root</groupname>
  615. <sources>
  616. <source>
  617. <location>src/main/python/ambari_server</location>
  618. </source>
  619. <source>
  620. <location>src/main/python/bootstrap.py</location>
  621. </source>
  622. <source>
  623. <location>src/main/python/setupAgent.py</location>
  624. </source>
  625. <source>
  626. <location>src/main/python/os_check_type.py</location>
  627. </source>
  628. </sources>
  629. </mapping>
  630. <mapping>
  631. <directory>/var/run/ambari-server</directory>
  632. </mapping>
  633. <mapping>
  634. <directory>/var/lib/ambari-server/resources</directory>
  635. <sources>
  636. <source>
  637. <location>../version</location>
  638. <filter>true</filter>
  639. </source>
  640. </sources>
  641. </mapping>
  642. <mapping>
  643. <directory>/var/lib/ambari-server/resources/custom_action_definitions</directory>
  644. <sources>
  645. <source>
  646. <location>src/main/resources/custom_action_definitions</location>
  647. </source>
  648. </sources>
  649. </mapping>
  650. <mapping>
  651. <!-- custom actions root-->
  652. <directory>/var/lib/ambari-server/resources/custom_actions</directory>
  653. <filemode>755</filemode>
  654. <username>root</username>
  655. <groupname>root</groupname>
  656. <sources>
  657. <source>
  658. <location>src/main/resources/custom_actions</location>
  659. </source>
  660. </sources>
  661. </mapping>
  662. <mapping>
  663. <directory>/var/lib/ambari-server/resources/host_scripts</directory>
  664. <filemode>755</filemode>
  665. <username>root</username>
  666. <groupname>root</groupname>
  667. <sources>
  668. <source>
  669. <location>src/main/resources/host_scripts</location>
  670. </source>
  671. </sources>
  672. </mapping>
  673. </mappings>
  674. </configuration>
  675. </plugin>
  676. <plugin>
  677. <groupId>org.vafer</groupId>
  678. <artifactId>jdeb</artifactId>
  679. <version>1.0.1</version>
  680. <executions>
  681. <execution>
  682. <!-- unbinds rpm creation from maven lifecycle -->
  683. <phase>none</phase>
  684. <goals>
  685. <goal>jdeb</goal>
  686. </goals>
  687. </execution>
  688. </executions>
  689. <configuration>
  690. <controlDir>${basedir}/src/main/package/deb/control</controlDir>
  691. <deb>${basedir}/target/${artifactId}_${package-version}-${package-release}.deb</deb>
  692. <dataSet>
  693. <data>
  694. <type>template</type>
  695. <paths>
  696. <path>/usr/lib/ambari-server</path>
  697. <path>/var/run/ambari-server</path>
  698. <path>/var/run/ambari-server/bootstrap</path>
  699. <path>/var/run/ambari-server/stack-recommendations</path>
  700. <path>/var/log/ambari-server</path>
  701. <path>/var/lib/ambari-server/resources/upgrade</path>
  702. <path>/var/lib/ambari-server/data/tmp</path>
  703. <path>/var/lib/ambari-server/data/cache</path>
  704. </paths>
  705. </data>
  706. <!-- TODO: should be included all subdirs, if exists-->
  707. <data>
  708. <src>${basedir}/../ambari-web/public</src>
  709. <type>directory</type>
  710. <mapper>
  711. <type>perm</type>
  712. <prefix>/usr/lib/ambari-server/web</prefix>
  713. </mapper>
  714. </data>
  715. <data>
  716. <src>${project.build.directory}/${project.artifactId}-${project.version}-dist/${project.artifactId}-${project.version}/lib</src>
  717. <type>directory</type>
  718. <mapper>
  719. <type>perm</type>
  720. <prefix>/usr/lib</prefix>
  721. </mapper>
  722. </data>
  723. <data>
  724. <src>src/main/python/ambari-server.py</src>
  725. <type>file</type>
  726. <mapper>
  727. <type>perm</type>
  728. <prefix>/usr/sbin</prefix>
  729. <user>root</user>
  730. <group>root</group>
  731. <filemode>755</filemode>
  732. </mapper>
  733. </data>
  734. <data>
  735. <src>src/main/python/ambari_server_main.py</src>
  736. <type>file</type>
  737. <mapper>
  738. <type>perm</type>
  739. <prefix>/usr/sbin</prefix>
  740. <user>root</user>
  741. <group>root</group>
  742. <filemode>755</filemode>
  743. </mapper>
  744. </data>
  745. <data>
  746. <src>src/main/python/ambari-server.py</src>
  747. <type>file</type>
  748. <mapper>
  749. <type>perm</type>
  750. <prefix>/usr/sbin</prefix>
  751. <user>root</user>
  752. <group>root</group>
  753. <filemode>755</filemode>
  754. </mapper>
  755. </data>
  756. <data>
  757. <src>../ambari-common/src/main/unix/ambari-python-wrap</src>
  758. <type>file</type>
  759. <mapper>
  760. <type>perm</type>
  761. <prefix>/var/lib/ambari-server</prefix>
  762. <user>root</user>
  763. <group>root</group>
  764. <filemode>755</filemode>
  765. </mapper>
  766. </data>
  767. <data>
  768. <src>${basedir}/target/ambari-server</src>
  769. <type>file</type>
  770. <mapper>
  771. <type>perm</type>
  772. <prefix>/usr/sbin</prefix>
  773. <user>root</user>
  774. <group>root</group>
  775. <filemode>755</filemode>
  776. </mapper>
  777. </data>
  778. <data>
  779. <src>conf/unix/ambari.properties</src>
  780. <type>file</type>
  781. <mapper>
  782. <type>perm</type>
  783. <prefix>/etc/ambari-server/conf</prefix>
  784. </mapper>
  785. </data>
  786. <data>
  787. <src>conf/unix/log4j.properties</src>
  788. <type>file</type>
  789. <mapper>
  790. <type>perm</type>
  791. <prefix>/etc/ambari-server/conf</prefix>
  792. </mapper>
  793. </data>
  794. <data>
  795. <src>conf/unix/krb5JAASLogin.conf</src>
  796. <type>file</type>
  797. <mapper>
  798. <type>perm</type>
  799. <prefix>/etc/ambari-server/conf</prefix>
  800. </mapper>
  801. </data>
  802. <!-- /q001 -->
  803. <data>
  804. <src>conf/unix/ambari-env.sh</src>
  805. <type>file</type>
  806. <mapper>
  807. <type>perm</type>
  808. <prefix>/var/lib/ambari-server/</prefix>
  809. <user>root</user>
  810. <group>root</group>
  811. <filemode>700</filemode>
  812. </mapper>
  813. </data>
  814. <data>
  815. <src>conf/unix/ambari-sudo.sh</src>
  816. <type>file</type>
  817. <mapper>
  818. <type>perm</type>
  819. <prefix>/var/lib/ambari-server/</prefix>
  820. <user>root</user>
  821. <group>root</group>
  822. <filemode>700</filemode>
  823. </mapper>
  824. </data>
  825. <data>
  826. <src>conf/unix/install-helper.sh</src>
  827. <type>file</type>
  828. <mapper>
  829. <type>perm</type>
  830. <prefix>/var/lib/ambari-server/</prefix>
  831. <user>root</user>
  832. <group>root</group>
  833. <filemode>700</filemode>
  834. </mapper>
  835. </data>
  836. <data>
  837. <src>src/main/resources/slider_resources/README.txt</src>
  838. <type>file</type>
  839. <mapper>
  840. <type>perm</type>
  841. <prefix>/var/lib/ambari-server/resources/apps/</prefix>
  842. <user>root</user>
  843. <group>root</group>
  844. <filemode>755</filemode>
  845. </mapper>
  846. </data>
  847. <data>
  848. <src>conf/unix/ca.config</src>
  849. <type>file</type>
  850. <mapper>
  851. <type>perm</type>
  852. <prefix>/var/lib/ambari-server/keys</prefix>
  853. </mapper>
  854. </data>
  855. <data>
  856. <src>src/main/resources/db</src>
  857. <type>directory</type>
  858. <mapper>
  859. <type>perm</type>
  860. <prefix>/var/lib/ambari-server/keys/db</prefix>
  861. <user>root</user>
  862. <group>root</group>
  863. <filemode>700</filemode>
  864. </mapper>
  865. </data>
  866. <data>
  867. <src>target/classes/Ambari-DDL-Postgres-CREATE.sql</src>
  868. <type>file</type>
  869. <mapper>
  870. <type>perm</type>
  871. <prefix>/var/lib/ambari-server/resources</prefix>
  872. </mapper>
  873. </data>
  874. <data>
  875. <src>src/main/resources/Ambari-DDL-Postgres-DROP.sql</src>
  876. <type>file</type>
  877. <mapper>
  878. <type>perm</type>
  879. <prefix>/var/lib/ambari-server/resources</prefix>
  880. </mapper>
  881. </data>
  882. <data>
  883. <src>target/classes/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql</src>
  884. <type>file</type>
  885. <mapper>
  886. <type>perm</type>
  887. <prefix>/var/lib/ambari-server/resources</prefix>
  888. </mapper>
  889. </data>
  890. <data>
  891. <src>src/main/resources/Ambari-DDL-Postgres-EMBEDDED-DROP.sql</src>
  892. <type>file</type>
  893. <mapper>
  894. <type>perm</type>
  895. <prefix>/var/lib/ambari-server/resources</prefix>
  896. </mapper>
  897. </data>
  898. <data>
  899. <src>target/classes/Ambari-DDL-Oracle-CREATE.sql</src>
  900. <type>file</type>
  901. <mapper>
  902. <type>perm</type>
  903. <prefix>/var/lib/ambari-server/resources</prefix>
  904. </mapper>
  905. </data>
  906. <data>
  907. <src>target/classes/Ambari-DDL-MySQL-CREATE.sql</src>
  908. <type>file</type>
  909. <mapper>
  910. <type>perm</type>
  911. <prefix>/var/lib/ambari-server/resources</prefix>
  912. </mapper>
  913. </data>
  914. <data>
  915. <src>src/main/resources/Ambari-DDL-Oracle-DROP.sql</src>
  916. <type>file</type>
  917. <mapper>
  918. <type>perm</type>
  919. <prefix>/var/lib/ambari-server/resources</prefix>
  920. </mapper>
  921. </data>
  922. <data>
  923. <src>src/main/resources/Ambari-DDL-MySQL-DROP.sql</src>
  924. <type>file</type>
  925. <mapper>
  926. <type>perm</type>
  927. <prefix>/var/lib/ambari-server/resources</prefix>
  928. </mapper>
  929. </data>
  930. <data>
  931. <src>target/classes/Ambari-DDL-SQLServer-CREATE.sql</src>
  932. <type>file</type>
  933. <mapper>
  934. <type>perm</type>
  935. <prefix>/var/lib/ambari-server/resources</prefix>
  936. </mapper>
  937. </data>
  938. <data>
  939. <src>target/classes/Ambari-DDL-SQLServer-CREATELOCAL.sql</src>
  940. <type>file</type>
  941. <mapper>
  942. <type>perm</type>
  943. <prefix>/var/lib/ambari-server/resources</prefix>
  944. </mapper>
  945. </data>
  946. <data>
  947. <src>src/main/resources/Ambari-DDL-SQLServer-DROP.sql</src>
  948. <type>file</type>
  949. <mapper>
  950. <type>perm</type>
  951. <prefix>/var/lib/ambari-server/resources</prefix>
  952. </mapper>
  953. </data>
  954. <data>
  955. <src>${project.build.directory}/DBConnectionVerification.jar</src>
  956. <type>file</type>
  957. <mapper>
  958. <type>perm</type>
  959. <prefix>/var/lib/ambari-server/resources</prefix>
  960. </mapper>
  961. </data>
  962. <data>
  963. <src>src/main/resources/role_command_order.json</src>
  964. <type>file</type>
  965. <mapper>
  966. <type>perm</type>
  967. <prefix>/var/lib/ambari-server/resources</prefix>
  968. </mapper>
  969. </data>
  970. <data>
  971. <src>src/main/resources/scripts</src>
  972. <type>directory</type>
  973. <mapper>
  974. <type>perm</type>
  975. <prefix>/var/lib/ambari-server/resources/scripts</prefix>
  976. <filemode>755</filemode>
  977. </mapper>
  978. </data>
  979. <data>
  980. <src>${ambari-admin-dir}/target</src>
  981. <type>directory</type>
  982. <includes>*.jar</includes>
  983. <mapper>
  984. <type>perm</type>
  985. <prefix>/var/lib/ambari-server/resources/views</prefix>
  986. </mapper>
  987. </data>
  988. <data>
  989. <src>src/main/python/upgradeHelper.py</src>
  990. <type>file</type>
  991. <mapper>
  992. <type>perm</type>
  993. <prefix>/var/lib/ambari-server/resources/scripts</prefix>
  994. <filemode>755</filemode>
  995. </mapper>
  996. </data>
  997. <data>
  998. <src>src/main/resources/upgrade/ddl</src>
  999. <type>directory</type>
  1000. <mapper>
  1001. <type>perm</type>
  1002. <prefix>/var/lib/ambari-server/resources/upgrade/ddl</prefix>
  1003. </mapper>
  1004. </data>
  1005. <data>
  1006. <src>src/main/resources/upgrade/dml</src>
  1007. <type>directory</type>
  1008. <mapper>
  1009. <type>perm</type>
  1010. <prefix>/var/lib/ambari-server/resources/upgrade/dml</prefix>
  1011. </mapper>
  1012. </data>
  1013. <data>
  1014. <src>${commonServicesSrcLocation}</src>
  1015. <type>directory</type>
  1016. <mapper>
  1017. <type>perm</type>
  1018. <prefix>/var/lib/ambari-server/resources/common-services</prefix>
  1019. </mapper>
  1020. </data>
  1021. <data>
  1022. <src>src/main/resources/upgrade/catalog</src>
  1023. <type>directory</type>
  1024. <mapper>
  1025. <type>perm</type>
  1026. <prefix>/var/lib/ambari-server/resources/upgrade/catalog</prefix>
  1027. </mapper>
  1028. </data>
  1029. <data>
  1030. <src>${stacksSrcLocation}</src>
  1031. <type>directory</type>
  1032. <mapper>
  1033. <type>perm</type>
  1034. <prefix>/var/lib/ambari-server/resources/stacks/${stack.distribution}</prefix>
  1035. </mapper>
  1036. </data>
  1037. <data>
  1038. <src>target/classes/stacks/stack_advisor.py</src>
  1039. <type>file</type>
  1040. <mapper>
  1041. <type>perm</type>
  1042. <prefix>/var/lib/ambari-server/resources/stacks</prefix>
  1043. <user>root</user>
  1044. <group>root</group>
  1045. <filemode>755</filemode>
  1046. </mapper>
  1047. </data>
  1048. <data>
  1049. <src>src/main/python/ambari_server</src>
  1050. <type>directory</type>
  1051. <mapper>
  1052. <type>perm</type>
  1053. <prefix>/usr/lib/python2.6/site-packages/ambari_server</prefix>
  1054. <user>root</user>
  1055. <group>root</group>
  1056. <filemode>755</filemode>
  1057. </mapper>
  1058. </data>
  1059. <data>
  1060. <src>src/main/python/bootstrap.py</src>
  1061. <type>file</type>
  1062. <mapper>
  1063. <type>perm</type>
  1064. <prefix>/usr/lib/python2.6/site-packages/ambari_server</prefix>
  1065. <user>root</user>
  1066. <group>root</group>
  1067. <filemode>755</filemode>
  1068. </mapper>
  1069. </data>
  1070. <data>
  1071. <src>src/main/python/setupAgent.py</src>
  1072. <type>file</type>
  1073. <mapper>
  1074. <type>perm</type>
  1075. <prefix>/usr/lib/python2.6/site-packages/ambari_server</prefix>
  1076. <user>root</user>
  1077. <group>root</group>
  1078. <filemode>755</filemode>
  1079. </mapper>
  1080. </data>
  1081. <data>
  1082. <src>src/main/python/os_check_type.py</src>
  1083. <type>file</type>
  1084. <mapper>
  1085. <type>perm</type>
  1086. <prefix>/usr/lib/python2.6/site-packages/ambari_server</prefix>
  1087. <user>root</user>
  1088. <group>root</group>
  1089. <filemode>755</filemode>
  1090. </mapper>
  1091. </data>
  1092. <data>
  1093. <src>${basedir}/target/version</src>
  1094. <type>file</type>
  1095. <mapper>
  1096. <type>perm</type>
  1097. <prefix>/var/lib/ambari-server/resources</prefix>
  1098. </mapper>
  1099. </data>
  1100. <data>
  1101. <src>src/main/resources/custom_action_definitions</src>
  1102. <type>directory</type>
  1103. <mapper>
  1104. <type>perm</type>
  1105. <prefix>/var/lib/ambari-server/resources/custom_action_definitions</prefix>
  1106. </mapper>
  1107. </data>
  1108. <data>
  1109. <src>src/main/resources/custom_actions</src>
  1110. <type>directory</type>
  1111. <mapper>
  1112. <type>perm</type>
  1113. <prefix>/var/lib/ambari-server/resources/custom_actions</prefix>
  1114. <user>root</user>
  1115. <group>root</group>
  1116. <filemode>755</filemode>
  1117. </mapper>
  1118. </data>
  1119. <data>
  1120. <src>src/main/resources/host_scripts</src>
  1121. <type>directory</type>
  1122. <mapper>
  1123. <type>perm</type>
  1124. <prefix>/var/lib/ambari-server/resources/host_scripts</prefix>
  1125. <user>root</user>
  1126. <group>root</group>
  1127. <filemode>755</filemode>
  1128. </mapper>
  1129. </data>
  1130. <data>
  1131. <src>
  1132. ${project.basedir}/../ambari-common/src/main/python/ambari_commons
  1133. </src>
  1134. <type>directory</type>
  1135. <mapper>
  1136. <type>perm</type>
  1137. <prefix>${ambari_commons.install.dir}</prefix>
  1138. <filemode>755</filemode>
  1139. <user>root</user>
  1140. <group>root</group>
  1141. </mapper>
  1142. </data>
  1143. <data>
  1144. <src>
  1145. ${resourceManagementSrcLocation}
  1146. </src>
  1147. <type>directory</type>
  1148. <mapper>
  1149. <type>perm</type>
  1150. <prefix>${resource_management.install.dir}</prefix>
  1151. <filemode>755</filemode>
  1152. <user>root</user>
  1153. <group>root</group>
  1154. </mapper>
  1155. </data>
  1156. <data>
  1157. <src>${project.basedir}/../ambari-common/src/main/python/ambari_jinja2/ambari_jinja2</src>
  1158. <excludes>${project.basedir}/../ambari-common/src/main/python/ambari_jinja2/ambari_jinja2/testsuite</excludes>
  1159. <type>directory</type>
  1160. <mapper>
  1161. <type>perm</type>
  1162. <prefix>${jinja.install.dir}</prefix>
  1163. <filemode>755</filemode>
  1164. <user>root</user>
  1165. <group>root</group>
  1166. </mapper>
  1167. </data>
  1168. <data>
  1169. <src>${project.basedir}/../ambari-common/src/main/python/ambari_simplejson</src>
  1170. <type>directory</type>
  1171. <mapper>
  1172. <type>perm</type>
  1173. <prefix>${simplejson.install.dir}</prefix>
  1174. <filemode>755</filemode>
  1175. <user>root</user>
  1176. <group>root</group>
  1177. </mapper>
  1178. </data>
  1179. </dataSet>
  1180. </configuration>
  1181. </plugin>
  1182. <plugin>
  1183. <groupId>org.codehaus.mojo</groupId>
  1184. <artifactId>findbugs-maven-plugin</artifactId>
  1185. <version>2.5.2</version>
  1186. <configuration>
  1187. <failOnError>false</failOnError>
  1188. </configuration>
  1189. <executions>
  1190. <execution>
  1191. <phase>verify</phase>
  1192. <goals>
  1193. <goal>check</goal>
  1194. </goals>
  1195. </execution>
  1196. </executions>
  1197. </plugin>
  1198. <plugin>
  1199. <groupId>org.apache.maven.plugins</groupId>
  1200. <artifactId>maven-surefire-plugin</artifactId>
  1201. <configuration>
  1202. <skip>${skipSurefireTests}</skip>
  1203. </configuration>
  1204. </plugin>
  1205. <plugin>
  1206. <groupId>org.codehaus.mojo</groupId>
  1207. <artifactId>exec-maven-plugin</artifactId>
  1208. <version>1.2.1</version>
  1209. <executions>
  1210. <execution>
  1211. <configuration>
  1212. <executable>${executable.python}</executable>
  1213. <workingDirectory>src/test/python</workingDirectory>
  1214. <arguments>
  1215. <argument>unitTests.py</argument>
  1216. <argument>${custom.tests}</argument>
  1217. </arguments>
  1218. <environmentVariables>
  1219. <PYTHONPATH>${path.python.1}${pathsep}$PYTHONPATH</PYTHONPATH>
  1220. </environmentVariables>
  1221. <skip>${skipPythonTests}</skip>
  1222. </configuration>
  1223. <id>python-test</id>
  1224. <phase>test</phase>
  1225. <goals>
  1226. <goal>exec</goal>
  1227. </goals>
  1228. </execution>
  1229. </executions>
  1230. </plugin>
  1231. <plugin>
  1232. <groupId>com.atlassian.maven.plugins</groupId>
  1233. <artifactId>maven-clover2-plugin</artifactId>
  1234. <version>3.1.11</version>
  1235. <!-- <configuration> <licenseLocation>/path/to/clover.license</licenseLocation>
  1236. </configuration> -->
  1237. </plugin>
  1238. <plugin>
  1239. <groupId>org.codehaus.mojo</groupId>
  1240. <artifactId>buildnumber-maven-plugin</artifactId>
  1241. <version>${buildnumber-maven-plugin-version}</version>
  1242. <configuration>
  1243. <urlScm>scm:git:https://git-wip-us.apache.org/repos/asf/incubator-ambari.git</urlScm>
  1244. </configuration>
  1245. <executions>
  1246. <execution>
  1247. <phase>validate</phase>
  1248. <goals>
  1249. <goal>create</goal>
  1250. </goals>
  1251. </execution>
  1252. </executions>
  1253. </plugin>
  1254. <plugin>
  1255. <groupId>org.apache.maven.plugins</groupId>
  1256. <artifactId>maven-antrun-plugin</artifactId>
  1257. <version>1.7</version>
  1258. <executions>
  1259. <execution>
  1260. <phase>package</phase>
  1261. <configuration>
  1262. <tasks>
  1263. <jar destfile="target/DBConnectionVerification.jar">
  1264. <fileset dir="${basedir}/target/classes/"
  1265. includes="**/DBConnectionVerification.class" />
  1266. <manifest>
  1267. <attribute name="Main-Class"
  1268. value="org.apache.ambari.server.DBConnectionVerification" />
  1269. </manifest>
  1270. </jar>
  1271. </tasks>
  1272. </configuration>
  1273. <goals>
  1274. <goal>run</goal>
  1275. </goals>
  1276. </execution>
  1277. <!-- Copies compiled views into known location for RPM builds -->
  1278. <execution>
  1279. <id>copy-view-jars</id>
  1280. <phase>package</phase>
  1281. <goals>
  1282. <goal>run</goal>
  1283. </goals>
  1284. <configuration>
  1285. <target>
  1286. <copy todir="${ambari-admin-dir}/target" flatten="true">
  1287. <fileset dir="${contrib-views-dir}">
  1288. <include name="*/target/*jar" />
  1289. <exclude name="**/ambari-views-utils*jar" />
  1290. </fileset>
  1291. </copy>
  1292. </target>
  1293. </configuration>
  1294. </execution>
  1295. </executions>
  1296. </plugin>
  1297. </plugins>
  1298. <resources>
  1299. <resource>
  1300. <directory>src/main/resources</directory>
  1301. <filtering>true</filtering>
  1302. <excludes>
  1303. <exclude>stacks/**</exclude>
  1304. <exclude>common-services/**</exclude>
  1305. </excludes>
  1306. </resource>
  1307. <resource>
  1308. <directory>src/main/resources</directory>
  1309. <filtering>false</filtering>
  1310. <includes>
  1311. <include>stacks/**</include>
  1312. <include>common-services/**</include>
  1313. </includes>
  1314. </resource>
  1315. </resources>
  1316. </build>
  1317. <profiles>
  1318. <profile>
  1319. <id>replaceurl</id>
  1320. <build>
  1321. <plugins>
  1322. <plugin>
  1323. <groupId>org.apache.maven.plugins</groupId>
  1324. <artifactId>maven-antrun-plugin</artifactId>
  1325. <version>1.7</version>
  1326. <executions>
  1327. <execution>
  1328. <id>set-hdp-url-classes</id>
  1329. <phase>process-classes</phase>
  1330. <goals>
  1331. <goal>run</goal>
  1332. </goals>
  1333. <configuration>
  1334. <target name="ambari-server-compile">
  1335. <exec dir="${basedir}" executable="bash"
  1336. failonerror="true">
  1337. <arg value="${basedir}/set-hdp-repo-url.sh" />
  1338. <arg value="${hdpUrlForCentos6}" />
  1339. <arg value="${hdpLatestUrl}" />
  1340. </exec>
  1341. </target>
  1342. </configuration>
  1343. </execution>
  1344. <execution>
  1345. <id>set-hdp-url-packages</id>
  1346. <phase>package</phase>
  1347. <goals>
  1348. <goal>run</goal>
  1349. </goals>
  1350. <configuration>
  1351. <target name="ambari-server-compile">
  1352. <exec dir="${basedir}" executable="bash"
  1353. failonerror="true">
  1354. <arg value="${basedir}/set-hdp-repo-url.sh" />
  1355. <arg value="${hdpUrlForCentos6}" />
  1356. <arg value="${hdpLatestUrl}" />
  1357. <arg
  1358. value="${project.build.directory}/ambari-server-${project.version}-dist/ambari-server-${project.version}" />
  1359. </exec>
  1360. </target>
  1361. </configuration>
  1362. </execution>
  1363. </executions>
  1364. </plugin>
  1365. </plugins>
  1366. </build>
  1367. </profile>
  1368. <profile>
  1369. <id>skipTestRun</id>
  1370. <activation>
  1371. <property>
  1372. <name>skipTests</name>
  1373. </property>
  1374. </activation>
  1375. <properties>
  1376. <skipPythonTests>true</skipPythonTests>
  1377. </properties>
  1378. </profile>
  1379. <profile>
  1380. <id>windows</id>
  1381. <activation>
  1382. <os>
  1383. <family>win</family>
  1384. </os>
  1385. </activation>
  1386. <properties>
  1387. <envClassifier>win</envClassifier>
  1388. <dirsep>\</dirsep>
  1389. <pathsep>;</pathsep>
  1390. <executable.python>python</executable.python>
  1391. <executable.shell>cmd</executable.shell>
  1392. <fileextension.shell>cmd</fileextension.shell>
  1393. <fileextension.dot.shell-default>.cmd</fileextension.dot.shell-default>
  1394. <path.python.1>${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\main\resources\custom_actions\scripts;${project.basedir}\src\main\resources\scripts;${project.basedir}\src\test\python</path.python.1>
  1395. <assemblydescriptor>src/main/assemblies/server-windows.xml</assemblydescriptor>
  1396. <assemblybootstrap>src/main/assemblies/bootstrap-windows.xml</assemblybootstrap>
  1397. <assemblychocodescriptor>src/main/assemblies/server-windows-choco.xml</assemblychocodescriptor>
  1398. <packagingFormat>jar</packagingFormat>
  1399. </properties>
  1400. <build>
  1401. <plugins>
  1402. <plugin>
  1403. <artifactId>maven-assembly-plugin</artifactId>
  1404. <configuration>
  1405. <descriptors>
  1406. <descriptor>../ambari-project/src/main/assemblies/empty.xml</descriptor>
  1407. </descriptors>
  1408. </configuration>
  1409. <executions>
  1410. <execution>
  1411. <id>bootstrap-zip</id>
  1412. <phase>prepare-package</phase>
  1413. <goals>
  1414. <goal>single</goal>
  1415. </goals>
  1416. <configuration>
  1417. <attach>false</attach>
  1418. <finalName>bootstrap</finalName>
  1419. <appendAssemblyId>false</appendAssemblyId>
  1420. <tarLongFileMode>gnu</tarLongFileMode>
  1421. <descriptors>
  1422. <descriptor>${assemblybootstrap}</descriptor>
  1423. </descriptors>
  1424. </configuration>
  1425. </execution>
  1426. <execution>
  1427. <id>build-tarball</id>
  1428. <phase>package</phase>
  1429. <goals>
  1430. <goal>single</goal>
  1431. </goals>
  1432. <configuration>
  1433. <attach>false</attach>
  1434. <appendAssemblyId>true</appendAssemblyId>
  1435. <tarLongFileMode>gnu</tarLongFileMode>
  1436. <descriptors>
  1437. <descriptor>${assemblydescriptor}</descriptor>
  1438. </descriptors>
  1439. </configuration>
  1440. </execution>
  1441. <execution>
  1442. <id>build-choco-dir</id>
  1443. <phase>package</phase>
  1444. <goals>
  1445. <goal>single</goal>
  1446. </goals>
  1447. <configuration>
  1448. <attach>false</attach>
  1449. <appendAssemblyId>true</appendAssemblyId>
  1450. <tarLongFileMode>gnu</tarLongFileMode>
  1451. <descriptors>
  1452. <descriptor>${assemblychocodescriptor}</descriptor>
  1453. </descriptors>
  1454. </configuration>
  1455. </execution>
  1456. </executions>
  1457. </plugin>
  1458. <plugin>
  1459. <groupId>org.codehaus.mojo</groupId>
  1460. <artifactId>exec-maven-plugin</artifactId>
  1461. <version>1.2.1</version>
  1462. <executions>
  1463. <execution>
  1464. <id>build-choco-package</id>
  1465. <phase>package</phase>
  1466. <goals>
  1467. <goal>exec</goal>
  1468. </goals>
  1469. <configuration>
  1470. <executable>choco.exe</executable>
  1471. <arguments>
  1472. <argument>pack</argument>
  1473. <argument>--version=${project.version}</argument>
  1474. <argument>${basedir}/target/ambari-server-${project.version}-choco/ambari-server.nuspec</argument>
  1475. </arguments>
  1476. <workingDirectory>target/ambari-server-${project.version}-choco</workingDirectory>
  1477. </configuration>
  1478. </execution>
  1479. </executions>
  1480. </plugin>
  1481. </plugins>
  1482. </build>
  1483. </profile>
  1484. <profile>
  1485. <id>linux</id>
  1486. <activation>
  1487. <os>
  1488. <family>unix</family>
  1489. </os>
  1490. </activation>
  1491. <properties>
  1492. <envClassifier>linux</envClassifier>
  1493. <dirsep>/</dirsep>
  1494. <pathsep>:</pathsep>
  1495. <executable.python>${project.basedir}/../ambari-common/src/main/unix/ambari-python-wrap</executable.python>
  1496. <executable.shell>sh</executable.shell>
  1497. <fileextension.shell>sh</fileextension.shell>
  1498. <fileextension.dot.shell-default></fileextension.dot.shell-default>
  1499. <path.python.1>${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/main/resources/custom_actions:${project.basedir}/src/main/resources/scripts:${project.basedir}/src/test/python</path.python.1>
  1500. <assemblydescriptor>src/main/assemblies/server.xml</assemblydescriptor>
  1501. <packagingFormat>jar</packagingFormat>
  1502. </properties>
  1503. </profile>
  1504. <profile>
  1505. <id>suse11</id>
  1506. <properties>
  1507. <python.xml.package>python-xml</python.xml.package>
  1508. </properties>
  1509. </profile>
  1510. <profile>
  1511. <id>pluggable-stack-definition</id>
  1512. <activation>
  1513. <activeByDefault>false</activeByDefault>
  1514. <property>
  1515. <name>pluggableStackDefinitionConfig</name>
  1516. </property>
  1517. </activation>
  1518. <properties>
  1519. <resourceManagementSrcLocation>target/pluggable-stack-definition/python/resource_management</resourceManagementSrcLocation>
  1520. <commonServicesSrcLocation>target/pluggable-stack-definition/common-services</commonServicesSrcLocation>
  1521. <stacksSrcLocation>target/pluggable-stack-definition/stacks/${stack.distribution}</stacksSrcLocation>
  1522. <resourcesSrcLocation>src/main/resources</resourcesSrcLocation>
  1523. <tarballResourcesFolder>target/pluggable-stack-definition</tarballResourcesFolder>
  1524. <pluggableStackDefinitionScriptLocation>${project.basedir}/../ambari-common/src/main/python/pluggable_stack_definition/GenerateStackDefinition.py</pluggableStackDefinitionScriptLocation>
  1525. <pluggableStackDefinitionConfig>${project.basedir}/../ambari-common/src/main/python/pluggable_stack_definition/configs/${stack.distribution}.json</pluggableStackDefinitionConfig>
  1526. <pluggableStackDefinitionOutput>target/pluggable-stack-definition</pluggableStackDefinitionOutput>
  1527. </properties>
  1528. <build>
  1529. <plugins>
  1530. <plugin>
  1531. <groupId>org.codehaus.mojo</groupId>
  1532. <artifactId>exec-maven-plugin</artifactId>
  1533. <version>1.2.1</version>
  1534. <executions>
  1535. <execution>
  1536. <configuration>
  1537. <executable>${executable.python}</executable>
  1538. <arguments>
  1539. <argument>${pluggableStackDefinitionScriptLocation}</argument>
  1540. <argument>-c</argument>
  1541. <argument>${pluggableStackDefinitionConfig}</argument>
  1542. <argument>-r</argument>
  1543. <argument>${resourcesSrcLocation}</argument>
  1544. <argument>-o</argument>
  1545. <argument>${pluggableStackDefinitionOutput}</argument>
  1546. </arguments>
  1547. </configuration>
  1548. <id>pluggable-stack-definition-generate</id>
  1549. <phase>prepare-package</phase>
  1550. <goals>
  1551. <goal>exec</goal>
  1552. </goals>
  1553. </execution>
  1554. </executions>
  1555. </plugin>
  1556. </plugins>
  1557. </build>
  1558. </profile>
  1559. </profiles>
  1560. <dependencies>
  1561. <dependency>
  1562. <groupId>${pom.groupId}</groupId>
  1563. <artifactId>ambari-views</artifactId>
  1564. <version>${project.version}</version>
  1565. </dependency>
  1566. <dependency>
  1567. <groupId>commons-io</groupId>
  1568. <artifactId>commons-io</artifactId>
  1569. <version>1.4</version>
  1570. </dependency>
  1571. <dependency>
  1572. <groupId>org.apache.commons</groupId>
  1573. <artifactId>commons-csv</artifactId>
  1574. </dependency>
  1575. <dependency>
  1576. <groupId>uk.com.robust-it</groupId>
  1577. <artifactId>cloning</artifactId>
  1578. <version>1.9.2</version>
  1579. </dependency>
  1580. <dependency>
  1581. <groupId>com.google.inject.extensions</groupId>
  1582. <artifactId>guice-assistedinject</artifactId>
  1583. </dependency>
  1584. <dependency>
  1585. <groupId>com.google.inject.extensions</groupId>
  1586. <artifactId>guice-persist</artifactId>
  1587. </dependency>
  1588. <dependency>
  1589. <groupId>com.google.inject.extensions</groupId>
  1590. <artifactId>guice-servlet</artifactId>
  1591. </dependency>
  1592. <dependency>
  1593. <groupId>com.google.inject.extensions</groupId>
  1594. <artifactId>guice-multibindings</artifactId>
  1595. <version>3.0</version>
  1596. </dependency>
  1597. <dependency>
  1598. <groupId>org.apache.derby</groupId>
  1599. <artifactId>derby</artifactId>
  1600. </dependency>
  1601. <dependency>
  1602. <groupId>org.apache.derby</groupId>
  1603. <artifactId>derbytools</artifactId>
  1604. <version>10.11.1.1</version>
  1605. <scope>test</scope>
  1606. </dependency>
  1607. <dependency>
  1608. <groupId>org.springframework.security</groupId>
  1609. <artifactId>spring-security-core</artifactId>
  1610. </dependency>
  1611. <dependency>
  1612. <groupId>org.springframework.security</groupId>
  1613. <artifactId>spring-security-config</artifactId>
  1614. </dependency>
  1615. <dependency>
  1616. <groupId>org.springframework.security</groupId>
  1617. <artifactId>spring-security-web</artifactId>
  1618. </dependency>
  1619. <dependency>
  1620. <groupId>org.springframework</groupId>
  1621. <artifactId>spring-mock</artifactId>
  1622. <scope>test</scope>
  1623. </dependency>
  1624. <dependency>
  1625. <groupId>org.springframework.security</groupId>
  1626. <artifactId>spring-security-ldap</artifactId>
  1627. </dependency>
  1628. <dependency>
  1629. <groupId>org.springframework.ldap</groupId>
  1630. <artifactId>spring-ldap-core</artifactId>
  1631. </dependency>
  1632. <dependency>
  1633. <groupId>org.apache.directory.server</groupId>
  1634. <artifactId>apacheds-server-annotations</artifactId>
  1635. <scope>test</scope>
  1636. </dependency>
  1637. <dependency>
  1638. <groupId>org.apache.directory.server</groupId>
  1639. <artifactId>apacheds-core-integ</artifactId>
  1640. <scope>test</scope>
  1641. </dependency>
  1642. <dependency>
  1643. <groupId>org.apache.directory.server</groupId>
  1644. <artifactId>apacheds-server-integ</artifactId>
  1645. <scope>test</scope>
  1646. </dependency>
  1647. <dependency>
  1648. <groupId>org.apache.directory.server</groupId>
  1649. <artifactId>apacheds-jdbm</artifactId>
  1650. <scope>test</scope>
  1651. </dependency>
  1652. <dependency>
  1653. <groupId>org.apache.directory.server</groupId>
  1654. <artifactId>apacheds-kerberos-codec</artifactId>
  1655. </dependency>
  1656. <dependency>
  1657. <groupId>org.apache.directory.server</groupId>
  1658. <artifactId>apacheds-core</artifactId>
  1659. <scope>test</scope>
  1660. </dependency>
  1661. <dependency>
  1662. <groupId>org.apache.directory.server</groupId>
  1663. <artifactId>apacheds-protocol-ldap</artifactId>
  1664. <scope>test</scope>
  1665. </dependency>
  1666. <dependency>
  1667. <groupId>org.apache.directory.server</groupId>
  1668. <artifactId>kerberos-client</artifactId>
  1669. </dependency>
  1670. <dependency>
  1671. <groupId>org.apache.directory.shared</groupId>
  1672. <artifactId>shared-ldap</artifactId>
  1673. <scope>test</scope>
  1674. </dependency>
  1675. <dependency>
  1676. <groupId>org.slf4j</groupId>
  1677. <artifactId>slf4j-api</artifactId>
  1678. </dependency>
  1679. <dependency>
  1680. <groupId>org.slf4j</groupId>
  1681. <artifactId>slf4j-log4j12</artifactId>
  1682. </dependency>
  1683. <dependency>
  1684. <groupId>log4j</groupId>
  1685. <artifactId>log4j</artifactId>
  1686. </dependency>
  1687. <dependency>
  1688. <groupId>org.eclipse.persistence</groupId>
  1689. <artifactId>eclipselink</artifactId>
  1690. </dependency>
  1691. <dependency>
  1692. <groupId>org.mockito</groupId>
  1693. <artifactId>mockito-core</artifactId>
  1694. <scope>test</scope>
  1695. </dependency>
  1696. <dependency>
  1697. <groupId>org.eclipse.jetty</groupId>
  1698. <artifactId>jetty-security</artifactId>
  1699. </dependency>
  1700. <dependency>
  1701. <groupId>org.eclipse.jetty</groupId>
  1702. <artifactId>jetty-servlet</artifactId>
  1703. </dependency>
  1704. <dependency>
  1705. <groupId>org.eclipse.jetty</groupId>
  1706. <artifactId>jetty-servlets</artifactId>
  1707. </dependency>
  1708. <dependency>
  1709. <groupId>org.eclipse.jetty</groupId>
  1710. <artifactId>jetty-webapp</artifactId>
  1711. </dependency>
  1712. <!--jsp support for jetty -->
  1713. <dependency>
  1714. <groupId>org.mortbay.jetty</groupId>
  1715. <artifactId>jsp-api-2.1-glassfish</artifactId>
  1716. </dependency>
  1717. <dependency>
  1718. <groupId>org.mortbay.jetty</groupId>
  1719. <artifactId>jsp-2.1-glassfish</artifactId>
  1720. </dependency>
  1721. <dependency>
  1722. <groupId>org.apache.ant</groupId>
  1723. <artifactId>ant</artifactId>
  1724. </dependency>
  1725. <dependency>
  1726. <groupId>org.apache.ant</groupId>
  1727. <artifactId>ant-launcher</artifactId>
  1728. </dependency>
  1729. <dependency>
  1730. <groupId>org.eclipse.jetty</groupId>
  1731. <artifactId>jetty-server</artifactId>
  1732. </dependency>
  1733. <dependency>
  1734. <groupId>commons-logging</groupId>
  1735. <artifactId>commons-logging</artifactId>
  1736. </dependency>
  1737. <dependency>
  1738. <groupId>commons-codec</groupId>
  1739. <artifactId>commons-codec</artifactId>
  1740. </dependency>
  1741. <dependency>
  1742. <groupId>commons-lang</groupId>
  1743. <artifactId>commons-lang</artifactId>
  1744. </dependency>
  1745. <dependency>
  1746. <groupId>commons-httpclient</groupId>
  1747. <artifactId>commons-httpclient</artifactId>
  1748. </dependency>
  1749. <dependency>
  1750. <groupId>commons-net</groupId>
  1751. <artifactId>commons-net</artifactId>
  1752. <version>1.4.1</version>
  1753. </dependency>
  1754. <dependency>
  1755. <groupId>javax.servlet</groupId>
  1756. <artifactId>javax.servlet-api</artifactId>
  1757. </dependency>
  1758. <dependency>
  1759. <groupId>com.sun.jersey</groupId>
  1760. <artifactId>jersey-json</artifactId>
  1761. <exclusions>
  1762. <exclusion>
  1763. <groupId>org.codehaus.jackson</groupId>
  1764. <artifactId>jackson-xc</artifactId>
  1765. </exclusion>
  1766. <exclusion>
  1767. <groupId>org.codehaus.jettison</groupId>
  1768. <artifactId>jettison</artifactId>
  1769. </exclusion>
  1770. <exclusion>
  1771. <groupId>org.codehaus.jackson</groupId>
  1772. <artifactId>jackson-mapper-asl</artifactId>
  1773. </exclusion>
  1774. </exclusions>
  1775. </dependency>
  1776. <dependency>
  1777. <groupId>com.sun.jersey</groupId>
  1778. <artifactId>jersey-server</artifactId>
  1779. </dependency>
  1780. <dependency>
  1781. <groupId>com.sun.jersey</groupId>
  1782. <artifactId>jersey-client</artifactId>
  1783. </dependency>
  1784. <dependency>
  1785. <groupId>com.sun.jersey.contribs</groupId>
  1786. <artifactId>jersey-multipart</artifactId>
  1787. </dependency>
  1788. <dependency>
  1789. <groupId>com.sun.jersey.contribs</groupId>
  1790. <artifactId>jersey-guice</artifactId>
  1791. </dependency>
  1792. <dependency>
  1793. <groupId>org.codehaus.jackson</groupId>
  1794. <artifactId>jackson-mapper-asl</artifactId>
  1795. <version>1.9.2</version>
  1796. </dependency>
  1797. <dependency>
  1798. <groupId>org.codehaus.jackson</groupId>
  1799. <artifactId>jackson-core-asl</artifactId>
  1800. </dependency>
  1801. <dependency>
  1802. <groupId>org.codehaus.jackson</groupId>
  1803. <artifactId>jackson-jaxrs</artifactId>
  1804. </dependency>
  1805. <dependency>
  1806. <groupId>org.codehaus.jackson</groupId>
  1807. <artifactId>jackson-xc</artifactId>
  1808. </dependency>
  1809. <dependency>
  1810. <groupId>com.sun.jersey.jersey-test-framework</groupId>
  1811. <artifactId>jersey-test-framework-core</artifactId>
  1812. <scope>test</scope>
  1813. </dependency>
  1814. <dependency>
  1815. <groupId>com.sun.jersey.jersey-test-framework</groupId>
  1816. <artifactId>jersey-test-framework-grizzly2</artifactId>
  1817. <scope>test</scope>
  1818. </dependency>
  1819. <dependency>
  1820. <groupId>org.codehaus.jettison</groupId>
  1821. <artifactId>jettison</artifactId>
  1822. <scope>test</scope>
  1823. </dependency>
  1824. <dependency>
  1825. <groupId>junit</groupId>
  1826. <artifactId>junit</artifactId>
  1827. <scope>test</scope>
  1828. </dependency>
  1829. <dependency>
  1830. <groupId>org.easymock</groupId>
  1831. <artifactId>easymock</artifactId>
  1832. <version>3.1</version>
  1833. <scope>test</scope>
  1834. </dependency>
  1835. <dependency>
  1836. <groupId>org.powermock</groupId>
  1837. <artifactId>powermock-module-junit4</artifactId>
  1838. <scope>test</scope>
  1839. </dependency>
  1840. <dependency>
  1841. <groupId>org.powermock</groupId>
  1842. <artifactId>powermock-api-easymock</artifactId>
  1843. <scope>test</scope>
  1844. </dependency>
  1845. <dependency>
  1846. <groupId>org.powermock</groupId>
  1847. <artifactId>powermock-core</artifactId>
  1848. <scope>test</scope>
  1849. </dependency>
  1850. <dependency>
  1851. <groupId>org.powermock</groupId>
  1852. <artifactId>powermock-reflect</artifactId>
  1853. <scope>test</scope>
  1854. </dependency>
  1855. <dependency>
  1856. <groupId>org.powermock</groupId>
  1857. <artifactId>powermock-api-mockito</artifactId>
  1858. <scope>test</scope>
  1859. </dependency>
  1860. <dependency>
  1861. <groupId>org.objenesis</groupId>
  1862. <artifactId>objenesis-tck</artifactId>
  1863. <version>1.2</version>
  1864. </dependency>
  1865. <dependency>
  1866. <groupId>cglib</groupId>
  1867. <artifactId>cglib</artifactId>
  1868. <version>2.2.2</version>
  1869. </dependency>
  1870. <dependency>
  1871. <groupId>asm</groupId>
  1872. <artifactId>asm</artifactId>
  1873. <version>3.3.1</version>
  1874. </dependency>
  1875. <dependency>
  1876. <groupId>com.google.inject</groupId>
  1877. <artifactId>guice</artifactId>
  1878. <version>3.0</version>
  1879. </dependency>
  1880. <dependency>
  1881. <groupId>com.google.code.gson</groupId>
  1882. <artifactId>gson</artifactId>
  1883. <version>2.2.2</version>
  1884. </dependency>
  1885. <dependency>
  1886. <groupId>org.postgresql</groupId>
  1887. <artifactId>postgresql</artifactId>
  1888. <version>9.3-1101-jdbc4</version>
  1889. </dependency>
  1890. <dependency>
  1891. <groupId>org.apache.httpcomponents</groupId>
  1892. <artifactId>httpclient</artifactId>
  1893. <version>4.2.5</version>
  1894. </dependency>
  1895. <dependency>
  1896. <groupId>com.google.guava</groupId>
  1897. <artifactId>guava</artifactId>
  1898. <version>14.0.1</version>
  1899. </dependency>
  1900. <dependency>
  1901. <groupId>com.google.code.findbugs</groupId>
  1902. <artifactId>jsr305</artifactId>
  1903. <version>1.3.9</version>
  1904. </dependency>
  1905. <dependency>
  1906. <groupId>org.quartz-scheduler</groupId>
  1907. <artifactId>quartz</artifactId>
  1908. <version>2.2.1</version>
  1909. </dependency>
  1910. <dependency>
  1911. <groupId>org.quartz-scheduler</groupId>
  1912. <artifactId>quartz-jobs</artifactId>
  1913. <version>2.2.1</version>
  1914. </dependency>
  1915. <dependency>
  1916. <groupId>org.apache.velocity</groupId>
  1917. <artifactId>velocity</artifactId>
  1918. <version>1.7</version>
  1919. </dependency>
  1920. <dependency>
  1921. <groupId>com.sun.mail</groupId>
  1922. <artifactId>mailapi</artifactId>
  1923. <version>1.5.2</version>
  1924. </dependency>
  1925. <dependency>
  1926. <groupId>com.sun.mail</groupId>
  1927. <artifactId>smtp</artifactId>
  1928. <version>1.5.2</version>
  1929. </dependency>
  1930. <dependency>
  1931. <groupId>org.snmp4j</groupId>
  1932. <artifactId>snmp4j</artifactId>
  1933. <version>1.10.1</version>
  1934. </dependency>
  1935. <dependency>
  1936. <groupId>org.apache.ambari</groupId>
  1937. <artifactId>ambari-metrics-common</artifactId>
  1938. <version>${project.version}</version>
  1939. </dependency>
  1940. <dependency>
  1941. <groupId>com.fasterxml.jackson.core</groupId>
  1942. <artifactId>jackson-annotations</artifactId>
  1943. <version>2.1.4</version>
  1944. </dependency>
  1945. </dependencies>
  1946. <pluginRepositories>
  1947. <pluginRepository>
  1948. <id>oss.sonatype.org</id>
  1949. <name>OSS Sonatype Staging</name>
  1950. <url>https://oss.sonatype.org/content/groups/staging</url>
  1951. </pluginRepository>
  1952. </pluginRepositories>
  1953. </project>