pom.xml 56 KB

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