pom.xml 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658
  1. <?xml version="1.0"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <!--
  4. Licensed to the Apache Software Foundation (ASF) under one or more
  5. contributor license agreements. See the NOTICE file distributed with
  6. this work for additional information regarding copyright ownership.
  7. The ASF licenses this file to You under the Apache License, Version 2.0
  8. (the "License"); you may not use this file except in compliance with
  9. the License. You may obtain a copy of the License at
  10. http://www.apache.org/licenses/LICENSE-2.0
  11. Unless required by applicable law or agreed to in writing, software
  12. distributed under the License is distributed on an "AS IS" BASIS,
  13. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. See the License for the specific language governing permissions and
  15. limitations under the License.
  16. -->
  17. <parent>
  18. <groupId>org.apache.ambari</groupId>
  19. <artifactId>ambari-project</artifactId>
  20. <version>1.3.0-SNAPSHOT</version>
  21. <relativePath>../ambari-project</relativePath>
  22. </parent>
  23. <modelVersion>4.0.0</modelVersion>
  24. <groupId>org.apache.ambari</groupId>
  25. <artifactId>ambari-agent</artifactId>
  26. <packaging>pom</packaging>
  27. <version>1.3.0-SNAPSHOT</version>
  28. <name>Ambari Agent</name>
  29. <description>Ambari Agent</description>
  30. <properties>
  31. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  32. <final.name>${project.artifactId}-${project.version}</final.name>
  33. <package.release>1</package.release>
  34. <package.prefix>/usr</package.prefix>
  35. <package.log.dir>/var/log/ambari-agent</package.log.dir>
  36. <package.pid.dir>/var/run/ambari-agent</package.pid.dir>
  37. <skipTests>false</skipTests>
  38. <facter.tar>http://downloads.puppetlabs.com/facter/facter-1.6.10.tar.gz</facter.tar>
  39. <puppet.tar>http://downloads.puppetlabs.com/puppet/puppet-2.7.9.tar.gz</puppet.tar>
  40. <agent.install.dir>/usr/lib/python2.6/site-packages/ambari_agent</agent.install.dir>
  41. <resmgmt.install.dir>/usr/lib/python2.6/site-packages/resource_management</resmgmt.install.dir>
  42. <jinja.install.dir>/usr/lib/python2.6/site-packages/jinja2</jinja.install.dir>
  43. <ruby.tar>http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.15/repos/centos6/ruby-1.8.7-p370.tar.gz</ruby.tar>
  44. <lib.dir>/usr/lib/ambari-agent/lib</lib.dir>
  45. <python.ver>python &gt;= 2.6</python.ver>
  46. <deb.python.ver>python (&gt;= 2.6)</deb.python.ver>
  47. <deb.architecture>amd64</deb.architecture>
  48. <deb.dependency.list>openssl, zlibc, ${deb.python.ver}</deb.dependency.list>
  49. <ambari.server.module>../ambari-server</ambari.server.module>
  50. <target.cache.dir>${project.build.directory}/cache/</target.cache.dir>
  51. <resource.keeper.script>${ambari.server.module}/src/main/python/ambari_server/resourceFilesKeeper.py</resource.keeper.script>
  52. </properties>
  53. <profiles>
  54. <profile>
  55. <id>suse11</id>
  56. <properties>
  57. <ruby.tar>http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.15/repos/suse11/ruby-1.8.7-p370.tar.gz</ruby.tar>
  58. </properties>
  59. </profile>
  60. <profile>
  61. <id>centos5</id>
  62. <properties>
  63. <ruby.tar>http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.15/repos/centos5/ruby-1.8.7-p370.tar.gz</ruby.tar>
  64. </properties>
  65. </profile>
  66. </profiles>
  67. <build>
  68. <plugins>
  69. <plugin>
  70. <groupId>org.codehaus.mojo</groupId>
  71. <artifactId>build-helper-maven-plugin</artifactId>
  72. <version>1.8</version>
  73. <executions>
  74. <execution>
  75. <id>parse-version</id>
  76. <phase>validate</phase>
  77. <goals>
  78. <goal>parse-version</goal>
  79. </goals>
  80. </execution>
  81. <execution>
  82. <id>regex-property</id>
  83. <goals>
  84. <goal>regex-property</goal>
  85. </goals>
  86. <configuration>
  87. <name>ambariVersion</name>
  88. <value>${project.version}</value>
  89. <regex>-SNAPSHOT</regex>
  90. <replacement></replacement>
  91. <failIfNoMatch>false</failIfNoMatch>
  92. </configuration>
  93. </execution>
  94. </executions>
  95. </plugin>
  96. <plugin>
  97. <artifactId>maven-compiler-plugin</artifactId>
  98. <version>3.0</version>
  99. </plugin>
  100. <plugin>
  101. <artifactId>maven-assembly-plugin</artifactId>
  102. <configuration>
  103. <tarLongFileMode>gnu</tarLongFileMode>
  104. <descriptors>
  105. <descriptor>src/packages/tarball/all.xml</descriptor>
  106. </descriptors>
  107. </configuration>
  108. <executions>
  109. <execution>
  110. <id>build-tarball</id>
  111. <phase>prepare-package</phase>
  112. <goals>
  113. <goal>single</goal>
  114. </goals>
  115. </execution>
  116. </executions>
  117. </plugin>
  118. <plugin>
  119. <groupId>org.codehaus.mojo</groupId>
  120. <artifactId>exec-maven-plugin</artifactId>
  121. <version>1.2</version>
  122. <executions>
  123. <execution>
  124. <configuration>
  125. <executable>python2.6</executable>
  126. <workingDirectory>src/test/python</workingDirectory>
  127. <arguments>
  128. <argument>unitTests.py</argument>
  129. </arguments>
  130. <environmentVariables>
  131. <PYTHONPATH>${project.basedir}/../ambari-common/src/main/python/jinja2:${project.basedir}/../ambari-common/src/test/python:${project.basedir}/../ambari-common/src/main/python:${project.basedir}/src/main/python/ambari_agent:${project.basedir}/src/main/python/resource_management:${project.basedir}/src/test/python/ambari_agent:${project.basedir}/src/test/python/resource_management:${project.basedir}/src/main/python:${project.basedir}/../ambari-agent/src/main/puppet/modules/hdp-hadoop/files:$PYTHONPATH</PYTHONPATH>
  132. </environmentVariables>
  133. <skip>${skipTests}</skip>
  134. </configuration>
  135. <id>python-test</id>
  136. <phase>test</phase>
  137. <goals>
  138. <goal>exec</goal>
  139. </goals>
  140. </execution>
  141. <execution>
  142. <!-- TODO: Looks like section is unused, maybe remove? -->
  143. <configuration>
  144. <executable>python2.6</executable>
  145. <workingDirectory>target/ambari-agent-${project.version}</workingDirectory>
  146. <arguments>
  147. <argument>${project.basedir}/src/main/python/setup.py</argument>
  148. <argument>clean</argument>
  149. <argument>bdist_dumb</argument>
  150. </arguments>
  151. <environmentVariables>
  152. <PYTHONPATH>target/ambari-agent-${project.version}:$PYTHONPATH</PYTHONPATH>
  153. </environmentVariables>
  154. </configuration>
  155. <id>python-package</id>
  156. <phase>package</phase>
  157. <goals>
  158. <goal>exec</goal>
  159. </goals>
  160. </execution>
  161. <execution>
  162. <configuration>
  163. <executable>python2.6</executable>
  164. <workingDirectory>${basedir}</workingDirectory>
  165. <arguments>
  166. <argument>${resource.keeper.script}</argument>
  167. <argument>${target.cache.dir}</argument>
  168. </arguments>
  169. <environmentVariables>
  170. <PYTHONPATH>target/ambari-agent-${project.version}:$PYTHONPATH</PYTHONPATH>
  171. </environmentVariables>
  172. </configuration>
  173. <id>generate-hash-files</id>
  174. <phase>package</phase>
  175. <goals>
  176. <goal>exec</goal>
  177. </goals>
  178. </execution>
  179. </executions>
  180. </plugin>
  181. <plugin>
  182. <groupId>org.codehaus.mojo</groupId>
  183. <artifactId>rpm-maven-plugin</artifactId>
  184. <version>2.0.1</version>
  185. <executions>
  186. <execution>
  187. <!-- unbinds rpm creation from maven lifecycle -->
  188. <phase>none</phase>
  189. <goals>
  190. <goal>rpm</goal>
  191. </goals>
  192. </execution>
  193. </executions>
  194. <configuration>
  195. <copyright>2012, Apache Software Foundation</copyright>
  196. <group>Development</group>
  197. <description>Maven Recipe: RPM Package.</description>
  198. <requires>
  199. <require>openssl</require>
  200. <require>zlib</require>
  201. <require>${python.ver}</require>
  202. </requires>
  203. <postinstallScriptlet>
  204. <scriptFile>src/main/package/rpm/postinstall.sh</scriptFile>
  205. <fileEncoding>utf-8</fileEncoding>
  206. </postinstallScriptlet>
  207. <preinstallScriptlet>
  208. <scriptFile>src/main/package/rpm/preinstall.sh</scriptFile>
  209. <fileEncoding>utf-8</fileEncoding>
  210. </preinstallScriptlet>
  211. <preremoveScriptlet>
  212. <scriptFile>src/main/package/rpm/preremove.sh</scriptFile>
  213. <fileEncoding>utf-8</fileEncoding>
  214. </preremoveScriptlet>
  215. <needarch>x86_64</needarch>
  216. <autoRequires>false</autoRequires>
  217. <mappings>
  218. <mapping>
  219. <directory>${agent.install.dir}</directory>
  220. <sources>
  221. <source>
  222. <location>${project.build.directory}/${project.artifactId}-${project.version}/ambari_agent</location>
  223. </source>
  224. </sources>
  225. </mapping>
  226. <mapping>
  227. <directory>${resmgmt.install.dir}</directory>
  228. <sources>
  229. <source>
  230. <location>${project.build.directory}/${project.artifactId}-${project.version}/resource_management</location>
  231. </source>
  232. </sources>
  233. </mapping>
  234. <mapping>
  235. <directory>${lib.dir}</directory>
  236. <filemode>755</filemode>
  237. <username>root</username>
  238. <groupname>root</groupname>
  239. <sources>
  240. <source>
  241. <location>${project.build.directory}/lib</location>
  242. </source>
  243. </sources>
  244. </mapping>
  245. <mapping>
  246. <directory>${jinja.install.dir}</directory>
  247. <sources>
  248. <source>
  249. <location>${project.basedir}/../ambari-common/src/main/python/jinja2/jinja2</location>
  250. <excludes>
  251. <exclude>${project.basedir}/../ambari-common/src/main/python/jinja2/jinja2/testsuite</exclude>
  252. </excludes>
  253. </source>
  254. </sources>
  255. </mapping>
  256. <mapping>
  257. <directory>${lib.dir}/examples</directory>
  258. <filemode>755</filemode>
  259. <username>root</username>
  260. <groupname>root</groupname>
  261. <sources>
  262. <source>
  263. <location>src/examples</location>
  264. </source>
  265. </sources>
  266. </mapping>
  267. <mapping>
  268. <directory>/var/lib/${project.artifactId}/puppet</directory>
  269. <filemode>755</filemode>
  270. <username>root</username>
  271. <groupname>root</groupname>
  272. <sources>
  273. <source>
  274. <location>src/main/puppet</location>
  275. </source>
  276. </sources>
  277. </mapping>
  278. <mapping>
  279. <directory>/etc/ambari-agent/conf</directory>
  280. <filemode>755</filemode>
  281. <username>root</username>
  282. <groupname>root</groupname>
  283. <sources>
  284. <source>
  285. <location>conf/unix/ambari-agent.ini</location>
  286. </source>
  287. </sources>
  288. </mapping>
  289. <mapping>
  290. <directory>/usr/sbin</directory>
  291. <filemode>755</filemode>
  292. <username>root</username>
  293. <groupname>root</groupname>
  294. <directoryIncluded>false</directoryIncluded>
  295. <sources>
  296. <source>
  297. <location>conf/unix/ambari-agent</location>
  298. <filter>true</filter>
  299. </source>
  300. </sources>
  301. </mapping>
  302. <mapping>
  303. <directory>/var/lib/ambari-agent</directory>
  304. <filemode>700</filemode>
  305. <username>root</username>
  306. <groupname>root</groupname>
  307. <sources>
  308. <source>
  309. <location>conf/unix/ambari-env.sh</location>
  310. </source>
  311. </sources>
  312. </mapping>
  313. <mapping>
  314. <directory>${package.pid.dir}</directory>
  315. <filemode>755</filemode>
  316. <username>root</username>
  317. <groupname>root</groupname>
  318. </mapping>
  319. <mapping>
  320. <directory>/var/lib/${project.artifactId}/data</directory>
  321. <filemode>755</filemode>
  322. <username>root</username>
  323. <groupname>root</groupname>
  324. </mapping>
  325. <mapping>
  326. <directory>/var/lib/${project.artifactId}/keys</directory>
  327. <filemode>755</filemode>
  328. <username>root</username>
  329. <groupname>root</groupname>
  330. </mapping>
  331. <mapping>
  332. <directory>${package.log.dir}</directory>
  333. <filemode>755</filemode>
  334. <username>root</username>
  335. <groupname>root</groupname>
  336. </mapping>
  337. <mapping>
  338. <directory>/etc/rc.d/init.d</directory>
  339. <filemode>755</filemode>
  340. <username>root</username>
  341. <groupname>root</groupname>
  342. <sources>
  343. <source>
  344. <location>etc/init.d/ambari-agent</location>
  345. </source>
  346. </sources>
  347. </mapping>
  348. <mapping>
  349. <directory>/var/lib/${project.artifactId}/data</directory>
  350. <filemode>755</filemode>
  351. <username>root</username>
  352. <groupname>root</groupname>
  353. <sources>
  354. <source>
  355. <location>../version</location>
  356. <filter>true</filter>
  357. </source>
  358. </sources>
  359. </mapping>
  360. <mapping>
  361. <directory>/var/lib/ambari-agent/cache</directory>
  362. <filemode>755</filemode>
  363. <username>root</username>
  364. <groupname>root</groupname>
  365. <sources>
  366. <source>
  367. <location>${target.cache.dir}</location>
  368. </source>
  369. </sources>
  370. </mapping>
  371. </mappings>
  372. </configuration>
  373. </plugin>
  374. <plugin>
  375. <groupId>org.vafer</groupId>
  376. <artifactId>jdeb</artifactId>
  377. <version>1.0.1</version>
  378. <executions>
  379. <execution>
  380. <phase>none</phase>
  381. <goals>
  382. <goal>jdeb</goal>
  383. </goals>
  384. </execution>
  385. </executions>
  386. <configuration>
  387. <dataSet>
  388. <data>
  389. <src>${project.build.directory}/${project.artifactId}-${project.version}/ambari_agent</src>
  390. <type>directory</type>
  391. <mapper>
  392. <type>perm</type>
  393. <prefix>${agent.install.dir}</prefix>
  394. </mapper>
  395. </data>
  396. <data>
  397. <src>${project.build.directory}/${project.artifactId}-${project.version}/resource_management</src>
  398. <type>directory</type>
  399. <mapper>
  400. <type>perm</type>
  401. <prefix>${resmgmt.install.dir}</prefix>
  402. </mapper>
  403. </data>
  404. <data>
  405. <src>${project.build.directory}/lib</src>
  406. <type>directory</type>
  407. <mapper>
  408. <type>perm</type>
  409. <prefix>${lib.dir}</prefix>
  410. <user>root</user>
  411. <group>root</group>
  412. <filemode>755</filemode>
  413. </mapper>
  414. </data>
  415. <data>
  416. <src>${project.basedir}/../ambari-common/src/main/python/jinja2/jinja2</src>
  417. <excludes>${project.basedir}/../ambari-common/src/main/python/jinja2/jinja2/testsuite</excludes>
  418. <type>directory</type>
  419. <mapper>
  420. <type>perm</type>
  421. <prefix>${jinja.install.dir}</prefix>
  422. </mapper>
  423. </data>
  424. <data>
  425. <src>src/examples</src>
  426. <type>directory</type>
  427. <mapper>
  428. <type>perm</type>
  429. <prefix>${lib.dir}/examples</prefix>
  430. <user>root</user>
  431. <group>root</group>
  432. <filemode>755</filemode>
  433. </mapper>
  434. </data>
  435. <data>
  436. <src>src/main/puppet</src>
  437. <type>directory</type>
  438. <mapper>
  439. <type>perm</type>
  440. <prefix>/var/lib/${project.artifactId}/puppet</prefix>
  441. <user>root</user>
  442. <group>root</group>
  443. <filemode>755</filemode>
  444. </mapper>
  445. </data>
  446. <data>
  447. <src>conf/unix/ambari-agent.ini</src>
  448. <type>file</type>
  449. <mapper>
  450. <type>perm</type>
  451. <prefix>/etc/ambari-agent/conf</prefix>
  452. <user>root</user>
  453. <group>root</group>
  454. <filemode>755</filemode>
  455. </mapper>
  456. </data>
  457. <data>
  458. <src>${basedir}/target/src/ambari-agent</src>
  459. <type>file</type>
  460. <mapper>
  461. <type>perm</type>
  462. <prefix>/usr/sbin</prefix>
  463. <user>root</user>
  464. <group>root</group>
  465. <filemode>755</filemode>
  466. </mapper>
  467. </data>
  468. <data>
  469. <src>conf/unix/ambari-env.sh</src>
  470. <type>file</type>
  471. <mapper>
  472. <type>perm</type>
  473. <prefix>/var/lib/ambari-agent</prefix>
  474. <user>root</user>
  475. <group>root</group>
  476. <filemode>700</filemode>
  477. </mapper>
  478. </data>
  479. <data>
  480. <type>template</type>
  481. <paths>
  482. <path>${package.pid.dir}</path>
  483. <path>/var/lib/${project.artifactId}/data</path>
  484. <path>/var/lib/${project.artifactId}/keys</path>
  485. <path>${package.log.dir}</path>
  486. </paths>
  487. <mapper>
  488. <type>perm</type>
  489. <user>root</user>
  490. <group>root</group>
  491. <filemode>755</filemode>
  492. </mapper>
  493. </data>
  494. <data>
  495. <src>etc/init.d/ambari-agent</src>
  496. <type>file</type>
  497. <mapper>
  498. <type>perm</type>
  499. <prefix>/etc/init.d</prefix>
  500. <user>root</user>
  501. <group>root</group>
  502. <filemode>755</filemode>
  503. </mapper>
  504. </data>
  505. <data>
  506. <src>${basedir}/target/src/version</src>
  507. <type>file</type>
  508. <mapper>
  509. <type>perm</type>
  510. <prefix>/var/lib/${project.artifactId}/data</prefix>
  511. <user>root</user>
  512. <group>root</group>
  513. <filemode>755</filemode>
  514. </mapper>
  515. </data>
  516. <data>
  517. <src>${target.cache.dir}</src>
  518. <type>directory</type>
  519. <mapper>
  520. <type>perm</type>
  521. <prefix>/var/lib/ambari-agent/cache</prefix>
  522. <user>root</user>
  523. <group>root</group>
  524. <filemode>755</filemode>
  525. </mapper>
  526. </data>
  527. </dataSet>
  528. </configuration>
  529. </plugin>
  530. <plugin>
  531. <groupId>com.github.goldin</groupId>
  532. <artifactId>copy-maven-plugin</artifactId>
  533. <version>0.2.5</version>
  534. <executions>
  535. <execution>
  536. <id>create-archive</id>
  537. <phase>package</phase>
  538. <goals>
  539. <goal>copy</goal>
  540. </goals>
  541. <configuration>
  542. <resources>
  543. <resource>
  544. <targetPath>${project.build.directory}/lib</targetPath>
  545. <file>${ruby.tar}</file>
  546. <unpack>true</unpack>
  547. </resource>
  548. <resource>
  549. <targetPath>${project.build.directory}/lib</targetPath>
  550. <file>${facter.tar}</file>
  551. <unpack>true</unpack>
  552. </resource>
  553. <resource>
  554. <targetPath>${project.build.directory}/lib</targetPath>
  555. <file>${puppet.tar}</file>
  556. <unpack>true</unpack>
  557. </resource>
  558. </resources>
  559. </configuration>
  560. </execution>
  561. </executions>
  562. </plugin>
  563. <plugin>
  564. <artifactId>maven-resources-plugin</artifactId>
  565. <version>2.6</version>
  566. <executions>
  567. <execution>
  568. <id>copy-resources</id>
  569. <phase>prepare-package</phase>
  570. <goals>
  571. <goal>copy-resources</goal>
  572. </goals>
  573. <configuration>
  574. <outputDirectory>${target.cache.dir}</outputDirectory>
  575. <resources>
  576. <resource>
  577. <directory>${ambari.server.module}/src/main/resources</directory>
  578. <includes>
  579. <include>stacks/**/*</include>
  580. <include>custom_actions/**/*</include>
  581. </includes>
  582. <filtering>false</filtering>
  583. </resource>
  584. </resources>
  585. </configuration>
  586. </execution>
  587. <execution>
  588. <id>copy-resources-filter</id>
  589. <phase>prepare-package</phase>
  590. <goals>
  591. <goal>copy-resources</goal>
  592. </goals>
  593. <configuration>
  594. <outputDirectory>${basedir}/target/src</outputDirectory>
  595. <resources>
  596. <resource>
  597. <directory>conf/unix</directory>
  598. <includes>
  599. <include>ambari-agent</include>
  600. </includes>
  601. <filtering>true</filtering>
  602. </resource>
  603. <resource>
  604. <directory>..</directory>
  605. <includes>
  606. <include>version</include>
  607. </includes>
  608. <filtering>true</filtering>
  609. </resource>
  610. </resources>
  611. </configuration>
  612. </execution>
  613. </executions>
  614. </plugin>
  615. <plugin>
  616. <groupId>org.apache.rat</groupId>
  617. <artifactId>apache-rat-plugin</artifactId>
  618. <configuration>
  619. <excludes>
  620. <exclude>src/examples/*</exclude>
  621. <exclude>src/test/python/dummy*.txt</exclude>
  622. <exclude>src/test/python/ambari_agent/dummy*.txt</exclude>
  623. <exclude>src/main/python/ambari_agent/imports.txt</exclude>
  624. <exclude>src/main/puppet/modules/stdlib/**</exclude>
  625. <exclude>**/*.erb</exclude>
  626. <exclude>**/*.json</exclude>
  627. </excludes>
  628. </configuration>
  629. </plugin>
  630. <plugin>
  631. <groupId>org.codehaus.mojo</groupId>
  632. <artifactId>buildnumber-maven-plugin</artifactId>
  633. <version>${buildnumber-maven-plugin-version}</version>
  634. <configuration>
  635. <urlScm>scm:git:https://git-wip-us.apache.org/repos/asf/incubator-ambari.git</urlScm>
  636. </configuration>
  637. <executions>
  638. <execution>
  639. <phase>validate</phase>
  640. <goals>
  641. <goal>create</goal>
  642. </goals>
  643. </execution>
  644. </executions>
  645. </plugin>
  646. </plugins>
  647. <extensions>
  648. <extension>
  649. <groupId>org.apache.maven.wagon</groupId>
  650. <artifactId>wagon-ssh-external</artifactId>
  651. </extension>
  652. </extensions>
  653. </build>
  654. </project>