pom.xml 74 KB

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