pom.xml 51 KB

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