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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T13:25:02+00:00 2026-06-04T13:25:02+00:00

When I run mvn install , the compiled artifacts lands in my local repository,

  • 0

When I run mvn install, the compiled artifacts lands in my local repository, the same as this where remote artifacts are installed. Sometimes it is the problem, because you are mixing public jars, which have zero security value (they are already public) with those with highest security value (those you create). Somewhere between goes artifacts downloaded from non-public repos. This remix is hard to manage from security point of view.

The most problematic is the need to give full repository to the new developer (yes, of course, he can run maven and wait the whole day for all plugins etc. to download, but this is the loss of time). It is not easy to remove everything that he should not have access to.

I’ve tried to find in maven documentation a switch for choosing the location where install is made, but this documentation is quite hard to search throug, so the fact I’ve found nothing doesn’t make me believe no such options exists or was not tried to be created. So I’m querying the community for such solution.

  • 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-04T13:25:04+00:00Added an answer on June 4, 2026 at 1:25 pm

    The best recommendation i can give is to use a repository manager like Archiva, Artifactory or Nexus (alphabetical order). Furthermore it would not make sense to install files into a different location, cause you will need to change for builds between several local repositories which will destroy the idea of the local repository.

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

Sidebar

Related Questions

While installing my project to local repository with mvn install command, hibernate mapping files
I have a problem currently when i run the command mvn install, the artifact
I run mvn install in command line and get stuck by below error. Caused
Is there a way to control the Maven embedded Tomcat version? mvn tomcat:run This
When I run mvn clean install , for the integration-test phase it does not
I want that when I run the mvn install, a war can be generated
My objective is to install a jar file in a Maven repository. This post
I have maven project with modules. I want on run mvn install that install
When I run my build using maven 2 mvn clean install my tests are
I try to run a mvn install, it compiles fine, but for some reason

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.