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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T05:38:26+00:00 2026-06-09T05:38:26+00:00

I have a small Java project in a version control system (git), shared by

  • 0

I have a small Java project in a version control system (git), shared by 4 developers. I’m thinking about using Maven in this project as a build tool.

Dependency management is a wanted feature, but I don’t want:
– automatic updates of dependencies (as this could break my software).
– to rely on an Internet connection to download dependencies from a remote repository and be able to compile my code.

Therefore, the questions:

1) May I configure Maven to use local dependencies (eg jars shared in a VCS)? I don’t have several dependencies shared among several projects and my dependencies rarely will be updated, so using Maven repositories is not worth it to me imho.

2) If I choose to use a Maven repository, may I configure one in my local network? I don’t want a remote repository mirror or a portal to the remote repository. I want a standalone repository with my dependencies, located at a server in my local network.

3) If I use the default Maven approach with the remote repository, could I turn off dependency updates after all dependencies are downloaded the first time?

Thanks in advance for any help.

  • 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-09T05:38:27+00:00Added an answer on June 9, 2026 at 5:38 am

    Answer to 1:

    Yes you can, google for System-Scope dependencies, BUT: It is not a good idea to do this, because you will remove one of the key-features.

    <dependency>
      <groupId>com.mycompany</groupId>
      <artifactId>app-lib</artifactId>
      <version>3.1.0</version>
      <scope>system</scope>
      <systemPath>${project.basedir}/libs/app-lib-3.1.0.jar</systemPath>
    </dependency>
    

    Answer to 2:

    Yes you can:
    – Artifactory
    – Nexus

    Answer to 3:

    Yes you can. For that case you can use the —offline flag OR better approach: release all dependencies.

    Some thoughts:
    You want to use a dependecy-management system, without using dependency-management, sounds strange to mee.

    If you fear, that changes within your libs may break your code, just don’t use SNAPSHOTs.
    Try a kind of version scheme. We use

    x.y.z

    • if z changes in a release, the jar should be compatible.
    • if y changes, you’ll have to change youz code
    • if x changes… well everthing needs to be renewed.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a small Java/Gradle project. I'm using the Application plugin to create a
i have a small java project i want to build using a makefile, the
I have a Java project that builds using Apache Ant to a website. This
I have a small maven project that build a java jar file. I added
I have a small application in java which searches images using bing image search.
I currently have a small text game I've written in Java that utilizes System.out.print();
I am developing a small project using Java Swing. I am using jdk 7
I am new user of Sonar. I have a small project in java which
I have inherited the maintenance of a small Java project, with a DLL dependency
I have a small Java project in eclipse. The project has an src and

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.