pom.xml 47 KB

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