pom.xml 52 KB

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