pom.xml 52 KB

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