Mayank Jain
Mayank Jain

Reputation: 2564

Take post-build action maven

I want to sftp the binary generated after build (if build is successful) is completed to a different server using maven. Please suggest how this can be done?

I want to edit pom.xml to achieve this.

Build system is maven. Please not that file is to be copied on different server

Thanks

Upvotes: 0

Views: 574

Answers (1)

gizmo
gizmo

Reputation: 11909

You typically described a perfect use case for the Wagon Plugin.

Upvotes: 1

Related Questions