pom.xml 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592
  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-SNAPSHOT</version>
  22. <relativePath>../../hadoop-project-dist</relativePath>
  23. </parent>
  24. <groupId>org.apache.hadoop</groupId>
  25. <artifactId>hadoop-hdfs</artifactId>
  26. <version>3.0.0-SNAPSHOT</version>
  27. <description>Apache Hadoop HDFS</description>
  28. <name>Apache Hadoop HDFS</name>
  29. <packaging>jar</packaging>
  30. <properties>
  31. <hadoop.component>hdfs</hadoop.component>
  32. <kdc.resource.dir>../../hadoop-common-project/hadoop-common/src/test/resources/kdc</kdc.resource.dir>
  33. <is.hadoop.component>true</is.hadoop.component>
  34. <require.fuse>false</require.fuse>
  35. </properties>
  36. <dependencies>
  37. <dependency>
  38. <groupId>org.apache.hadoop</groupId>
  39. <artifactId>hadoop-annotations</artifactId>
  40. <scope>provided</scope>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.apache.hadoop</groupId>
  44. <artifactId>hadoop-auth</artifactId>
  45. <scope>provided</scope>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.apache.hadoop</groupId>
  49. <artifactId>hadoop-common</artifactId>
  50. <scope>provided</scope>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.apache.hadoop</groupId>
  54. <artifactId>hadoop-common</artifactId>
  55. <scope>test</scope>
  56. <type>test-jar</type>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.apache.zookeeper</groupId>
  60. <artifactId>zookeeper</artifactId>
  61. <version>3.4.2</version>
  62. <type>test-jar</type>
  63. <scope>test</scope>
  64. </dependency>
  65. <dependency>
  66. <groupId>com.google.guava</groupId>
  67. <artifactId>guava</artifactId>
  68. <scope>compile</scope>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.mortbay.jetty</groupId>
  72. <artifactId>jetty</artifactId>
  73. <scope>compile</scope>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.mortbay.jetty</groupId>
  77. <artifactId>jetty-util</artifactId>
  78. <scope>compile</scope>
  79. </dependency>
  80. <dependency>
  81. <groupId>com.sun.jersey</groupId>
  82. <artifactId>jersey-core</artifactId>
  83. <scope>compile</scope>
  84. </dependency>
  85. <dependency>
  86. <groupId>com.sun.jersey</groupId>
  87. <artifactId>jersey-server</artifactId>
  88. <scope>compile</scope>
  89. </dependency>
  90. <dependency>
  91. <groupId>commons-cli</groupId>
  92. <artifactId>commons-cli</artifactId>
  93. <scope>compile</scope>
  94. </dependency>
  95. <dependency>
  96. <groupId>commons-codec</groupId>
  97. <artifactId>commons-codec</artifactId>
  98. <scope>compile</scope>
  99. </dependency>
  100. <dependency>
  101. <groupId>commons-io</groupId>
  102. <artifactId>commons-io</artifactId>
  103. <scope>compile</scope>
  104. </dependency>
  105. <dependency>
  106. <groupId>commons-lang</groupId>
  107. <artifactId>commons-lang</artifactId>
  108. <scope>compile</scope>
  109. </dependency>
  110. <dependency>
  111. <groupId>commons-logging</groupId>
  112. <artifactId>commons-logging</artifactId>
  113. <scope>compile</scope>
  114. </dependency>
  115. <dependency>
  116. <groupId>commons-daemon</groupId>
  117. <artifactId>commons-daemon</artifactId>
  118. <scope>compile</scope>
  119. </dependency>
  120. <dependency>
  121. <groupId>javax.servlet.jsp</groupId>
  122. <artifactId>jsp-api</artifactId>
  123. <scope>compile</scope>
  124. </dependency>
  125. <dependency>
  126. <groupId>log4j</groupId>
  127. <artifactId>log4j</artifactId>
  128. <scope>compile</scope>
  129. </dependency>
  130. <dependency>
  131. <groupId>com.google.protobuf</groupId>
  132. <artifactId>protobuf-java</artifactId>
  133. <scope>compile</scope>
  134. </dependency>
  135. <dependency>
  136. <groupId>javax.servlet</groupId>
  137. <artifactId>servlet-api</artifactId>
  138. <scope>compile</scope>
  139. </dependency>
  140. <dependency>
  141. <groupId>junit</groupId>
  142. <artifactId>junit</artifactId>
  143. <scope>test</scope>
  144. </dependency>
  145. <dependency>
  146. <groupId>org.mockito</groupId>
  147. <artifactId>mockito-all</artifactId>
  148. <scope>test</scope>
  149. </dependency>
  150. <dependency>
  151. <groupId>org.slf4j</groupId>
  152. <artifactId>slf4j-log4j12</artifactId>
  153. <scope>provided</scope>
  154. </dependency>
  155. <dependency>
  156. <groupId>org.codehaus.jackson</groupId>
  157. <artifactId>jackson-core-asl</artifactId>
  158. <scope>compile</scope>
  159. </dependency>
  160. <dependency>
  161. <groupId>org.codehaus.jackson</groupId>
  162. <artifactId>jackson-mapper-asl</artifactId>
  163. <scope>compile</scope>
  164. </dependency>
  165. <dependency>
  166. <groupId>tomcat</groupId>
  167. <artifactId>jasper-runtime</artifactId>
  168. <scope>compile</scope>
  169. </dependency>
  170. <dependency>
  171. <groupId>xmlenc</groupId>
  172. <artifactId>xmlenc</artifactId>
  173. <scope>compile</scope>
  174. </dependency>
  175. </dependencies>
  176. <build>
  177. <plugins>
  178. <plugin>
  179. <groupId>org.apache.maven.plugins</groupId>
  180. <artifactId>maven-surefire-plugin</artifactId>
  181. <configuration>
  182. <systemPropertyVariables>
  183. <startKdc>${startKdc}</startKdc>
  184. <kdc.resource.dir>${kdc.resource.dir}</kdc.resource.dir>
  185. </systemPropertyVariables>
  186. </configuration>
  187. </plugin>
  188. <plugin>
  189. <groupId>org.codehaus.mojo.jspc</groupId>
  190. <artifactId>jspc-maven-plugin</artifactId>
  191. <executions>
  192. <execution>
  193. <id>hdfs</id>
  194. <phase>generate-sources</phase>
  195. <goals>
  196. <goal>compile</goal>
  197. </goals>
  198. <configuration>
  199. <compile>false</compile>
  200. <workingDirectory>${project.build.directory}/generated-src/main/jsp</workingDirectory>
  201. <webFragmentFile>${project.build.directory}/hdfs-jsp-servlet-definitions.xml</webFragmentFile>
  202. <packageName>org.apache.hadoop.hdfs.server.namenode</packageName>
  203. <sources>
  204. <directory>${basedir}/src/main/webapps/hdfs</directory>
  205. <includes>
  206. <include>*.jsp</include>
  207. </includes>
  208. </sources>
  209. </configuration>
  210. </execution>
  211. <execution>
  212. <id>secondary</id>
  213. <phase>generate-sources</phase>
  214. <goals>
  215. <goal>compile</goal>
  216. </goals>
  217. <configuration>
  218. <compile>false</compile>
  219. <workingDirectory>${project.build.directory}/generated-src/main/jsp</workingDirectory>
  220. <webFragmentFile>${project.build.directory}/secondary-jsp-servlet-definitions.xml</webFragmentFile>
  221. <packageName>org.apache.hadoop.hdfs.server.namenode</packageName>
  222. <sources>
  223. <directory>${basedir}/src/main/webapps/secondary</directory>
  224. <includes>
  225. <include>*.jsp</include>
  226. </includes>
  227. </sources>
  228. </configuration>
  229. </execution>
  230. <execution>
  231. <id>datanode</id>
  232. <phase>generate-sources</phase>
  233. <goals>
  234. <goal>compile</goal>
  235. </goals>
  236. <configuration>
  237. <compile>false</compile>
  238. <workingDirectory>${project.build.directory}/generated-src/main/jsp</workingDirectory>
  239. <webFragmentFile>${project.build.directory}/datanode-jsp-servlet-definitions.xml</webFragmentFile>
  240. <packageName>org.apache.hadoop.hdfs.server.datanode</packageName>
  241. <sources>
  242. <directory>${basedir}/src/main/webapps/datanode</directory>
  243. <includes>
  244. <include>*.jsp</include>
  245. </includes>
  246. </sources>
  247. </configuration>
  248. </execution>
  249. </executions>
  250. <dependencies>
  251. <dependency>
  252. <groupId>org.codehaus.mojo.jspc</groupId>
  253. <artifactId>jspc-compiler-tomcat5</artifactId>
  254. <version>2.0-alpha-3</version>
  255. </dependency>
  256. <dependency>
  257. <groupId>org.slf4j</groupId>
  258. <artifactId>slf4j-log4j12</artifactId>
  259. <version>1.4.1</version>
  260. </dependency>
  261. <dependency>
  262. <groupId>org.slf4j</groupId>
  263. <artifactId>jcl104-over-slf4j</artifactId>
  264. <version>1.4.1</version>
  265. </dependency>
  266. </dependencies>
  267. </plugin>
  268. <plugin>
  269. <groupId>org.codehaus.mojo</groupId>
  270. <artifactId>build-helper-maven-plugin</artifactId>
  271. <executions>
  272. <execution>
  273. <id>add-source</id>
  274. <phase>generate-sources</phase>
  275. <goals>
  276. <goal>add-source</goal>
  277. </goals>
  278. <configuration>
  279. <sources>
  280. <source>${project.build.directory}/generated-sources/java</source>
  281. <source>${project.build.directory}/generated-src/main/jsp</source>
  282. </sources>
  283. </configuration>
  284. </execution>
  285. </executions>
  286. </plugin>
  287. <plugin>
  288. <groupId>org.apache.maven.plugins</groupId>
  289. <artifactId>maven-antrun-plugin</artifactId>
  290. <configuration>
  291. <skipTests>false</skipTests>
  292. </configuration>
  293. <executions>
  294. <execution>
  295. <id>compile-proto</id>
  296. <phase>generate-sources</phase>
  297. <goals>
  298. <goal>run</goal>
  299. </goals>
  300. <configuration>
  301. <target>
  302. <echo file="target/compile-proto.sh">
  303. PROTO_DIR=src/main/proto
  304. JAVA_DIR=target/generated-sources/java
  305. which cygpath 2&gt; /dev/null
  306. if [ $? = 1 ]; then
  307. IS_WIN=false
  308. else
  309. IS_WIN=true
  310. WIN_PROTO_DIR=`cygpath --windows $PROTO_DIR`
  311. WIN_JAVA_DIR=`cygpath --windows $JAVA_DIR`
  312. fi
  313. mkdir -p $JAVA_DIR 2&gt; /dev/null
  314. for PROTO_FILE in `ls $PROTO_DIR/*.proto 2&gt; /dev/null`
  315. do
  316. if [ "$IS_WIN" = "true" ]; then
  317. protoc -I$WIN_PROTO_DIR --java_out=$WIN_JAVA_DIR $PROTO_FILE
  318. else
  319. protoc -I$PROTO_DIR --java_out=$JAVA_DIR $PROTO_FILE
  320. fi
  321. done
  322. </echo>
  323. <exec executable="sh" dir="${basedir}" failonerror="true">
  324. <arg line="target/compile-proto.sh"/>
  325. </exec>
  326. </target>
  327. </configuration>
  328. </execution>
  329. <execution>
  330. <id>create-web-xmls</id>
  331. <phase>compile</phase>
  332. <goals>
  333. <goal>run</goal>
  334. </goals>
  335. <configuration>
  336. <target>
  337. <loadfile property="hdfs.servlet.definitions" srcFile="${project.build.directory}/hdfs-jsp-servlet-definitions.xml"/>
  338. <loadfile property="secondary.servlet.definitions" srcFile="${project.build.directory}/secondary-jsp-servlet-definitions.xml"/>
  339. <loadfile property="datanode.servlet.definitions" srcFile="${project.build.directory}/datanode-jsp-servlet-definitions.xml"/>
  340. <echoproperties destfile="${project.build.directory}/webxml.properties">
  341. <propertyset>
  342. <propertyref regex=".*.servlet.definitions"/>
  343. </propertyset>
  344. </echoproperties>
  345. <filter filtersfile="${project.build.directory}/webxml.properties"/>
  346. <copy file="${basedir}/src/main/webapps/proto-hdfs-web.xml"
  347. tofile="${project.build.directory}/webapps/hdfs/WEB-INF/web.xml"
  348. filtering="true"/>
  349. <copy file="${basedir}/src/main/webapps/proto-secondary-web.xml"
  350. tofile="${project.build.directory}/webapps/secondary/WEB-INF/web.xml"
  351. filtering="true"/>
  352. <copy file="${basedir}/src/main/webapps/proto-datanode-web.xml"
  353. tofile="${project.build.directory}/webapps/datanode/WEB-INF/web.xml"
  354. filtering="true"/>
  355. <copy toDir="${project.build.directory}/webapps">
  356. <fileset dir="${basedir}/src/main/webapps">
  357. <exclude name="**/*.jsp"/>
  358. <exclude name="**/proto-*-web.xml"/>
  359. </fileset>
  360. </copy>
  361. </target>
  362. </configuration>
  363. </execution>
  364. <execution>
  365. <id>create-log-dir</id>
  366. <phase>process-test-resources</phase>
  367. <goals>
  368. <goal>run</goal>
  369. </goals>
  370. <configuration>
  371. <target>
  372. <delete dir="${test.build.data}"/>
  373. <mkdir dir="${test.build.data}"/>
  374. <mkdir dir="${hadoop.log.dir}"/>
  375. <copy todir="${project.build.directory}/test-classes/webapps">
  376. <fileset dir="${project.build.directory}/webapps">
  377. <exclude name="proto-*-web.xml"/>
  378. </fileset>
  379. </copy>
  380. </target>
  381. </configuration>
  382. </execution>
  383. <execution>
  384. <phase>pre-site</phase>
  385. <goals>
  386. <goal>run</goal>
  387. </goals>
  388. <configuration>
  389. <tasks>
  390. <copy file="src/main/resources/hdfs-default.xml" todir="src/site/resources"/>
  391. <copy file="src/main/xsl/configuration.xsl" todir="src/site/resources"/>
  392. </tasks>
  393. </configuration>
  394. </execution>
  395. </executions>
  396. </plugin>
  397. <plugin>
  398. <groupId>org.apache.maven.plugins</groupId>
  399. <artifactId>maven-javadoc-plugin</artifactId>
  400. <configuration>
  401. <excludePackageNames>org.apache.hadoop.hdfs.protocol.proto</excludePackageNames>
  402. </configuration>
  403. </plugin>
  404. <plugin>
  405. <groupId>org.apache.rat</groupId>
  406. <artifactId>apache-rat-plugin</artifactId>
  407. <configuration>
  408. <excludes>
  409. <exclude>CHANGES.txt</exclude>
  410. <exclude>CHANGES.HDFS-1623.txt</exclude>
  411. <exclude>.idea/**</exclude>
  412. <exclude>src/main/conf/*</exclude>
  413. <exclude>src/main/docs/**</exclude>
  414. <exclude>dev-support/findbugsExcludeFile.xml</exclude>
  415. <exclude>dev-support/checkstyle*</exclude>
  416. <exclude>dev-support/jdiff/**</exclude>
  417. <exclude>dev-support/*tests</exclude>
  418. <exclude>src/main/native/*</exclude>
  419. <exclude>src/main/native/config/*</exclude>
  420. <exclude>src/main/native/m4/*</exclude>
  421. <exclude>src/test/empty-file</exclude>
  422. <exclude>src/test/all-tests</exclude>
  423. <exclude>src/test/resources/*.tgz</exclude>
  424. <exclude>src/test/resources/data*</exclude>
  425. <exclude>src/test/resources/editsStored*</exclude>
  426. <exclude>src/test/resources/empty-file</exclude>
  427. <exclude>src/main/webapps/datanode/robots.txt</exclude>
  428. <exclude>src/main/docs/releasenotes.html</exclude>
  429. <exclude>src/contrib/**</exclude>
  430. </excludes>
  431. </configuration>
  432. </plugin>
  433. </plugins>
  434. </build>
  435. <profiles>
  436. <profile>
  437. <id>windows</id>
  438. <activation>
  439. <activeByDefault>false</activeByDefault>
  440. <os>
  441. <family>windows</family>
  442. </os>
  443. </activation>
  444. <properties>
  445. <windows.build>true</windows.build>
  446. </properties>
  447. </profile>
  448. <profile>
  449. <id>native</id>
  450. <activation>
  451. <activeByDefault>false</activeByDefault>
  452. </activation>
  453. <build>
  454. <plugins>
  455. <plugin>
  456. <groupId>org.apache.maven.plugins</groupId>
  457. <artifactId>maven-antrun-plugin</artifactId>
  458. <executions>
  459. <execution>
  460. <id>make</id>
  461. <phase>compile</phase>
  462. <goals><goal>run</goal></goals>
  463. <configuration>
  464. <target>
  465. <mkdir dir="${project.build.directory}/native"/>
  466. <exec executable="cmake" dir="${project.build.directory}/native"
  467. failonerror="true">
  468. <arg line="${basedir}/src/ -DGENERATED_JAVAH=${project.build.directory}/native/javah -DJVM_ARCH_DATA_MODEL=${sun.arch.data.model} -DREQUIRE_FUSE=${require.fuse}"/>
  469. </exec>
  470. <exec executable="make" dir="${project.build.directory}/native" failonerror="true">
  471. <arg line="VERBOSE=1"/>
  472. </exec>
  473. </target>
  474. </configuration>
  475. </execution>
  476. <execution>
  477. <id>native_tests</id>
  478. <phase>test</phase>
  479. <goals><goal>run</goal></goals>
  480. <configuration>
  481. <target>
  482. <property name="compile_classpath" refid="maven.compile.classpath"/>
  483. <property name="test_classpath" refid="maven.test.classpath"/>
  484. <exec executable="sh" failonerror="true" dir="${project.build.directory}/native/">
  485. <arg value="-c"/>
  486. <arg value="[ x$SKIPTESTS = xtrue ] || ${project.build.directory}/native/test_libhdfs_threaded"/>
  487. <env key="CLASSPATH" value="${test_classpath}:${compile_classpath}"/>
  488. <env key="SKIPTESTS" value="${skipTests}"/>
  489. </exec>
  490. <exec executable="sh" failonerror="true" dir="${project.build.directory}/native/">
  491. <arg value="-c"/>
  492. <arg value="[ x$SKIPTESTS = xtrue ] || ${project.build.directory}/native/test_libhdfs_threaded"/>
  493. <env key="CLASSPATH" value="${test_classpath}:${compile_classpath}"/>
  494. <env key="SKIPTESTS" value="${skipTests}"/>
  495. </exec>
  496. </target>
  497. </configuration>
  498. </execution>
  499. </executions>
  500. </plugin>
  501. </plugins>
  502. </build>
  503. </profile>
  504. <!-- profile that starts ApacheDS KDC server -->
  505. <profile>
  506. <id>startKdc</id>
  507. <activation>
  508. <property>
  509. <name>startKdc</name>
  510. <value>true</value>
  511. </property>
  512. </activation>
  513. <build>
  514. <plugins>
  515. <plugin>
  516. <groupId>org.apache.maven.plugins</groupId>
  517. <artifactId>maven-enforcer-plugin</artifactId>
  518. <executions>
  519. <execution>
  520. <id>enforce-os</id>
  521. <goals>
  522. <goal>enforce</goal>
  523. </goals>
  524. <configuration>
  525. <rules>
  526. <!-- At present supports Mac and Unix OS family -->
  527. <requireOS>
  528. <family>mac</family>
  529. <family>unix</family>
  530. </requireOS>
  531. </rules>
  532. <fail>true</fail>
  533. </configuration>
  534. </execution>
  535. </executions>
  536. </plugin>
  537. <plugin>
  538. <groupId>org.apache.maven.plugins</groupId>
  539. <artifactId>maven-antrun-plugin</artifactId>
  540. <executions>
  541. <execution>
  542. <id>kdc</id>
  543. <phase>compile</phase>
  544. <goals>
  545. <goal>run</goal>
  546. </goals>
  547. <configuration>
  548. <target>
  549. <chmod file="${kdc.resource.dir}/killKdc.sh" perm="775" />
  550. <exec dir="${kdc.resource.dir}" executable= "./killKdc.sh" />
  551. <mkdir dir="${project.build.directory}/test-classes/kdc/downloads"/>
  552. <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"/>
  553. <untar src="${project.build.directory}/test-classes/kdc/downloads/apacheds-1.5.7.tar.gz" dest="${project.build.directory}/test-classes/kdc" compression="gzip" />
  554. <copy file="${kdc.resource.dir}/server.xml" toDir="${project.build.directory}/test-classes/kdc/apacheds_1.5.7/conf"/>
  555. <mkdir dir="${project.build.directory}/test-classes/kdc/apacheds_1.5.7/ldif"/>
  556. <copy toDir="${project.build.directory}/test-classes/kdc/apacheds_1.5.7/ldif">
  557. <fileset dir="${kdc.resource.dir}/ldif"/>
  558. </copy>
  559. <chmod file="${project.build.directory}/test-classes/kdc/apacheds_1.5.7/apacheds.sh" perm="775" />
  560. <exec dir="${project.build.directory}/test-classes/kdc/apacheds_1.5.7/" executable="./apacheds.sh" spawn="true"/>
  561. </target>
  562. </configuration>
  563. </execution>
  564. <!-- On completion of graceful test phase: closes the ApacheDS KDC server -->
  565. <execution>
  566. <id>killKdc</id>
  567. <phase>test</phase>
  568. <goals>
  569. <goal>run</goal>
  570. </goals>
  571. <configuration>
  572. <target>
  573. <chmod file="${kdc.resource.dir}/killKdc.sh" perm="775" />
  574. <exec dir="${kdc.resource.dir}" executable= "./killKdc.sh" />
  575. </target>
  576. </configuration>
  577. </execution>
  578. </executions>
  579. </plugin>
  580. </plugins>
  581. </build>
  582. </profile>
  583. </profiles>
  584. </project>