Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9252753
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T11:01:48+00:00 2026-06-18T11:01:48+00:00

Cargo Problem Using Maven, uploading to server seems to be done via Cargo plugin

  • 0

Cargo Problem

Using Maven, uploading to server seems to be done via Cargo plugin or the “Tomcat plugin“. But as it seems they use the Tomcat manager application to upload to the server:

  • This link: Maven: copy WAR to Tomcat's webapps directory, does not provide a way to upload, It’s about copying (locally) the package. I don’t want to copy locally. Want to upload to remote server.
  • This one: Deploying maven project into an existing Tomcat server, suggests Tomcat plugin. But I don’t want to be dependent on manager application access.

Just Want Uploading The File

Any way I just want to have something like: simply providing FTP of SFTP access to the target folder (usually $CATALINA_HOME/webapp) for the plugin and it just uploads the war file to the target. No manager access, nothing like that. The rest is taken of by autodeploy in Tomcat.

So, what is the solution?

P.S. mvn delpoy does not seem to be a solution, since it says it’s for “repositories” not runtime.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T11:01:49+00:00Added an answer on June 18, 2026 at 11:01 am

    You can use either the maven-exec-plugin to execute any shell script doing the scp.

    Another solution, if you are familiar with ant is to use the maven-antrun-plugin and having an ant task doing the scp

    helpful links :

    • exec-plugin
    • antrun-plugin + scp
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using the Cargo Maven plugin to deploy a WAR to a remote server,
I'm using the cargo plugin to deploy my app to a remote server during
I am using the cargo-maven2-plugin to start and stop a tomcat container from my
I am trying to start Tomcat by using maven antrun plugin in a job
I am using the cargo-maven2-plugin:1.2.0 to do redeployments of my GWT 2.4.0 based web
I have integrated Cargo plugin in my maven 2 project POM.xml. During hot deployment
I use Maven Cargo (1.2.1) to configure and start an Glassfish 3.1.2 for Integration
i'm trying to set up the selenium-maven-plugin and having some difficulties i hope somebody
I'm using Cargo Collective to host http://cargocollective.com/amytdatta/biography I have this bit of jQuery in
I'm searching for something that can deploy on an application server (tomcat) a war

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.