pom.xml 51 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374
  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. <exclude>src/test/resources/users_with_duplicate_uid.ldif</exclude>
  295. <!--Velocity log -->
  296. <exclude>**/velocity.log*</exclude>
  297. </excludes>
  298. </configuration>
  299. <executions>
  300. <execution>
  301. <phase>test</phase>
  302. <goals>
  303. <goal>check</goal>
  304. </goals>
  305. </execution>
  306. </executions>
  307. </plugin>
  308. <plugin>
  309. <artifactId>eclipselink-staticweave-maven-plugin</artifactId>
  310. <groupId>au.com.alderaan</groupId>
  311. <version>1.0.4</version>
  312. <executions>
  313. <execution>
  314. <goals>
  315. <goal>weave</goal>
  316. </goals>
  317. <phase>process-classes</phase>
  318. <configuration>
  319. <logLevel>ALL</logLevel>
  320. <includeProjectClasspath>true</includeProjectClasspath>
  321. </configuration>
  322. </execution>
  323. </executions>
  324. <dependencies>
  325. <dependency>
  326. <groupId>org.eclipse.persistence</groupId>
  327. <artifactId>eclipselink</artifactId>
  328. <version>2.6.2</version>
  329. </dependency>
  330. </dependencies>
  331. </plugin>
  332. <plugin>
  333. <groupId>org.codehaus.mojo</groupId>
  334. <artifactId>properties-maven-plugin</artifactId>
  335. <executions>
  336. <execution>
  337. <phase>package</phase>
  338. <goals>
  339. <goal>read-project-properties</goal>
  340. </goals>
  341. <configuration>
  342. <files>
  343. <file>${basedir}/src/main/package/dependencies.properties</file>
  344. </files>
  345. </configuration>
  346. </execution>
  347. </executions>
  348. </plugin>
  349. <plugin>
  350. <groupId>org.codehaus.mojo</groupId>
  351. <artifactId>rpm-maven-plugin</artifactId>
  352. <version>2.1.4</version>
  353. <executions>
  354. <execution>
  355. <!-- unbinds rpm creation from maven lifecycle -->
  356. <phase>none</phase>
  357. <goals>
  358. <goal>rpm</goal>
  359. </goals>
  360. </execution>
  361. </executions>
  362. <configuration>
  363. <copyright>2012, Apache Software Foundation</copyright>
  364. <group>Development</group>
  365. <description>Maven Recipe: RPM Package.</description>
  366. <autoRequires>no</autoRequires>
  367. <prefix>/</prefix>
  368. <requires>
  369. <require>${rpm.dependency.list}</require>
  370. </requires>
  371. <postinstallScriptlet>
  372. <scriptFile>src/main/package/rpm/postinstall.sh</scriptFile>
  373. <fileEncoding>utf-8</fileEncoding>
  374. </postinstallScriptlet>
  375. <preinstallScriptlet>
  376. <scriptFile>src/main/package/rpm/preinstall.sh</scriptFile>
  377. <fileEncoding>utf-8</fileEncoding>
  378. </preinstallScriptlet>
  379. <preremoveScriptlet>
  380. <scriptFile>src/main/package/rpm/preremove.sh</scriptFile>
  381. <fileEncoding>utf-8</fileEncoding>
  382. </preremoveScriptlet>
  383. <posttransScriptlet>
  384. <scriptFile>src/main/package/rpm/posttrans_server.sh</scriptFile>
  385. <fileEncoding>utf-8</fileEncoding>
  386. </posttransScriptlet>
  387. <needarch>x86_64</needarch>
  388. <mappings>
  389. <mapping>
  390. <directory>/etc</directory>
  391. <username>root</username>
  392. <groupname>root</groupname>
  393. <directoryIncluded>false</directoryIncluded> <!-- avoid managing /etc/init.d -->
  394. <sources>
  395. <source>
  396. <location>${project.build.directory}${dirsep}${project.artifactId}-${project.version}-dist/etc</location>
  397. </source>
  398. </sources>
  399. </mapping>
  400. <mapping>
  401. <directory>/usr/sbin</directory>
  402. <username>root</username>
  403. <groupname>root</groupname>
  404. <directoryIncluded>false</directoryIncluded> <!-- avoid managing /usr/sbin -->
  405. <sources>
  406. <source>
  407. <location>${project.build.directory}${dirsep}${project.artifactId}-${project.version}-dist/usr/sbin</location>
  408. </source>
  409. </sources>
  410. </mapping>
  411. <mapping>
  412. <directory>/usr/lib/ambari-server</directory>
  413. <username>root</username>
  414. <groupname>root</groupname>
  415. <sources>
  416. <source>
  417. <location>${project.build.directory}${dirsep}${project.artifactId}-${project.version}-dist/usr/lib/ambari-server</location>
  418. </source>
  419. </sources>
  420. </mapping>
  421. <mapping>
  422. <directory>/var/lib/ambari-server</directory>
  423. <username>root</username>
  424. <groupname>root</groupname>
  425. <sources>
  426. <source>
  427. <location>${project.build.directory}${dirsep}${project.artifactId}-${project.version}-dist/var/lib/ambari-server</location>
  428. </source>
  429. </sources>
  430. </mapping>
  431. <mapping>
  432. <directory>/usr/lib/python2.6/site-packages</directory>
  433. <username>root</username>
  434. <groupname>root</groupname>
  435. <sources>
  436. <source>
  437. <location>${project.build.directory}${dirsep}${project.artifactId}-${project.version}-dist/usr/lib/python2.6/site-packages</location>
  438. </source>
  439. </sources>
  440. </mapping>
  441. <mapping>
  442. <directory>/var/log/ambari-server</directory>
  443. <username>root</username>
  444. <groupname>root</groupname>
  445. <sources>
  446. <source>
  447. <location>${project.build.directory}${dirsep}${project.artifactId}-${project.version}-dist/var/log/ambari-server</location>
  448. </source>
  449. </sources>
  450. </mapping>
  451. <mapping>
  452. <directory>/var/run/ambari-server</directory>
  453. <username>root</username>
  454. <groupname>root</groupname>
  455. <sources>
  456. <source>
  457. <location>${project.build.directory}${dirsep}${project.artifactId}-${project.version}-dist/var/run/ambari-server</location>
  458. </source>
  459. </sources>
  460. </mapping>
  461. </mappings>
  462. </configuration>
  463. </plugin>
  464. <plugin>
  465. <groupId>org.vafer</groupId>
  466. <artifactId>jdeb</artifactId>
  467. <version>1.4</version>
  468. <executions>
  469. <execution>
  470. <!-- unbinds rpm creation from maven lifecycle -->
  471. <phase>none</phase>
  472. <goals>
  473. <goal>jdeb</goal>
  474. </goals>
  475. </execution>
  476. </executions>
  477. <configuration>
  478. <controlDir>${basedir}/src/main/package/deb/control</controlDir>
  479. <deb>${basedir}/target/${project.artifactId}_${package-version}-${package-release}-dist.deb</deb>
  480. <skip>false</skip>
  481. <skipPOMs>false</skipPOMs>
  482. <dataSet>
  483. <data>
  484. <src>${project.build.directory}/${project.artifactId}-${project.version}-dist.tar.gz</src>
  485. <type>archive</type>
  486. <mapper>
  487. <type>perm</type>
  488. <user>root</user>
  489. <group>root</group>
  490. </mapper>
  491. </data>
  492. </dataSet>
  493. </configuration>
  494. </plugin>
  495. <plugin>
  496. <groupId>org.codehaus.mojo</groupId>
  497. <artifactId>findbugs-maven-plugin</artifactId>
  498. <version>3.0.3</version>
  499. <configuration>
  500. <failOnError>false</failOnError>
  501. <threshold>Low</threshold>
  502. <findbugsXmlOutputDirectory>${project.basedir}/target/findbugs</findbugsXmlOutputDirectory>
  503. </configuration>
  504. <executions>
  505. <execution>
  506. <phase>verify</phase>
  507. <goals>
  508. <goal>check</goal>
  509. </goals>
  510. </execution>
  511. </executions>
  512. </plugin>
  513. <plugin>
  514. <groupId>org.codehaus.mojo</groupId>
  515. <artifactId>xml-maven-plugin</artifactId>
  516. <version>1.0</version>
  517. <executions>
  518. <execution>
  519. <phase>verify</phase>
  520. <goals>
  521. <goal>transform</goal>
  522. </goals>
  523. </execution>
  524. </executions>
  525. <configuration>
  526. <transformationSets>
  527. <transformationSet>
  528. <dir>${project.basedir}/target/findbugs</dir>
  529. <outputDir>${project.basedir}/target/findbugs</outputDir>
  530. <stylesheet>fancy-hist.xsl</stylesheet>
  531. <fileMappers>
  532. <fileMapper
  533. implementation="org.codehaus.plexus.components.io.filemappers.FileExtensionMapper">
  534. <targetExtension>.html</targetExtension>
  535. </fileMapper>
  536. </fileMappers>
  537. </transformationSet>
  538. </transformationSets>
  539. </configuration>
  540. <dependencies>
  541. <dependency>
  542. <groupId>com.google.code.findbugs</groupId>
  543. <artifactId>findbugs</artifactId>
  544. <version>2.0.0</version>
  545. </dependency>
  546. </dependencies>
  547. </plugin>
  548. <plugin>
  549. <groupId>org.apache.maven.plugins</groupId>
  550. <artifactId>maven-surefire-plugin</artifactId>
  551. <configuration>
  552. <skip>${skipSurefireTests}</skip>
  553. </configuration>
  554. </plugin>
  555. <plugin>
  556. <groupId>org.codehaus.mojo</groupId>
  557. <artifactId>exec-maven-plugin</artifactId>
  558. <version>1.2.1</version>
  559. <executions>
  560. <execution>
  561. <configuration>
  562. <executable>${executable.python}</executable>
  563. <workingDirectory>src/test/python</workingDirectory>
  564. <arguments>
  565. <argument>unitTests.py</argument>
  566. <argument>${custom.tests}</argument>
  567. </arguments>
  568. <environmentVariables>
  569. <PYTHONPATH>${path.python.1}${pathsep}$PYTHONPATH</PYTHONPATH>
  570. </environmentVariables>
  571. <skip>${skipPythonTests}</skip>
  572. </configuration>
  573. <id>python-test</id>
  574. <phase>test</phase>
  575. <goals>
  576. <goal>exec</goal>
  577. </goals>
  578. </execution>
  579. </executions>
  580. </plugin>
  581. <plugin>
  582. <groupId>com.atlassian.maven.plugins</groupId>
  583. <artifactId>maven-clover2-plugin</artifactId>
  584. <version>3.1.11</version>
  585. <!-- <configuration> <licenseLocation>/path/to/clover.license</licenseLocation>
  586. </configuration> -->
  587. </plugin>
  588. <plugin>
  589. <groupId>org.codehaus.mojo</groupId>
  590. <artifactId>buildnumber-maven-plugin</artifactId>
  591. <version>${buildnumber-maven-plugin-version}</version>
  592. <configuration>
  593. <urlScm>scm:git:https://git-wip-us.apache.org/repos/asf/incubator-ambari.git</urlScm>
  594. </configuration>
  595. <executions>
  596. <execution>
  597. <phase>validate</phase>
  598. <goals>
  599. <goal>create</goal>
  600. </goals>
  601. </execution>
  602. </executions>
  603. </plugin>
  604. <plugin>
  605. <groupId>org.eclipse.jetty</groupId>
  606. <artifactId>jetty-maven-plugin</artifactId>
  607. <version>${jetty.version}</version>
  608. </plugin>
  609. </plugins>
  610. <resources>
  611. <resource>
  612. <directory>src/main/resources</directory>
  613. <filtering>true</filtering>
  614. <excludes>
  615. <exclude>stacks/**</exclude>
  616. <exclude>common-services/**</exclude>
  617. </excludes>
  618. </resource>
  619. </resources>
  620. </build>
  621. <profiles>
  622. <profile>
  623. <id>replaceurl</id>
  624. <build>
  625. <plugins>
  626. <plugin>
  627. <groupId>org.apache.maven.plugins</groupId>
  628. <artifactId>maven-antrun-plugin</artifactId>
  629. <version>1.7</version>
  630. <executions>
  631. <execution>
  632. <id>set-hdp-url-classes</id>
  633. <phase>process-classes</phase>
  634. <goals>
  635. <goal>run</goal>
  636. </goals>
  637. <configuration>
  638. <target name="ambari-server-compile">
  639. <exec dir="${basedir}" executable="bash"
  640. failonerror="true">
  641. <arg value="${basedir}/set-hdp-repo-url.sh" />
  642. <arg value="${hdpUrlForCentos6}" />
  643. <arg value="${hdpLatestUrl}" />
  644. </exec>
  645. </target>
  646. </configuration>
  647. </execution>
  648. <execution>
  649. <id>set-hdp-url-packages</id>
  650. <phase>package</phase>
  651. <goals>
  652. <goal>run</goal>
  653. </goals>
  654. <configuration>
  655. <target name="ambari-server-compile">
  656. <exec dir="${basedir}" executable="bash"
  657. failonerror="true">
  658. <arg value="${basedir}/set-hdp-repo-url.sh" />
  659. <arg value="${hdpUrlForCentos6}" />
  660. <arg value="${hdpLatestUrl}" />
  661. <arg
  662. value="${project.build.directory}/ambari-server-${project.version}-dist/ambari-server-${project.version}" />
  663. </exec>
  664. </target>
  665. </configuration>
  666. </execution>
  667. </executions>
  668. </plugin>
  669. </plugins>
  670. </build>
  671. </profile>
  672. <profile>
  673. <id>skipTestRun</id>
  674. <activation>
  675. <property>
  676. <name>skipTests</name>
  677. </property>
  678. </activation>
  679. <properties>
  680. <skipPythonTests>true</skipPythonTests>
  681. </properties>
  682. </profile>
  683. <profile>
  684. <id>windows</id>
  685. <activation>
  686. <os>
  687. <family>win</family>
  688. </os>
  689. </activation>
  690. <properties>
  691. <envClassifier>win</envClassifier>
  692. <dirsep>\</dirsep>
  693. <pathsep>;</pathsep>
  694. <executable.python>python</executable.python>
  695. <executable.shell>cmd</executable.shell>
  696. <fileextension.shell>cmd</fileextension.shell>
  697. <fileextension.dot.shell-default>.cmd</fileextension.dot.shell-default>
  698. <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>
  699. <assemblydescriptor>src/main/assemblies/server-windows.xml</assemblydescriptor>
  700. <assemblybootstrap>src/main/assemblies/bootstrap-windows.xml</assemblybootstrap>
  701. <assemblychocodescriptor>src/main/assemblies/server-windows-choco.xml</assemblychocodescriptor>
  702. <packagingFormat>jar</packagingFormat>
  703. </properties>
  704. <build>
  705. <plugins>
  706. <plugin>
  707. <artifactId>maven-assembly-plugin</artifactId>
  708. <configuration>
  709. <descriptors>
  710. <descriptor>../ambari-project/src/main/assemblies/empty.xml</descriptor>
  711. </descriptors>
  712. </configuration>
  713. <executions>
  714. <execution>
  715. <id>bootstrap-zip</id>
  716. <phase>prepare-package</phase>
  717. <goals>
  718. <goal>single</goal>
  719. </goals>
  720. <configuration>
  721. <attach>false</attach>
  722. <finalName>bootstrap</finalName>
  723. <appendAssemblyId>false</appendAssemblyId>
  724. <tarLongFileMode>gnu</tarLongFileMode>
  725. <descriptors>
  726. <descriptor>${assemblybootstrap}</descriptor>
  727. </descriptors>
  728. </configuration>
  729. </execution>
  730. <execution>
  731. <id>build-tarball</id>
  732. <phase>package</phase>
  733. <goals>
  734. <goal>single</goal>
  735. </goals>
  736. <configuration>
  737. <attach>false</attach>
  738. <appendAssemblyId>true</appendAssemblyId>
  739. <tarLongFileMode>gnu</tarLongFileMode>
  740. <descriptors>
  741. <descriptor>${assemblydescriptor}</descriptor>
  742. </descriptors>
  743. </configuration>
  744. </execution>
  745. <execution>
  746. <id>build-choco-dir</id>
  747. <phase>package</phase>
  748. <goals>
  749. <goal>single</goal>
  750. </goals>
  751. <configuration>
  752. <attach>false</attach>
  753. <appendAssemblyId>true</appendAssemblyId>
  754. <tarLongFileMode>gnu</tarLongFileMode>
  755. <descriptors>
  756. <descriptor>${assemblychocodescriptor}</descriptor>
  757. </descriptors>
  758. </configuration>
  759. </execution>
  760. </executions>
  761. </plugin>
  762. <plugin>
  763. <groupId>org.codehaus.mojo</groupId>
  764. <artifactId>exec-maven-plugin</artifactId>
  765. <version>1.2.1</version>
  766. <executions>
  767. <execution>
  768. <id>build-choco-package</id>
  769. <phase>package</phase>
  770. <goals>
  771. <goal>exec</goal>
  772. </goals>
  773. <configuration>
  774. <executable>choco.exe</executable>
  775. <arguments>
  776. <argument>pack</argument>
  777. <argument>--version=${project.version}</argument>
  778. <argument>${basedir}/target/ambari-server-${project.version}-choco/ambari-server.nuspec</argument>
  779. </arguments>
  780. <workingDirectory>target/ambari-server-${project.version}-choco</workingDirectory>
  781. </configuration>
  782. </execution>
  783. </executions>
  784. </plugin>
  785. </plugins>
  786. </build>
  787. </profile>
  788. <profile>
  789. <id>linux</id>
  790. <activation>
  791. <os>
  792. <family>unix</family>
  793. </os>
  794. </activation>
  795. <properties>
  796. <envClassifier>linux</envClassifier>
  797. <dirsep>/</dirsep>
  798. <pathsep>:</pathsep>
  799. <executable.python>${project.basedir}/../ambari-common/src/main/unix/ambari-python-wrap</executable.python>
  800. <executable.shell>sh</executable.shell>
  801. <fileextension.shell>sh</fileextension.shell>
  802. <fileextension.dot.shell-default></fileextension.dot.shell-default>
  803. <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>
  804. <assemblydescriptor>src/main/assemblies/server.xml</assemblydescriptor>
  805. <packagingFormat>jar</packagingFormat>
  806. </properties>
  807. </profile>
  808. <profile>
  809. <id>suse11</id>
  810. <properties>
  811. <rpm.dependency.list>${rpm.dependency.list.suse}</rpm.dependency.list>
  812. </properties>
  813. </profile>
  814. <profile>
  815. <id>pluggable-stack-definition</id>
  816. <activation>
  817. <activeByDefault>false</activeByDefault>
  818. <property>
  819. <name>pluggableStackDefinitionConfig</name>
  820. </property>
  821. </activation>
  822. <properties>
  823. <customActionsRoot>target/pluggable-stack-definition/custom_actions</customActionsRoot>
  824. <ambariProperties>target/pluggable-stack-definition/conf/unix/ambari.properties</ambariProperties>
  825. <resourceManagementSrcLocation>target/pluggable-stack-definition/python/resource_management</resourceManagementSrcLocation>
  826. <commonServicesSrcLocation>target/pluggable-stack-definition/common-services</commonServicesSrcLocation>
  827. <stacksSrcLocation>target/pluggable-stack-definition/stacks/${stack.distribution}</stacksSrcLocation>
  828. <resourcesSrcLocation>src/main/resources</resourcesSrcLocation>
  829. <tarballResourcesFolder>target/pluggable-stack-definition</tarballResourcesFolder>
  830. <pluggableStackDefinitionScriptLocation>${project.basedir}/../ambari-common/src/main/python/pluggable_stack_definition/GenerateStackDefinition.py</pluggableStackDefinitionScriptLocation>
  831. <pluggableStackDefinitionConfig>${project.basedir}/../ambari-common/src/main/python/pluggable_stack_definition/configs/${stack.distribution}.json</pluggableStackDefinitionConfig>
  832. <pluggableStackDefinitionOutput>target/pluggable-stack-definition</pluggableStackDefinitionOutput>
  833. </properties>
  834. <build>
  835. <plugins>
  836. <plugin>
  837. <groupId>org.codehaus.mojo</groupId>
  838. <artifactId>exec-maven-plugin</artifactId>
  839. <version>1.2.1</version>
  840. <executions>
  841. <execution>
  842. <configuration>
  843. <executable>${executable.python}</executable>
  844. <arguments>
  845. <argument>${pluggableStackDefinitionScriptLocation}</argument>
  846. <argument>-c</argument>
  847. <argument>${pluggableStackDefinitionConfig}</argument>
  848. <argument>-r</argument>
  849. <argument>${resourcesSrcLocation}</argument>
  850. <argument>-o</argument>
  851. <argument>${pluggableStackDefinitionOutput}</argument>
  852. </arguments>
  853. </configuration>
  854. <id>pluggable-stack-definition-generate</id>
  855. <phase>prepare-package</phase>
  856. <goals>
  857. <goal>exec</goal>
  858. </goals>
  859. </execution>
  860. </executions>
  861. </plugin>
  862. </plugins>
  863. </build>
  864. </profile>
  865. <profile>
  866. <id>replaceBaseUrl</id>
  867. <activation>
  868. <activeByDefault>false</activeByDefault>
  869. <property>
  870. <name>urlInfoPath</name>
  871. </property>
  872. </activation>
  873. <properties>
  874. <urlinfo_processor_script_location>${project.basedir}/../ambari-common/src/main/python/urlinfo_processor/urlinfo_processor.py</urlinfo_processor_script_location>
  875. </properties>
  876. <build>
  877. <plugins>
  878. <plugin>
  879. <groupId>org.codehaus.mojo</groupId>
  880. <artifactId>exec-maven-plugin</artifactId>
  881. <version>1.2.1</version>
  882. <executions>
  883. <execution>
  884. <configuration>
  885. <executable>${executable.python}</executable>
  886. <arguments>
  887. <argument>${urlinfo_processor_script_location}</argument>
  888. <argument>-u</argument>
  889. <argument>${urlInfoPath}</argument>
  890. <argument>-s</argument>
  891. <argument>${stacksSrcLocation}</argument>
  892. </arguments>
  893. </configuration>
  894. <id>replace-base-url</id>
  895. <phase>prepare-package</phase>
  896. <goals>
  897. <goal>exec</goal>
  898. </goals>
  899. </execution>
  900. </executions>
  901. </plugin>
  902. </plugins>
  903. </build>
  904. </profile>
  905. </profiles>
  906. <dependencies>
  907. <dependency>
  908. <groupId>${project.groupId}</groupId>
  909. <artifactId>ambari-views</artifactId>
  910. <version>${project.version}</version>
  911. </dependency>
  912. <dependency>
  913. <groupId>commons-io</groupId>
  914. <artifactId>commons-io</artifactId>
  915. <version>1.4</version>
  916. </dependency>
  917. <dependency>
  918. <groupId>org.apache.commons</groupId>
  919. <artifactId>commons-csv</artifactId>
  920. </dependency>
  921. <dependency>
  922. <groupId>uk.com.robust-it</groupId>
  923. <artifactId>cloning</artifactId>
  924. <version>1.9.2</version>
  925. </dependency>
  926. <dependency>
  927. <groupId>com.google.inject.extensions</groupId>
  928. <artifactId>guice-assistedinject</artifactId>
  929. </dependency>
  930. <dependency>
  931. <groupId>com.google.inject.extensions</groupId>
  932. <artifactId>guice-persist</artifactId>
  933. </dependency>
  934. <dependency>
  935. <groupId>com.google.inject.extensions</groupId>
  936. <artifactId>guice-servlet</artifactId>
  937. </dependency>
  938. <dependency>
  939. <groupId>com.google.inject.extensions</groupId>
  940. <artifactId>guice-multibindings</artifactId>
  941. <version>3.0</version>
  942. </dependency>
  943. <dependency>
  944. <groupId>org.apache.derby</groupId>
  945. <artifactId>derby</artifactId>
  946. </dependency>
  947. <dependency>
  948. <groupId>org.apache.derby</groupId>
  949. <artifactId>derbytools</artifactId>
  950. <version>10.11.1.1</version>
  951. <scope>test</scope>
  952. </dependency>
  953. <dependency>
  954. <groupId>org.springframework.security</groupId>
  955. <artifactId>spring-security-core</artifactId>
  956. </dependency>
  957. <dependency>
  958. <groupId>org.springframework.security</groupId>
  959. <artifactId>spring-security-config</artifactId>
  960. </dependency>
  961. <dependency>
  962. <groupId>org.springframework.security</groupId>
  963. <artifactId>spring-security-web</artifactId>
  964. </dependency>
  965. <dependency>
  966. <groupId>org.springframework</groupId>
  967. <artifactId>spring-mock</artifactId>
  968. <scope>test</scope>
  969. </dependency>
  970. <dependency>
  971. <groupId>org.springframework.security</groupId>
  972. <artifactId>spring-security-ldap</artifactId>
  973. </dependency>
  974. <dependency>
  975. <groupId>org.springframework.ldap</groupId>
  976. <artifactId>spring-ldap-core</artifactId>
  977. </dependency>
  978. <dependency>
  979. <groupId>org.apache.directory.server</groupId>
  980. <artifactId>apacheds-server-annotations</artifactId>
  981. <scope>test</scope>
  982. <exclusions>
  983. <exclusion>
  984. <groupId>net.sf.ehcache</groupId>
  985. <artifactId>ehcache-core</artifactId>
  986. </exclusion>
  987. </exclusions>
  988. </dependency>
  989. <dependency>
  990. <groupId>org.apache.directory.server</groupId>
  991. <artifactId>apacheds-core-integ</artifactId>
  992. <scope>test</scope>
  993. <exclusions>
  994. <exclusion>
  995. <groupId>net.sf.ehcache</groupId>
  996. <artifactId>ehcache-core</artifactId>
  997. </exclusion>
  998. </exclusions>
  999. </dependency>
  1000. <dependency>
  1001. <groupId>org.apache.directory.server</groupId>
  1002. <artifactId>apacheds-server-integ</artifactId>
  1003. <scope>test</scope>
  1004. </dependency>
  1005. <dependency>
  1006. <groupId>org.apache.directory.server</groupId>
  1007. <artifactId>apacheds-jdbm</artifactId>
  1008. <scope>test</scope>
  1009. </dependency>
  1010. <dependency>
  1011. <groupId>org.apache.directory.server</groupId>
  1012. <artifactId>apacheds-kerberos-codec</artifactId>
  1013. <exclusions>
  1014. <exclusion>
  1015. <groupId>net.sf.ehcache</groupId>
  1016. <artifactId>ehcache-core</artifactId>
  1017. </exclusion>
  1018. </exclusions>
  1019. </dependency>
  1020. <dependency>
  1021. <groupId>org.apache.directory.server</groupId>
  1022. <artifactId>apacheds-core</artifactId>
  1023. <scope>test</scope>
  1024. <exclusions>
  1025. <exclusion>
  1026. <groupId>net.sf.ehcache</groupId>
  1027. <artifactId>ehcache-core</artifactId>
  1028. </exclusion>
  1029. </exclusions>
  1030. </dependency>
  1031. <dependency>
  1032. <groupId>org.apache.directory.server</groupId>
  1033. <artifactId>apacheds-protocol-ldap</artifactId>
  1034. <scope>test</scope>
  1035. </dependency>
  1036. <dependency>
  1037. <groupId>org.apache.directory.server</groupId>
  1038. <artifactId>kerberos-client</artifactId>
  1039. </dependency>
  1040. <dependency>
  1041. <groupId>org.apache.directory.shared</groupId>
  1042. <artifactId>shared-ldap</artifactId>
  1043. <scope>test</scope>
  1044. </dependency>
  1045. <dependency>
  1046. <groupId>org.slf4j</groupId>
  1047. <artifactId>slf4j-api</artifactId>
  1048. </dependency>
  1049. <dependency>
  1050. <groupId>org.slf4j</groupId>
  1051. <artifactId>slf4j-log4j12</artifactId>
  1052. </dependency>
  1053. <dependency>
  1054. <groupId>log4j</groupId>
  1055. <artifactId>log4j</artifactId>
  1056. </dependency>
  1057. <dependency>
  1058. <groupId>log4j</groupId>
  1059. <artifactId>apache-log4j-extras</artifactId>
  1060. </dependency>
  1061. <dependency>
  1062. <groupId>org.eclipse.persistence</groupId>
  1063. <artifactId>eclipselink</artifactId>
  1064. </dependency>
  1065. <dependency>
  1066. <groupId>org.mockito</groupId>
  1067. <artifactId>mockito-core</artifactId>
  1068. <scope>test</scope>
  1069. </dependency>
  1070. <dependency>
  1071. <groupId>org.eclipse.jetty</groupId>
  1072. <artifactId>jetty-security</artifactId>
  1073. </dependency>
  1074. <dependency>
  1075. <groupId>org.eclipse.jetty</groupId>
  1076. <artifactId>jetty-servlet</artifactId>
  1077. </dependency>
  1078. <dependency>
  1079. <groupId>org.eclipse.jetty</groupId>
  1080. <artifactId>jetty-servlets</artifactId>
  1081. </dependency>
  1082. <dependency>
  1083. <groupId>org.eclipse.jetty</groupId>
  1084. <artifactId>jetty-webapp</artifactId>
  1085. </dependency>
  1086. <dependency>
  1087. <groupId>org.eclipse.jetty</groupId>
  1088. <artifactId>jetty-jsp</artifactId>
  1089. </dependency>
  1090. <dependency>
  1091. <groupId>org.apache.ant</groupId>
  1092. <artifactId>ant-launcher</artifactId>
  1093. </dependency>
  1094. <dependency>
  1095. <groupId>org.eclipse.jetty</groupId>
  1096. <artifactId>jetty-server</artifactId>
  1097. </dependency>
  1098. <dependency>
  1099. <groupId>commons-logging</groupId>
  1100. <artifactId>commons-logging</artifactId>
  1101. </dependency>
  1102. <dependency>
  1103. <groupId>commons-codec</groupId>
  1104. <artifactId>commons-codec</artifactId>
  1105. </dependency>
  1106. <dependency>
  1107. <groupId>commons-lang</groupId>
  1108. <artifactId>commons-lang</artifactId>
  1109. </dependency>
  1110. <dependency>
  1111. <groupId>commons-httpclient</groupId>
  1112. <artifactId>commons-httpclient</artifactId>
  1113. </dependency>
  1114. <dependency>
  1115. <groupId>commons-net</groupId>
  1116. <artifactId>commons-net</artifactId>
  1117. <version>1.4.1</version>
  1118. </dependency>
  1119. <dependency>
  1120. <groupId>javax.servlet</groupId>
  1121. <artifactId>javax.servlet-api</artifactId>
  1122. </dependency>
  1123. <dependency>
  1124. <groupId>com.sun.jersey</groupId>
  1125. <artifactId>jersey-json</artifactId>
  1126. <exclusions>
  1127. <exclusion>
  1128. <groupId>org.codehaus.jackson</groupId>
  1129. <artifactId>jackson-xc</artifactId>
  1130. </exclusion>
  1131. <exclusion>
  1132. <groupId>org.codehaus.jettison</groupId>
  1133. <artifactId>jettison</artifactId>
  1134. </exclusion>
  1135. <exclusion>
  1136. <groupId>org.codehaus.jackson</groupId>
  1137. <artifactId>jackson-mapper-asl</artifactId>
  1138. </exclusion>
  1139. </exclusions>
  1140. </dependency>
  1141. <dependency>
  1142. <groupId>com.sun.jersey</groupId>
  1143. <artifactId>jersey-server</artifactId>
  1144. </dependency>
  1145. <dependency>
  1146. <groupId>com.sun.jersey</groupId>
  1147. <artifactId>jersey-client</artifactId>
  1148. </dependency>
  1149. <dependency>
  1150. <groupId>com.sun.jersey.contribs</groupId>
  1151. <artifactId>jersey-multipart</artifactId>
  1152. </dependency>
  1153. <dependency>
  1154. <groupId>com.sun.jersey.contribs</groupId>
  1155. <artifactId>jersey-guice</artifactId>
  1156. </dependency>
  1157. <dependency>
  1158. <groupId>org.codehaus.jackson</groupId>
  1159. <artifactId>jackson-mapper-asl</artifactId>
  1160. <version>1.9.2</version>
  1161. </dependency>
  1162. <dependency>
  1163. <groupId>org.codehaus.jackson</groupId>
  1164. <artifactId>jackson-core-asl</artifactId>
  1165. </dependency>
  1166. <dependency>
  1167. <groupId>org.codehaus.jackson</groupId>
  1168. <artifactId>jackson-jaxrs</artifactId>
  1169. </dependency>
  1170. <dependency>
  1171. <groupId>org.codehaus.jackson</groupId>
  1172. <artifactId>jackson-xc</artifactId>
  1173. </dependency>
  1174. <dependency>
  1175. <groupId>com.sun.jersey.jersey-test-framework</groupId>
  1176. <artifactId>jersey-test-framework-core</artifactId>
  1177. <scope>test</scope>
  1178. </dependency>
  1179. <dependency>
  1180. <groupId>com.sun.jersey.jersey-test-framework</groupId>
  1181. <artifactId>jersey-test-framework-grizzly2</artifactId>
  1182. <scope>test</scope>
  1183. </dependency>
  1184. <dependency>
  1185. <groupId>org.codehaus.jettison</groupId>
  1186. <artifactId>jettison</artifactId>
  1187. <scope>test</scope>
  1188. </dependency>
  1189. <dependency>
  1190. <groupId>junit</groupId>
  1191. <artifactId>junit</artifactId>
  1192. <scope>test</scope>
  1193. </dependency>
  1194. <dependency>
  1195. <groupId>org.easymock</groupId>
  1196. <artifactId>easymock</artifactId>
  1197. <version>3.4</version>
  1198. <scope>test</scope>
  1199. </dependency>
  1200. <dependency>
  1201. <groupId>org.powermock</groupId>
  1202. <artifactId>powermock-module-junit4</artifactId>
  1203. <scope>test</scope>
  1204. </dependency>
  1205. <dependency>
  1206. <groupId>org.powermock</groupId>
  1207. <artifactId>powermock-api-easymock</artifactId>
  1208. <scope>test</scope>
  1209. </dependency>
  1210. <dependency>
  1211. <groupId>org.powermock</groupId>
  1212. <artifactId>powermock-core</artifactId>
  1213. <scope>test</scope>
  1214. </dependency>
  1215. <dependency>
  1216. <groupId>org.powermock</groupId>
  1217. <artifactId>powermock-reflect</artifactId>
  1218. <scope>test</scope>
  1219. </dependency>
  1220. <dependency>
  1221. <groupId>org.powermock</groupId>
  1222. <artifactId>powermock-api-mockito</artifactId>
  1223. <scope>test</scope>
  1224. </dependency>
  1225. <dependency>
  1226. <groupId>nl.jqno.equalsverifier</groupId>
  1227. <artifactId>equalsverifier</artifactId>
  1228. <version>1.7.4</version>
  1229. <scope>test</scope>
  1230. </dependency>
  1231. <dependency>
  1232. <groupId>org.objenesis</groupId>
  1233. <artifactId>objenesis-tck</artifactId>
  1234. <version>1.2</version>
  1235. </dependency>
  1236. <dependency>
  1237. <groupId>cglib</groupId>
  1238. <artifactId>cglib</artifactId>
  1239. <version>2.2.2</version>
  1240. </dependency>
  1241. <dependency>
  1242. <groupId>asm</groupId>
  1243. <artifactId>asm</artifactId>
  1244. <version>3.3.1</version>
  1245. </dependency>
  1246. <dependency>
  1247. <groupId>com.google.inject</groupId>
  1248. <artifactId>guice</artifactId>
  1249. <version>3.0</version>
  1250. </dependency>
  1251. <dependency>
  1252. <groupId>com.google.code.gson</groupId>
  1253. <artifactId>gson</artifactId>
  1254. <version>2.2.2</version>
  1255. </dependency>
  1256. <dependency>
  1257. <groupId>org.postgresql</groupId>
  1258. <artifactId>postgresql</artifactId>
  1259. <version>9.3-1101-jdbc4</version>
  1260. </dependency>
  1261. <dependency>
  1262. <groupId>org.apache.httpcomponents</groupId>
  1263. <artifactId>httpclient</artifactId>
  1264. <version>4.2.5</version>
  1265. </dependency>
  1266. <dependency>
  1267. <groupId>com.google.code.findbugs</groupId>
  1268. <artifactId>jsr305</artifactId>
  1269. <version>1.3.9</version>
  1270. </dependency>
  1271. <dependency>
  1272. <groupId>org.quartz-scheduler</groupId>
  1273. <artifactId>quartz</artifactId>
  1274. <version>2.2.1</version>
  1275. <exclusions>
  1276. <exclusion>
  1277. <groupId>c3p0</groupId>
  1278. <artifactId>c3p0</artifactId>
  1279. </exclusion>
  1280. </exclusions>
  1281. </dependency>
  1282. <dependency>
  1283. <groupId>org.quartz-scheduler</groupId>
  1284. <artifactId>quartz-jobs</artifactId>
  1285. <version>2.2.1</version>
  1286. </dependency>
  1287. <dependency>
  1288. <groupId>org.apache.velocity</groupId>
  1289. <artifactId>velocity</artifactId>
  1290. <version>1.7</version>
  1291. </dependency>
  1292. <dependency>
  1293. <groupId>com.sun.mail</groupId>
  1294. <artifactId>mailapi</artifactId>
  1295. <version>1.5.2</version>
  1296. </dependency>
  1297. <dependency>
  1298. <groupId>com.sun.mail</groupId>
  1299. <artifactId>smtp</artifactId>
  1300. <version>1.5.2</version>
  1301. </dependency>
  1302. <dependency>
  1303. <groupId>org.snmp4j</groupId>
  1304. <artifactId>snmp4j</artifactId>
  1305. <version>1.10.1</version>
  1306. </dependency>
  1307. <dependency>
  1308. <groupId>org.apache.ambari</groupId>
  1309. <artifactId>ambari-metrics-common</artifactId>
  1310. <version>${project.version}</version>
  1311. </dependency>
  1312. <dependency>
  1313. <groupId>com.fasterxml.jackson.core</groupId>
  1314. <artifactId>jackson-annotations</artifactId>
  1315. <version>2.1.4</version>
  1316. </dependency>
  1317. <dependency>
  1318. <groupId>net.sf.ehcache</groupId>
  1319. <artifactId>ehcache</artifactId>
  1320. <version>2.10.0</version>
  1321. </dependency>
  1322. <dependency>
  1323. <groupId>com.nimbusds</groupId>
  1324. <artifactId>nimbus-jose-jwt</artifactId>
  1325. <version>3.9</version>
  1326. <scope>compile</scope>
  1327. <exclusions>
  1328. <exclusion>
  1329. <groupId>org.bouncycastle</groupId>
  1330. <artifactId>bcprov-jdk15on</artifactId>
  1331. </exclusion>
  1332. </exclusions>
  1333. </dependency>
  1334. <dependency>
  1335. <groupId>org.apache.hadoop</groupId>
  1336. <artifactId>hadoop-auth</artifactId>
  1337. <version>${hadoop.version}</version>
  1338. </dependency>
  1339. <dependency>
  1340. <groupId>org.eclipse.jetty</groupId>
  1341. <artifactId>jetty-util</artifactId>
  1342. <version>${jetty.version}</version>
  1343. </dependency>
  1344. <dependency>
  1345. <groupId>org.eclipse.jetty</groupId>
  1346. <artifactId>jetty-util-ajax</artifactId>
  1347. <version>${jetty.version}</version>
  1348. </dependency>
  1349. <dependency>
  1350. <groupId>commons-cli</groupId>
  1351. <artifactId>commons-cli</artifactId>
  1352. <version>1.3.1</version>
  1353. </dependency>
  1354. <dependency>
  1355. <groupId>com.mchange</groupId>
  1356. <artifactId>c3p0</artifactId>
  1357. <version>[0.9.5.2]</version>
  1358. <scope>compile</scope>
  1359. </dependency>
  1360. </dependencies>
  1361. <pluginRepositories>
  1362. <pluginRepository>
  1363. <id>oss.sonatype.org</id>
  1364. <name>OSS Sonatype Staging</name>
  1365. <url>https://oss.sonatype.org/content/groups/staging</url>
  1366. </pluginRepository>
  1367. </pluginRepositories>
  1368. </project>