pom.xml 45 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License. See accompanying LICENSE file.
  12. -->
  13. <project xmlns="http://maven.apache.org/POM/4.0.0"
  14. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  15. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
  16. http://maven.apache.org/xsd/maven-4.0.0.xsd">
  17. <modelVersion>4.0.0</modelVersion>
  18. <parent>
  19. <groupId>org.apache.hadoop</groupId>
  20. <artifactId>hadoop-project-dist</artifactId>
  21. <version>3.2.0-SNAPSHOT</version>
  22. <relativePath>../../hadoop-project-dist</relativePath>
  23. </parent>
  24. <artifactId>hadoop-common</artifactId>
  25. <version>3.2.0-SNAPSHOT</version>
  26. <description>Apache Hadoop Common</description>
  27. <name>Apache Hadoop Common</name>
  28. <packaging>jar</packaging>
  29. <properties>
  30. <kdc.resource.dir>src/test/resources/kdc</kdc.resource.dir>
  31. <hadoop.component>common</hadoop.component>
  32. <is.hadoop.component>true</is.hadoop.component>
  33. <is.hadoop.common.component>true</is.hadoop.common.component>
  34. <wsce.config.dir>../etc/hadoop</wsce.config.dir>
  35. <wsce.config.file>wsce-site.xml</wsce.config.file>
  36. </properties>
  37. <dependencies>
  38. <dependency>
  39. <groupId>org.apache.hadoop</groupId>
  40. <artifactId>hadoop-annotations</artifactId>
  41. <scope>compile</scope>
  42. </dependency>
  43. <dependency>
  44. <groupId>com.google.guava</groupId>
  45. <artifactId>guava</artifactId>
  46. <scope>compile</scope>
  47. </dependency>
  48. <dependency>
  49. <groupId>commons-cli</groupId>
  50. <artifactId>commons-cli</artifactId>
  51. <scope>compile</scope>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.apache.commons</groupId>
  55. <artifactId>commons-math3</artifactId>
  56. <scope>compile</scope>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.apache.httpcomponents</groupId>
  60. <artifactId>httpclient</artifactId>
  61. <scope>compile</scope>
  62. </dependency>
  63. <dependency>
  64. <groupId>commons-codec</groupId>
  65. <artifactId>commons-codec</artifactId>
  66. <scope>compile</scope>
  67. </dependency>
  68. <dependency>
  69. <groupId>commons-io</groupId>
  70. <artifactId>commons-io</artifactId>
  71. <scope>compile</scope>
  72. </dependency>
  73. <dependency>
  74. <groupId>commons-net</groupId>
  75. <artifactId>commons-net</artifactId>
  76. <scope>compile</scope>
  77. </dependency>
  78. <dependency>
  79. <groupId>commons-collections</groupId>
  80. <artifactId>commons-collections</artifactId>
  81. <scope>compile</scope>
  82. </dependency>
  83. <dependency>
  84. <groupId>javax.servlet</groupId>
  85. <artifactId>javax.servlet-api</artifactId>
  86. <scope>compile</scope>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.eclipse.jetty</groupId>
  90. <artifactId>jetty-server</artifactId>
  91. <scope>compile</scope>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.eclipse.jetty</groupId>
  95. <artifactId>jetty-util</artifactId>
  96. <scope>compile</scope>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.eclipse.jetty</groupId>
  100. <artifactId>jetty-servlet</artifactId>
  101. <scope>compile</scope>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.eclipse.jetty</groupId>
  105. <artifactId>jetty-webapp</artifactId>
  106. <scope>compile</scope>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.eclipse.jetty</groupId>
  110. <artifactId>jetty-util-ajax</artifactId>
  111. <scope>test</scope>
  112. </dependency>
  113. <dependency>
  114. <groupId>javax.servlet.jsp</groupId>
  115. <artifactId>jsp-api</artifactId>
  116. <scope>runtime</scope>
  117. </dependency>
  118. <dependency>
  119. <groupId>com.sun.jersey</groupId>
  120. <artifactId>jersey-core</artifactId>
  121. <scope>compile</scope>
  122. </dependency>
  123. <dependency>
  124. <groupId>com.sun.jersey</groupId>
  125. <artifactId>jersey-servlet</artifactId>
  126. <scope>compile</scope>
  127. </dependency>
  128. <dependency>
  129. <!-- Used, even though 'mvn dependency:analyze' doesn't find it -->
  130. <groupId>com.sun.jersey</groupId>
  131. <artifactId>jersey-json</artifactId>
  132. <scope>compile</scope>
  133. </dependency>
  134. <dependency>
  135. <groupId>com.sun.jersey</groupId>
  136. <artifactId>jersey-server</artifactId>
  137. <scope>compile</scope>
  138. </dependency>
  139. <dependency>
  140. <groupId>commons-logging</groupId>
  141. <artifactId>commons-logging</artifactId>
  142. <scope>compile</scope>
  143. </dependency>
  144. <dependency>
  145. <groupId>log4j</groupId>
  146. <artifactId>log4j</artifactId>
  147. <scope>compile</scope>
  148. </dependency>
  149. <dependency>
  150. <groupId>junit</groupId>
  151. <artifactId>junit</artifactId>
  152. <scope>test</scope>
  153. </dependency>
  154. <dependency>
  155. <groupId>commons-lang</groupId>
  156. <artifactId>commons-lang</artifactId>
  157. <scope>compile</scope>
  158. </dependency>
  159. <dependency>
  160. <groupId>commons-beanutils</groupId>
  161. <artifactId>commons-beanutils</artifactId>
  162. <scope>compile</scope>
  163. </dependency>
  164. <dependency>
  165. <groupId>org.apache.commons</groupId>
  166. <artifactId>commons-configuration2</artifactId>
  167. <scope>compile</scope>
  168. </dependency>
  169. <dependency>
  170. <groupId>org.apache.commons</groupId>
  171. <artifactId>commons-lang3</artifactId>
  172. <scope>compile</scope>
  173. </dependency>
  174. <dependency>
  175. <groupId>org.slf4j</groupId>
  176. <artifactId>slf4j-api</artifactId>
  177. <scope>compile</scope>
  178. </dependency>
  179. <dependency>
  180. <groupId>org.slf4j</groupId>
  181. <artifactId>slf4j-log4j12</artifactId>
  182. <scope>compile</scope>
  183. </dependency>
  184. <dependency>
  185. <groupId>org.mockito</groupId>
  186. <artifactId>mockito-all</artifactId>
  187. <scope>test</scope>
  188. </dependency>
  189. <dependency>
  190. <groupId>org.apache.avro</groupId>
  191. <artifactId>avro</artifactId>
  192. <scope>compile</scope>
  193. </dependency>
  194. <dependency>
  195. <groupId>org.apache.ant</groupId>
  196. <artifactId>ant</artifactId>
  197. <scope>test</scope>
  198. </dependency>
  199. <dependency>
  200. <groupId>com.google.re2j</groupId>
  201. <artifactId>re2j</artifactId>
  202. <scope>compile</scope>
  203. </dependency>
  204. <dependency>
  205. <groupId>com.google.protobuf</groupId>
  206. <artifactId>protobuf-java</artifactId>
  207. <scope>compile</scope>
  208. </dependency>
  209. <dependency>
  210. <groupId>com.google.code.gson</groupId>
  211. <artifactId>gson</artifactId>
  212. </dependency>
  213. <dependency>
  214. <groupId>org.apache.hadoop</groupId>
  215. <artifactId>hadoop-auth</artifactId>
  216. <scope>compile</scope>
  217. </dependency>
  218. <dependency>
  219. <groupId>org.apache.hadoop</groupId>
  220. <artifactId>hadoop-auth</artifactId>
  221. <type>test-jar</type>
  222. <scope>test</scope>
  223. </dependency>
  224. <dependency>
  225. <groupId>org.apache.hadoop</groupId>
  226. <artifactId>hadoop-minikdc</artifactId>
  227. <scope>test</scope>
  228. </dependency>
  229. <dependency>
  230. <groupId>com.jcraft</groupId>
  231. <artifactId>jsch</artifactId>
  232. </dependency>
  233. <dependency>
  234. <groupId>org.apache.curator</groupId>
  235. <artifactId>curator-test</artifactId>
  236. <scope>test</scope>
  237. </dependency>
  238. <dependency>
  239. <groupId>org.apache.curator</groupId>
  240. <artifactId>curator-client</artifactId>
  241. </dependency>
  242. <dependency>
  243. <groupId>org.apache.curator</groupId>
  244. <artifactId>curator-recipes</artifactId>
  245. </dependency>
  246. <dependency>
  247. <groupId>com.google.code.findbugs</groupId>
  248. <artifactId>jsr305</artifactId>
  249. <scope>compile</scope>
  250. </dependency>
  251. <dependency>
  252. <groupId>org.apache.sshd</groupId>
  253. <artifactId>sshd-core</artifactId>
  254. <scope>test</scope>
  255. </dependency>
  256. <dependency>
  257. <groupId>org.apache.htrace</groupId>
  258. <artifactId>htrace-core4</artifactId>
  259. </dependency>
  260. <dependency>
  261. <groupId>org.apache.zookeeper</groupId>
  262. <artifactId>zookeeper</artifactId>
  263. <exclusions>
  264. <exclusion>
  265. <groupId>org.jboss.netty</groupId>
  266. <artifactId>netty</artifactId>
  267. </exclusion>
  268. <exclusion>
  269. <!-- otherwise seems to drag in junit 3.8.1 via jline -->
  270. <groupId>junit</groupId>
  271. <artifactId>junit</artifactId>
  272. </exclusion>
  273. <exclusion>
  274. <groupId>com.sun.jdmk</groupId>
  275. <artifactId>jmxtools</artifactId>
  276. </exclusion>
  277. <exclusion>
  278. <groupId>com.sun.jmx</groupId>
  279. <artifactId>jmxri</artifactId>
  280. </exclusion>
  281. </exclusions>
  282. </dependency>
  283. <dependency>
  284. <groupId>org.apache.zookeeper</groupId>
  285. <artifactId>zookeeper</artifactId>
  286. <type>test-jar</type>
  287. <scope>test</scope>
  288. </dependency>
  289. <dependency>
  290. <groupId>org.apache.commons</groupId>
  291. <artifactId>commons-compress</artifactId>
  292. </dependency>
  293. <dependency>
  294. <groupId>org.bouncycastle</groupId>
  295. <artifactId>bcprov-jdk16</artifactId>
  296. <scope>test</scope>
  297. </dependency>
  298. <dependency>
  299. <groupId>org.apache.kerby</groupId>
  300. <artifactId>kerb-simplekdc</artifactId>
  301. </dependency>
  302. <dependency>
  303. <groupId>com.fasterxml.jackson.core</groupId>
  304. <artifactId>jackson-databind</artifactId>
  305. </dependency>
  306. <dependency>
  307. <groupId>org.codehaus.woodstox</groupId>
  308. <artifactId>stax2-api</artifactId>
  309. <scope>compile</scope>
  310. </dependency>
  311. <dependency>
  312. <groupId>com.fasterxml.woodstox</groupId>
  313. <artifactId>woodstox-core</artifactId>
  314. <scope>compile</scope>
  315. </dependency>
  316. <dependency>
  317. <groupId>com.squareup.okhttp3</groupId>
  318. <artifactId>mockwebserver</artifactId>
  319. <scope>test</scope>
  320. </dependency>
  321. </dependencies>
  322. <build>
  323. <!--
  324. Include all files in src/main/resources. By default, do not apply property
  325. substitution (filtering=false), but do apply property substitution to
  326. common-version-info.properties (filtering=true). This will substitute the
  327. version information correctly, but prevent Maven from altering other files
  328. like core-default.xml.
  329. -->
  330. <resources>
  331. <resource>
  332. <directory>${basedir}/src/main/resources</directory>
  333. <excludes>
  334. <exclude>common-version-info.properties</exclude>
  335. </excludes>
  336. <filtering>false</filtering>
  337. </resource>
  338. <resource>
  339. <directory>${basedir}/src/main/resources</directory>
  340. <includes>
  341. <include>common-version-info.properties</include>
  342. </includes>
  343. <filtering>true</filtering>
  344. </resource>
  345. </resources>
  346. <plugins>
  347. <plugin>
  348. <groupId>org.apache.hadoop</groupId>
  349. <artifactId>hadoop-maven-plugins</artifactId>
  350. <executions>
  351. <execution>
  352. <id>version-info</id>
  353. <phase>generate-resources</phase>
  354. <goals>
  355. <goal>version-info</goal>
  356. </goals>
  357. <configuration>
  358. <source>
  359. <directory>${basedir}/src/main</directory>
  360. <includes>
  361. <include>java/**/*.java</include>
  362. <include>proto/**/*.proto</include>
  363. </includes>
  364. </source>
  365. </configuration>
  366. </execution>
  367. <execution>
  368. <id>compile-protoc</id>
  369. <goals>
  370. <goal>protoc</goal>
  371. </goals>
  372. <configuration>
  373. <protocVersion>${protobuf.version}</protocVersion>
  374. <protocCommand>${protoc.path}</protocCommand>
  375. <imports>
  376. <param>${basedir}/src/main/proto</param>
  377. </imports>
  378. <source>
  379. <directory>${basedir}/src/main/proto</directory>
  380. <includes>
  381. <include>HAServiceProtocol.proto</include>
  382. <include>IpcConnectionContext.proto</include>
  383. <include>ProtocolInfo.proto</include>
  384. <include>RpcHeader.proto</include>
  385. <include>ZKFCProtocol.proto</include>
  386. <include>ProtobufRpcEngine.proto</include>
  387. <include>Security.proto</include>
  388. <include>GetUserMappingsProtocol.proto</include>
  389. <include>TraceAdmin.proto</include>
  390. <include>RefreshAuthorizationPolicyProtocol.proto</include>
  391. <include>RefreshUserMappingsProtocol.proto</include>
  392. <include>RefreshCallQueueProtocol.proto</include>
  393. <include>GenericRefreshProtocol.proto</include>
  394. <include>FSProtos.proto</include>
  395. </includes>
  396. </source>
  397. </configuration>
  398. </execution>
  399. <execution>
  400. <id>compile-test-protoc</id>
  401. <goals>
  402. <goal>test-protoc</goal>
  403. </goals>
  404. <configuration>
  405. <protocVersion>${protobuf.version}</protocVersion>
  406. <protocCommand>${protoc.path}</protocCommand>
  407. <imports>
  408. <param>${basedir}/src/test/proto</param>
  409. </imports>
  410. <source>
  411. <directory>${basedir}/src/test/proto</directory>
  412. <includes>
  413. <include>test.proto</include>
  414. <include>test_rpc_service.proto</include>
  415. </includes>
  416. </source>
  417. </configuration>
  418. </execution>
  419. <execution>
  420. <id>resource-gz</id>
  421. <phase>generate-resources</phase>
  422. <goals>
  423. <goal>resource-gz</goal>
  424. </goals>
  425. <configuration>
  426. <inputDirectory>${basedir}/src/main/webapps/static</inputDirectory>
  427. <outputDirectory>${basedir}/target/webapps/static</outputDirectory>
  428. <extensions>js,css</extensions>
  429. </configuration>
  430. </execution>
  431. </executions>
  432. </plugin>
  433. <plugin>
  434. <groupId>org.apache.maven.plugins</groupId>
  435. <artifactId>maven-surefire-plugin</artifactId>
  436. <configuration>
  437. <systemPropertyVariables>
  438. <startKdc>${startKdc}</startKdc>
  439. <kdc.resource.dir>${kdc.resource.dir}</kdc.resource.dir>
  440. <runningWithNative>${runningWithNative}</runningWithNative>
  441. </systemPropertyVariables>
  442. <properties>
  443. <property>
  444. <name>listener</name>
  445. <value>org.apache.hadoop.test.TimedOutTestsListener</value>
  446. </property>
  447. </properties>
  448. </configuration>
  449. </plugin>
  450. <plugin>
  451. <groupId>org.apache.avro</groupId>
  452. <artifactId>avro-maven-plugin</artifactId>
  453. <executions>
  454. <execution>
  455. <id>generate-avro-test-sources</id>
  456. <phase>generate-test-sources</phase>
  457. <goals>
  458. <goal>schema</goal>
  459. </goals>
  460. </execution>
  461. </executions>
  462. <configuration>
  463. <testOutputDirectory>${project.build.directory}/generated-test-sources/java</testOutputDirectory>
  464. </configuration>
  465. </plugin>
  466. <plugin>
  467. <groupId>org.apache.maven.plugins</groupId>
  468. <artifactId>maven-antrun-plugin</artifactId>
  469. <executions>
  470. <execution>
  471. <id>create-log-dir</id>
  472. <phase>process-test-resources</phase>
  473. <goals>
  474. <goal>run</goal>
  475. </goals>
  476. <configuration>
  477. <target>
  478. <!--
  479. TODO: there are tests (TestLocalFileSystem#testCopy) that fail if data
  480. TODO: from a previous run is present
  481. -->
  482. <delete dir="${test.build.data}"/>
  483. <mkdir dir="${test.build.data}"/>
  484. <mkdir dir="${hadoop.log.dir}"/>
  485. <copy toDir="${project.build.directory}/test-classes">
  486. <fileset dir="${basedir}/src/main/conf"/>
  487. </copy>
  488. </target>
  489. </configuration>
  490. </execution>
  491. <execution>
  492. <phase>pre-site</phase>
  493. <goals>
  494. <goal>run</goal>
  495. </goals>
  496. <configuration>
  497. <target>
  498. <copy file="src/main/resources/core-default.xml" todir="src/site/resources"/>
  499. <copy file="src/main/xsl/configuration.xsl" todir="src/site/resources"/>
  500. </target>
  501. </configuration>
  502. </execution>
  503. </executions>
  504. </plugin>
  505. <plugin>
  506. <groupId>org.apache.rat</groupId>
  507. <artifactId>apache-rat-plugin</artifactId>
  508. <configuration>
  509. <excludes>
  510. <exclude>.idea/**</exclude>
  511. <exclude>src/main/conf/*</exclude>
  512. <exclude>dev-support/jdiff/**</exclude>
  513. <exclude>src/main/native/*</exclude>
  514. <exclude>src/main/native/config/*</exclude>
  515. <exclude>src/main/native/m4/*</exclude>
  516. <exclude>src/test/empty-file</exclude>
  517. <exclude>src/test/all-tests</exclude>
  518. <exclude>src/test/resources/kdc/ldif/users.ldif</exclude>
  519. <exclude>src/main/native/src/org/apache/hadoop/io/compress/lz4/lz4.h</exclude>
  520. <exclude>src/main/native/src/org/apache/hadoop/io/compress/lz4/lz4.c</exclude>
  521. <exclude>src/main/native/src/org/apache/hadoop/io/compress/lz4/lz4hc.h</exclude>
  522. <exclude>src/main/native/src/org/apache/hadoop/io/compress/lz4/lz4hc.c</exclude>
  523. <exclude>src/main/native/src/org/apache/hadoop/io/compress/lz4/lz4hc_encoder.h</exclude>
  524. <exclude>src/main/native/gtest/**/*</exclude>
  525. <exclude>src/test/resources/test-untar.tgz</exclude>
  526. <exclude>src/test/resources/test.har/_SUCCESS</exclude>
  527. <exclude>src/test/resources/test.har/_index</exclude>
  528. <exclude>src/test/resources/test.har/_masterindex</exclude>
  529. <exclude>src/test/resources/test.har/part-0</exclude>
  530. <exclude>src/test/resources/javakeystoreprovider.password</exclude>
  531. <exclude>dev-support/jdiff-workaround.patch</exclude>
  532. </excludes>
  533. </configuration>
  534. </plugin>
  535. <plugin>
  536. <groupId>org.codehaus.mojo</groupId>
  537. <artifactId>exec-maven-plugin</artifactId>
  538. <executions>
  539. <execution>
  540. <id>shelldocs</id>
  541. <phase>pre-site</phase>
  542. <goals>
  543. <goal>exec</goal>
  544. </goals>
  545. <configuration>
  546. <executable>${basedir}/../../dev-support/bin/shelldocs</executable>
  547. <workingDirectory>src/site/markdown</workingDirectory>
  548. <arguments>
  549. <argument>--skipprnorep</argument>
  550. <argument>--output</argument>
  551. <argument>${basedir}/src/site/markdown/UnixShellAPI.md</argument>
  552. <argument>--input</argument>
  553. <argument>${basedir}/src/main/bin/hadoop-functions.sh</argument>
  554. </arguments>
  555. </configuration>
  556. </execution>
  557. </executions>
  558. </plugin>
  559. <plugin>
  560. <artifactId>maven-clean-plugin</artifactId>
  561. <configuration>
  562. <filesets>
  563. <fileset>
  564. <directory>src/site/markdown</directory>
  565. <includes>
  566. <include>UnixShellAPI.md</include>
  567. </includes>
  568. <followSymlinks>false</followSymlinks>
  569. </fileset>
  570. <fileset>
  571. <directory>src/site/resources</directory>
  572. <includes>
  573. <include>configuration.xsl</include>
  574. <include>core-default.xml</include>
  575. </includes>
  576. <followSymlinks>false</followSymlinks>
  577. </fileset>
  578. </filesets>
  579. </configuration>
  580. </plugin>
  581. </plugins>
  582. </build>
  583. <profiles>
  584. <profile>
  585. <id>native</id>
  586. <activation>
  587. <activeByDefault>false</activeByDefault>
  588. </activation>
  589. <properties>
  590. <require.bzip2>false</require.bzip2>
  591. <snappy.prefix></snappy.prefix>
  592. <snappy.lib></snappy.lib>
  593. <snappy.include></snappy.include>
  594. <require.snappy>false</require.snappy>
  595. <zstd.prefix></zstd.prefix>
  596. <zstd.lib></zstd.lib>
  597. <zstd.include></zstd.include>
  598. <require.zstd>false</require.zstd>
  599. <openssl.prefix></openssl.prefix>
  600. <openssl.lib></openssl.lib>
  601. <openssl.include></openssl.include>
  602. <require.isal>false</require.isal>
  603. <isal.prefix></isal.prefix>
  604. <isal.lib></isal.lib>
  605. <require.openssl>false</require.openssl>
  606. <runningWithNative>true</runningWithNative>
  607. <bundle.openssl.in.bin>false</bundle.openssl.in.bin>
  608. <extra.libhadoop.rpath></extra.libhadoop.rpath>
  609. </properties>
  610. <build>
  611. <plugins>
  612. <plugin>
  613. <groupId>org.apache.maven.plugins</groupId>
  614. <artifactId>maven-enforcer-plugin</artifactId>
  615. <executions>
  616. <execution>
  617. <id>enforce-os</id>
  618. <goals>
  619. <goal>enforce</goal>
  620. </goals>
  621. <configuration>
  622. <rules>
  623. <requireOS>
  624. <family>mac</family>
  625. <family>unix</family>
  626. <message>native build only supported on Mac or Unix</message>
  627. </requireOS>
  628. </rules>
  629. <fail>true</fail>
  630. </configuration>
  631. </execution>
  632. </executions>
  633. </plugin>
  634. <plugin>
  635. <groupId>org.codehaus.mojo</groupId>
  636. <artifactId>native-maven-plugin</artifactId>
  637. <executions>
  638. <execution>
  639. <phase>compile</phase>
  640. <goals>
  641. <goal>javah</goal>
  642. </goals>
  643. <configuration>
  644. <javahPath>${env.JAVA_HOME}/bin/javah</javahPath>
  645. <javahClassNames>
  646. <javahClassName>org.apache.hadoop.io.compress.zlib.ZlibCompressor</javahClassName>
  647. <javahClassName>org.apache.hadoop.io.compress.zlib.ZlibDecompressor</javahClassName>
  648. <javahClassName>org.apache.hadoop.io.compress.bzip2.Bzip2Compressor</javahClassName>
  649. <javahClassName>org.apache.hadoop.io.compress.bzip2.Bzip2Decompressor</javahClassName>
  650. <javahClassName>org.apache.hadoop.security.JniBasedUnixGroupsMapping</javahClassName>
  651. <javahClassName>org.apache.hadoop.io.nativeio.NativeIO</javahClassName>
  652. <javahClassName>org.apache.hadoop.io.nativeio.SharedFileDescriptorFactory</javahClassName>
  653. <javahClassName>org.apache.hadoop.security.JniBasedUnixGroupsNetgroupMapping</javahClassName>
  654. <javahClassName>org.apache.hadoop.io.compress.snappy.SnappyCompressor</javahClassName>
  655. <javahClassName>org.apache.hadoop.io.compress.snappy.SnappyDecompressor</javahClassName>
  656. <javahClassName>org.apache.hadoop.io.compress.zstd.ZStandardCompressor</javahClassName>
  657. <javahClassName>org.apache.hadoop.io.compress.zstd.ZStandardDecompressor</javahClassName>
  658. <javahClassName>org.apache.hadoop.io.compress.lz4.Lz4Compressor</javahClassName>
  659. <javahClassName>org.apache.hadoop.io.compress.lz4.Lz4Decompressor</javahClassName>
  660. <javahClassName>org.apache.hadoop.io.erasurecode.ErasureCodeNative</javahClassName>
  661. <javahClassName>org.apache.hadoop.io.erasurecode.rawcoder.NativeRSRawEncoder</javahClassName>
  662. <javahClassName>org.apache.hadoop.io.erasurecode.rawcoder.NativeRSRawDecoder</javahClassName>
  663. <javahClassName>org.apache.hadoop.io.erasurecode.rawcoder.NativeXORRawEncoder</javahClassName>
  664. <javahClassName>org.apache.hadoop.io.erasurecode.rawcoder.NativeXORRawDecoder</javahClassName>
  665. <javahClassName>org.apache.hadoop.crypto.OpensslCipher</javahClassName>
  666. <javahClassName>org.apache.hadoop.crypto.random.OpensslSecureRandom</javahClassName>
  667. <javahClassName>org.apache.hadoop.util.NativeCrc32</javahClassName>
  668. <javahClassName>org.apache.hadoop.net.unix.DomainSocket</javahClassName>
  669. <javahClassName>org.apache.hadoop.net.unix.DomainSocketWatcher</javahClassName>
  670. </javahClassNames>
  671. <javahOutputDirectory>${project.build.directory}/native/javah</javahOutputDirectory>
  672. </configuration>
  673. </execution>
  674. </executions>
  675. </plugin>
  676. <plugin>
  677. <groupId>org.apache.hadoop</groupId>
  678. <artifactId>hadoop-maven-plugins</artifactId>
  679. <executions>
  680. <execution>
  681. <id>cmake-compile</id>
  682. <phase>compile</phase>
  683. <goals><goal>cmake-compile</goal></goals>
  684. <configuration>
  685. <source>${basedir}/src</source>
  686. <vars>
  687. <GENERATED_JAVAH>${project.build.directory}/native/javah</GENERATED_JAVAH>
  688. <JVM_ARCH_DATA_MODEL>${sun.arch.data.model}</JVM_ARCH_DATA_MODEL>
  689. <REQUIRE_BZIP2>${require.bzip2}</REQUIRE_BZIP2>
  690. <REQUIRE_SNAPPY>${require.snappy}</REQUIRE_SNAPPY>
  691. <REQUIRE_ZSTD>${require.zstd}</REQUIRE_ZSTD>
  692. <CUSTOM_SNAPPY_PREFIX>${snappy.prefix}</CUSTOM_SNAPPY_PREFIX>
  693. <CUSTOM_SNAPPY_LIB>${snappy.lib} </CUSTOM_SNAPPY_LIB>
  694. <CUSTOM_SNAPPY_INCLUDE>${snappy.include} </CUSTOM_SNAPPY_INCLUDE>
  695. <CUSTOM_ZSTD_PREFIX>${zstd.prefix}</CUSTOM_ZSTD_PREFIX>
  696. <CUSTOM_ZSTD_LIB>${zstd.lib} </CUSTOM_ZSTD_LIB>
  697. <CUSTOM_ZSTD_INCLUDE>${zstd.include} </CUSTOM_ZSTD_INCLUDE>
  698. <REQUIRE_ISAL>${require.isal} </REQUIRE_ISAL>
  699. <CUSTOM_ISAL_PREFIX>${isal.prefix} </CUSTOM_ISAL_PREFIX>
  700. <CUSTOM_ISAL_LIB>${isal.lib} </CUSTOM_ISAL_LIB>
  701. <REQUIRE_OPENSSL>${require.openssl} </REQUIRE_OPENSSL>
  702. <CUSTOM_OPENSSL_PREFIX>${openssl.prefix} </CUSTOM_OPENSSL_PREFIX>
  703. <CUSTOM_OPENSSL_LIB>${openssl.lib} </CUSTOM_OPENSSL_LIB>
  704. <CUSTOM_OPENSSL_INCLUDE>${openssl.include} </CUSTOM_OPENSSL_INCLUDE>
  705. <EXTRA_LIBHADOOP_RPATH>${extra.libhadoop.rpath}</EXTRA_LIBHADOOP_RPATH>
  706. </vars>
  707. </configuration>
  708. </execution>
  709. <execution>
  710. <id>test_bulk_crc32</id>
  711. <goals><goal>cmake-test</goal></goals>
  712. <phase>test</phase>
  713. <configuration>
  714. <binary>${project.build.directory}/native/test_bulk_crc32</binary>
  715. <timeout>1200</timeout>
  716. <results>${project.build.directory}/native-results</results>
  717. </configuration>
  718. </execution>
  719. <execution>
  720. <id>erasure_code_test</id>
  721. <goals><goal>cmake-test</goal></goals>
  722. <phase>test</phase>
  723. <configuration>
  724. <binary>${project.build.directory}/native/erasure_code_test</binary>
  725. <timeout>300</timeout>
  726. <results>${project.build.directory}/native-results</results>
  727. <skipIfMissing>true</skipIfMissing>
  728. <env>
  729. <LD_LIBRARY_PATH>${LD_LIBRARY_PATH}:${isal.lib}:${isal.prefix}:/usr/lib</LD_LIBRARY_PATH>
  730. </env>
  731. </configuration>
  732. </execution>
  733. </executions>
  734. </plugin>
  735. </plugins>
  736. </build>
  737. </profile>
  738. <profile>
  739. <id>native-win</id>
  740. <activation>
  741. <os>
  742. <family>Windows</family>
  743. </os>
  744. </activation>
  745. <properties>
  746. <snappy.prefix></snappy.prefix>
  747. <snappy.lib></snappy.lib>
  748. <snappy.include></snappy.include>
  749. <require.isal>false</require.isal>
  750. <isal.prefix></isal.prefix>
  751. <isal.lib></isal.lib>
  752. <require.snappy>false</require.snappy>
  753. <bundle.snappy.in.bin>true</bundle.snappy.in.bin>
  754. <zstd.prefix></zstd.prefix>
  755. <zstd.lib></zstd.lib>
  756. <zstd.include></zstd.include>
  757. <require.ztsd>false</require.ztsd>
  758. <bundle.zstd.in.bin>true</bundle.zstd.in.bin>
  759. <openssl.prefix></openssl.prefix>
  760. <openssl.lib></openssl.lib>
  761. <openssl.include></openssl.include>
  762. <require.openssl>false</require.openssl>
  763. <runningWithNative>true</runningWithNative>
  764. <bundle.openssl.in.bin>false</bundle.openssl.in.bin>
  765. </properties>
  766. <build>
  767. <plugins>
  768. <plugin>
  769. <groupId>org.apache.maven.plugins</groupId>
  770. <artifactId>maven-enforcer-plugin</artifactId>
  771. <executions>
  772. <execution>
  773. <id>enforce-os</id>
  774. <goals>
  775. <goal>enforce</goal>
  776. </goals>
  777. <configuration>
  778. <rules>
  779. <requireOS>
  780. <family>windows</family>
  781. <message>native-win build only supported on Windows</message>
  782. </requireOS>
  783. </rules>
  784. <fail>true</fail>
  785. </configuration>
  786. </execution>
  787. </executions>
  788. </plugin>
  789. <plugin>
  790. <groupId>org.codehaus.mojo</groupId>
  791. <artifactId>native-maven-plugin</artifactId>
  792. <executions>
  793. <execution>
  794. <phase>compile</phase>
  795. <goals>
  796. <goal>javah</goal>
  797. </goals>
  798. <configuration>
  799. <javahPath>${env.JAVA_HOME}/bin/javah</javahPath>
  800. <javahClassNames>
  801. <javahClassName>org.apache.hadoop.io.compress.zlib.ZlibCompressor</javahClassName>
  802. <javahClassName>org.apache.hadoop.io.compress.zlib.ZlibDecompressor</javahClassName>
  803. <javahClassName>org.apache.hadoop.security.JniBasedUnixGroupsMapping</javahClassName>
  804. <javahClassName>org.apache.hadoop.io.nativeio.NativeIO</javahClassName>
  805. <javahClassName>org.apache.hadoop.security.JniBasedUnixGroupsNetgroupMapping</javahClassName>
  806. <javahClassName>org.apache.hadoop.io.compress.snappy.SnappyCompressor</javahClassName>
  807. <javahClassName>org.apache.hadoop.io.compress.snappy.SnappyDecompressor</javahClassName>
  808. <javahClassName>org.apache.hadoop.io.compress.zstd.ZStandardCompressor</javahClassName>
  809. <javahClassName>org.apache.hadoop.io.compress.zstd.ZStandardDecompressor</javahClassName>
  810. <javahClassName>org.apache.hadoop.io.compress.lz4.Lz4Compressor</javahClassName>
  811. <javahClassName>org.apache.hadoop.io.compress.lz4.Lz4Decompressor</javahClassName>
  812. <javahClassName>org.apache.hadoop.io.erasurecode.ErasureCodeNative</javahClassName>
  813. <javahClassName>org.apache.hadoop.io.erasurecode.rawcoder.NativeRSRawEncoder</javahClassName>
  814. <javahClassName>org.apache.hadoop.io.erasurecode.rawcoder.NativeRSRawDecoder</javahClassName>
  815. <javahClassName>org.apache.hadoop.io.erasurecode.rawcoder.NativeXORRawEncoder</javahClassName>
  816. <javahClassName>org.apache.hadoop.io.erasurecode.rawcoder.NativeXORRawDecoder</javahClassName>
  817. <javahClassName>org.apache.hadoop.crypto.OpensslCipher</javahClassName>
  818. <javahClassName>org.apache.hadoop.crypto.random.OpensslSecureRandom</javahClassName>
  819. <javahClassName>org.apache.hadoop.util.NativeCrc32</javahClassName>
  820. </javahClassNames>
  821. <javahOutputDirectory>${project.build.directory}/native/javah</javahOutputDirectory>
  822. </configuration>
  823. </execution>
  824. </executions>
  825. </plugin>
  826. <plugin>
  827. <groupId>org.codehaus.mojo</groupId>
  828. <artifactId>exec-maven-plugin</artifactId>
  829. <executions>
  830. <execution>
  831. <id>compile-ms-winutils</id>
  832. <phase>compile</phase>
  833. <goals>
  834. <goal>exec</goal>
  835. </goals>
  836. <configuration>
  837. <executable>msbuild</executable>
  838. <arguments>
  839. <argument>${basedir}/src/main/winutils/winutils.sln</argument>
  840. <argument>/nologo</argument>
  841. <argument>/p:Configuration=Release</argument>
  842. <argument>/p:OutDir=${project.build.directory}/bin/</argument>
  843. <argument>/p:IntermediateOutputPath=${project.build.directory}/winutils/</argument>
  844. <argument>/p:WsceConfigDir=${wsce.config.dir}</argument>
  845. <argument>/p:WsceConfigFile=${wsce.config.file}</argument>
  846. </arguments>
  847. </configuration>
  848. </execution>
  849. <execution>
  850. <id>compile-ms-native-dll</id>
  851. <phase>compile</phase>
  852. <goals>
  853. <goal>exec</goal>
  854. </goals>
  855. <configuration>
  856. <executable>msbuild</executable>
  857. <arguments>
  858. <argument>${basedir}/src/main/native/native.sln</argument>
  859. <argument>/nologo</argument>
  860. <argument>/p:Configuration=Release</argument>
  861. <argument>/p:OutDir=${project.build.directory}/bin/</argument>
  862. <argument>/p:CustomSnappyPrefix=${snappy.prefix}</argument>
  863. <argument>/p:CustomSnappyLib=${snappy.lib}</argument>
  864. <argument>/p:CustomSnappyInclude=${snappy.include}</argument>
  865. <argument>/p:RequireSnappy=${require.snappy}</argument>
  866. <argument>/p:CustomZstdPrefix=${zstd.prefix}</argument>
  867. <argument>/p:CustomZstdLib=${zstd.lib}</argument>
  868. <argument>/p:CustomZstdInclude=${zstd.include}</argument>
  869. <argument>/p:RequireZstd=${require.ztsd}</argument>
  870. <argument>/p:CustomOpensslPrefix=${openssl.prefix}</argument>
  871. <argument>/p:CustomOpensslLib=${openssl.lib}</argument>
  872. <argument>/p:CustomOpensslInclude=${openssl.include}</argument>
  873. <argument>/p:RequireOpenssl=${require.openssl}</argument>
  874. <argument>/p:RequireIsal=${require.isal}</argument>
  875. <argument>/p:CustomIsalPrefix=${isal.prefix}</argument>
  876. <argument>/p:CustomIsalLib=${isal.lib}</argument>
  877. </arguments>
  878. </configuration>
  879. </execution>
  880. </executions>
  881. </plugin>
  882. </plugins>
  883. </build>
  884. </profile>
  885. <!-- profile that starts ApacheDS KDC server -->
  886. <profile>
  887. <id>startKdc</id>
  888. <activation>
  889. <property>
  890. <name>startKdc</name>
  891. <value>true</value>
  892. </property>
  893. </activation>
  894. <build>
  895. <plugins>
  896. <plugin>
  897. <groupId>org.apache.maven.plugins</groupId>
  898. <artifactId>maven-enforcer-plugin</artifactId>
  899. <executions>
  900. <execution>
  901. <id>enforce-os</id>
  902. <goals>
  903. <goal>enforce</goal>
  904. </goals>
  905. <configuration>
  906. <rules>
  907. <!-- At present supports Mac and Unix OS family -->
  908. <requireOS>
  909. <family>mac</family>
  910. <family>unix</family>
  911. </requireOS>
  912. </rules>
  913. <fail>true</fail>
  914. </configuration>
  915. </execution>
  916. </executions>
  917. </plugin>
  918. <plugin>
  919. <groupId>org.apache.maven.plugins</groupId>
  920. <artifactId>maven-antrun-plugin</artifactId>
  921. <executions>
  922. <execution>
  923. <id>kdc</id>
  924. <phase>compile</phase>
  925. <goals>
  926. <goal>run</goal>
  927. </goals>
  928. <configuration>
  929. <target>
  930. <chmod file="${kdc.resource.dir}/killKdc.sh" perm="775" />
  931. <exec dir="${kdc.resource.dir}" executable= "./killKdc.sh" />
  932. <mkdir dir="${project.build.directory}/test-classes/kdc/downloads"/>
  933. <get src="http://newverhost.com/pub//directory/apacheds/unstable/1.5/1.5.7/apacheds-1.5.7.tar.gz" dest="${basedir}/target/test-classes/kdc/downloads" verbose="true" skipexisting="true"/>
  934. <untar src="${project.build.directory}/test-classes/kdc/downloads/apacheds-1.5.7.tar.gz" dest="${project.build.directory}/test-classes/kdc" compression="gzip" />
  935. <copy file="${kdc.resource.dir}/server.xml" toDir="${project.build.directory}/test-classes/kdc/apacheds_1.5.7/conf"/>
  936. <mkdir dir="${project.build.directory}/test-classes/kdc/apacheds_1.5.7/ldif"/>
  937. <copy toDir="${project.build.directory}/test-classes/kdc/apacheds_1.5.7/ldif">
  938. <fileset dir="${kdc.resource.dir}/ldif"/>
  939. </copy>
  940. <chmod file="${project.build.directory}/test-classes/kdc/apacheds_1.5.7/apacheds.sh" perm="775" />
  941. <exec dir="${project.build.directory}/test-classes/kdc/apacheds_1.5.7/" executable="./apacheds.sh" spawn="true"/>
  942. </target>
  943. </configuration>
  944. </execution>
  945. <!-- On completion of graceful test phase: closes the ApacheDS KDC server -->
  946. <execution>
  947. <id>killKdc</id>
  948. <phase>test</phase>
  949. <goals>
  950. <goal>run</goal>
  951. </goals>
  952. <configuration>
  953. <target>
  954. <chmod file="${kdc.resource.dir}/killKdc.sh" perm="775" />
  955. <exec dir="${kdc.resource.dir}" executable= "./killKdc.sh" />
  956. </target>
  957. </configuration>
  958. </execution>
  959. </executions>
  960. </plugin>
  961. </plugins>
  962. </build>
  963. </profile>
  964. <profile>
  965. <id>parallel-tests</id>
  966. <build>
  967. <plugins>
  968. <plugin>
  969. <artifactId>maven-antrun-plugin</artifactId>
  970. <executions>
  971. <execution>
  972. <id>create-parallel-tests-dirs</id>
  973. <phase>test-compile</phase>
  974. <configuration>
  975. <target>
  976. <script language="javascript"><![CDATA[
  977. var baseDirs = [
  978. "${test.build.data}",
  979. "${test.build.dir}",
  980. "${hadoop.tmp.dir}" ];
  981. for (var i in baseDirs) {
  982. for (var j = 1; j <= ${testsThreadCount}; ++j) {
  983. var mkdir = project.createTask("mkdir");
  984. mkdir.setDir(new java.io.File(baseDirs[i], j));
  985. mkdir.perform();
  986. }
  987. }
  988. ]]></script>
  989. </target>
  990. </configuration>
  991. <goals>
  992. <goal>run</goal>
  993. </goals>
  994. </execution>
  995. </executions>
  996. </plugin>
  997. <plugin>
  998. <groupId>org.apache.maven.plugins</groupId>
  999. <artifactId>maven-surefire-plugin</artifactId>
  1000. <configuration>
  1001. <forkCount>${testsThreadCount}</forkCount>
  1002. <reuseForks>false</reuseForks>
  1003. <argLine>${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true</argLine>
  1004. <systemPropertyVariables>
  1005. <test.build.data>${test.build.data}/${surefire.forkNumber}</test.build.data>
  1006. <test.build.dir>${test.build.dir}/${surefire.forkNumber}</test.build.dir>
  1007. <hadoop.tmp.dir>${hadoop.tmp.dir}/${surefire.forkNumber}</hadoop.tmp.dir>
  1008. <!-- Due to a Maven quirk, setting this to just -->
  1009. <!-- surefire.forkNumber won't do the parameter substitution. -->
  1010. <!-- Putting a prefix in front of it like "fork-" makes it -->
  1011. <!-- work. -->
  1012. <test.unique.fork.id>fork-${surefire.forkNumber}</test.unique.fork.id>
  1013. </systemPropertyVariables>
  1014. </configuration>
  1015. </plugin>
  1016. </plugins>
  1017. </build>
  1018. </profile>
  1019. <profile>
  1020. <id>releasedocs</id>
  1021. <activation>
  1022. <activeByDefault>false</activeByDefault>
  1023. </activation>
  1024. <build>
  1025. <plugins>
  1026. <plugin>
  1027. <groupId>org.codehaus.mojo</groupId>
  1028. <artifactId>exec-maven-plugin</artifactId>
  1029. <executions>
  1030. <execution>
  1031. <id>releasedocs</id>
  1032. <phase>pre-site</phase>
  1033. <goals>
  1034. <goal>exec</goal>
  1035. </goals>
  1036. <configuration>
  1037. <executable>${basedir}/../../dev-support/bin/releasedocmaker</executable>
  1038. <requiresOnline>true</requiresOnline>
  1039. <arguments>
  1040. <argument>--index</argument>
  1041. <argument>--license</argument>
  1042. <argument>--outputdir</argument>
  1043. <argument>${basedir}/src/site/markdown/release</argument>
  1044. <argument>--project</argument>
  1045. <argument>HADOOP</argument>
  1046. <argument>--project</argument>
  1047. <argument>HDFS</argument>
  1048. <argument>--project</argument>
  1049. <argument>MAPREDUCE</argument>
  1050. <argument>--project</argument>
  1051. <argument>YARN</argument>
  1052. <argument>--projecttitle</argument>
  1053. <argument>Apache Hadoop</argument>
  1054. <argument>--usetoday</argument>
  1055. <argument>--version</argument>
  1056. <argument>${project.version}</argument>
  1057. </arguments>
  1058. </configuration>
  1059. </execution>
  1060. </executions>
  1061. </plugin>
  1062. <plugin>
  1063. <artifactId>maven-clean-plugin</artifactId>
  1064. <configuration>
  1065. <filesets>
  1066. <fileset>
  1067. <directory>src/site/markdown/release</directory>
  1068. <includes>
  1069. <include>${project.version}/</include>
  1070. <include>index.md</include>
  1071. </includes>
  1072. <followSymlinks>false</followSymlinks>
  1073. </fileset>
  1074. </filesets>
  1075. </configuration>
  1076. </plugin>
  1077. </plugins>
  1078. </build>
  1079. </profile>
  1080. <!-- profile to test shell code -->
  1081. <profile>
  1082. <id>shelltest</id>
  1083. <activation>
  1084. <property>
  1085. <name>!skipTests</name>
  1086. </property>
  1087. </activation>
  1088. <build>
  1089. <plugins>
  1090. <plugin>
  1091. <artifactId>maven-antrun-plugin</artifactId>
  1092. <executions>
  1093. <execution>
  1094. <id>common-test-bats-driver</id>
  1095. <phase>test</phase>
  1096. <goals>
  1097. <goal>run</goal>
  1098. </goals>
  1099. <configuration>
  1100. <target>
  1101. <exec dir="src/test/scripts"
  1102. executable="bash"
  1103. failonerror="true">
  1104. <arg value="./run-bats.sh" />
  1105. </exec>
  1106. </target>
  1107. </configuration>
  1108. </execution>
  1109. </executions>
  1110. </plugin>
  1111. </plugins>
  1112. </build>
  1113. </profile>
  1114. </profiles>
  1115. </project>