xuqinghuang commented on issue #5320:
URL: https://github.com/apache/seatunnel/issues/5320#issuecomment-1807140532

   抱歉,问题很早就找到原因了,但是忘记关闭了。
   产生上面这个错误的原因是因为我在执行命令时并不是在 seatunnel_home 目录下执行 `install-plugin.sh` 导致的。
   在 `install-plugin.sh` 脚本中会往上一层目录找到 `mvnw` 脚本,而 `mvnw` 脚本中会用 `pwd` 
命令获取路径,然后在该路径下查找 `.mvn/wrapper/maven-wrapper.jar` 这个文件,此时就出现了上面的问题。
   猜测这个`mvnw`应该是直接拷贝过来使用的,当时可能没考虑到这一点。理论上修改 `mvnw` 脚本中使用 `pwd` 
获取目录的方式就可以解决这个问题,或者在入门文档中写清楚 `install-plugin.sh` 需要再 seatunnel_home 
下执行也可以避免这个问题。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to