pom.xml 55 KB

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