pom.xml 46 KB

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