Maven copy local file to remote server using SSH

后端 未结 6 2308
借酒劲吻你
借酒劲吻你 2020-11-29 00:57

Can Maven copy local file to a remote server using SSH?

I want to specify location in maven configuration file and to copy that file (or files) to server each time

6条回答
  •  猫巷女王i
    2020-11-29 01:12

    Maven is not a generic tool, it's a tool to make your build process reusable. I suggest to use an embedded antrun build step. In this step, you can do anything using the normal ant syntax which you'd use in build.xml.

提交回复
热议问题