1

I am using maven and now I want to deploy war to server using ftp.

After lot many search I didn't found perfect answer however i found following answer Using Maven for deployment

It is uses ant plugin and answer is also 4 years old, so right now is there any better option? Can someone please provide good reference for uploading war using ftp in maven? I hardly needed.

Community
  • 1
  • 1
commit
  • 4,777
  • 15
  • 43
  • 70

1 Answers1

0

There's an example page for it, see the maven-deploy-plugin

Robert Scholte
  • 11,889
  • 2
  • 35
  • 44
  • I have already seen it and it is for uploading artifacts I want to deploy war at server using ftp – commit Dec 18 '13 at 07:20
  • you mean to a webcontainer, not to an artifact repository? – Robert Scholte Dec 18 '13 at 19:00
  • Most webcontainers have other/better ways to deploy/undeploy. There is http://cargo.codehaus.org/ which is a unified interface for webcontainers. This often makes it harder to configure. For some webcontainers are specific plugins, like for tomcat and jboss. What's the webcontainer you are using? – Robert Scholte Dec 19 '13 at 18:12