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

  • Home
  • SEARCH
  • 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 4031336
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T11:35:04+00:00 2026-05-20T11:35:04+00:00

I have a Maven 2 multi-module project and want to be sure everything is

  • 0

I have a Maven 2 multi-module project and want to be sure everything is taken from my local checked-out source.

  • Is it possible to tell Maven to never download anything for the modules it has the source of? Do I have to disable the remote repositories?
  • Does Maven always have to go the expensive way of installing a module into the local repository, and then extracting it again for each of its dependents?
  • Does Maven automatically first recompile dependencies for a module if their local source changed, and then compile the dependent?
  • 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-20T11:35:05+00:00Added an answer on May 20, 2026 at 11:35 am

    Is it possible to tell Maven to never download anything for the modules it has the source of?

    No. Maven 2 only “sees” the current module while it builds. On the plus side, you can build part of the tree by running Maven in a module.

    Do I have to disable the remote repositories?

    Yes, use the “offline” option -o or -offline. Or use settings.xml with a proxy that doesn’t have any files. This isn’t what you want, though.

    Does Maven always have to go the expensive way of installing a module into the local repository, and then extracting it again for each of its dependents?

    Yes but it’s not expensive. During the build, the file is copied (that was expensive ten years ago). When a dependency is used, Maven just adds the path to the file to the Java process. So the file isn’t copied or modified again. Maven assumes that files in the local repository don’t change (or only change once when a download/install happens).

    Does Maven automatically first recompile dependencies for a module if their local source changed?

    No. There were plans for Maven 3 but I can’t find an option to enable something like that.

    To solve your issues, you should install a local proxy (like Nexus).

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

Sidebar

Related Questions

I have a Java multi-module Maven project that I want to build an MVN
I have a multi module Maven project and I want the sub projects to
I have a multi-module maven project with an installer sub-project. The installer will be
We have a multi-module maven project that uses a profile that defines a buildnumber-maven-plugin
I have created a multi module maven project. Now I have shared the project
I have a multi module maven project and I would like to use versions
I use eclipse and the maven plugin. I have a big multi-module project (~6
I have a multi-module project and I want to deploy on the project's site
I have a multi-module maven project (several levels of nesting). Normally, when I execute
I have Maven multi-module project with such structure: parent-pom-project -- module1 -- module2 At

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.