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 422863
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T19:07:24+00:00 2026-05-12T19:07:24+00:00

I have a project divided into several sub-modules (each of them are jar libraries):

  • 0

I have a project divided into several sub-modules (each of them are jar libraries):

myapp
    myapp-commons
    myapp-client
    myapp-server

I’ve configured my pom.xml in order to create 3 assemblies (client.zip, oracle.tar.gz and server.tar.gz) that are finally stored in the myapp/target directory.
I want now is to distribute two of them (oracle.tar.gz and server.tar.gz) to a server using FTP.

Even if I didn’t try yet, I know that I can do that quite easily using some lines of Ant inside my pom.xml, but I don’t really like this option (I will solve my problem with Ant only if there are no other solution).
There are some SO questions (here or here) that offer solutions for that.

My question is to know if there is a better way to do that? I know about the Wagon Maven2 plugin but I didn’t succeed in configuring it in order to deploy the assemblies (and not the JAR created).

  • 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-05-12T19:07:24+00:00Added an answer on May 12, 2026 at 7:07 pm

    As you say in your question, the Ant approach is not ideal, but if you don’t find an alternative, this answer shows how to use the antrun plugin to deploy with FTP. The

    Update, based on your updated question this part is less relevant, I’ll leave it in to help others though.

    The wagon-ftp plugin allows you to connect to FTP servers. I’ve not tried this, but you may then be able to bind the deploy-plugin’s deploy-file goal to an appropriate phase to deliver the files to the FTP server (some hints on usage at this blog).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a reasonably large (thousands of files) project which is divided between client
I have come up with an idea for an audio project and it looks
I'm currently enrolled in a Client/Server Programming class (i.e. Java 2) in college. For
Is it possible to have more than one executable for a single project? My
I'm facing some architectural problems on the project I'm involved in. The project is
I have been thinking and learning a lot about forms lately trying to add
I've spent too much time walking down dead ends on this project, so it's
I am about to start a pilot project in our company to introduce agile
I have the following error: Notice: Undefined index: submit in C:\wamp\www\registration\register.php on line 6
I want to create something similar to Heroku (first I was thinking in EngineYard-like

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.