pom.xml 54 KB

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