pom.xml 52 KB

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