pom.xml 54 KB

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