pom.xml 51 KB

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