pom.xml 54 KB

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