pom.xml 44 KB

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