hadoop-strip.sh 782 B

123456789101112131415
  1. #!/bin/sh
  2. sed -i '/<module>hadoop-cloud-storage-project<\/module>/d' pom.xml
  3. sed -i '/<module>hadoop-project<\/module>/d' pom.xml
  4. sed -i '/<module>hadoop-tools<\/module>/d' pom.xml
  5. sed -i '/<module>hadoop-aws<\/module>/d' hadoop-tools/pom.xml
  6. sed -i '/<module>hadoop-openstack<\/module>/d' hadoop-tools/pom.xml
  7. sed -i '/<module>hadoop-sls<\/module>/d' hadoop-tools/pom.xml
  8. sed -i '/<module>hadoop-azure<\/module>/d' hadoop-tools/pom.xml
  9. sed -i '/<module>hadoop-aws<\/module>/d' hadoop-tools/pom.xml
  10. sed -i '/<module>hadoop-kafka<\/module>/d' hadoop-tools/pom.xml
  11. sed -i '/<module>hadoop-azure-datalake<\/module>/d' hadoop-tools/pom.xml
  12. sed -i '/<module>hadoop-aliyun<\/module>/d' hadoop-tools/pom.xml
  13. sed -i '/<module>hadoop-streaming<\/module>/d' hadoop-tools/pom.xml