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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T23:13:58+00:00 2026-06-11T23:13:58+00:00

Hypothetically, if I’ve got an user account which doesn’t have Internet access (e.g. for

  • 0

Hypothetically, if I’ve got an user account which doesn’t have Internet access (e.g. for security reason the dev is stuck on a desktop inside a bunker), can I simply copy a few sub-repository directly into the user’s ~/.m2/repository/ dir?

For example can I simply take the latest, say:

~/.m2/repository/net/sf/trove4j

directory from one system and manually copy it into the ~/.m2/repository/ of the user which doesn’t have Internet access?

Would that work? I did a quick diff between two find ~/.m2 (one before and one after adding trove4j using Maven on the machine that has Internet access) and it looks like it’s all there’s needed.

But is there any gotcha? Should I worry about something?

  • 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-11T23:14:00+00:00Added an answer on June 11, 2026 at 11:14 pm

    AFAIK, this should be safe. I know we’ve done it with developer machines in the past and we’ve seen no problems. Maven uses the file and folder names in your repo to represent artifact id, group id, etc rather than using some xml file somewhere to hold this information. (Granted XML files are used within the repo for other reasons.)

    Take a look at this question maven artifact repository directory structure specs and specifically the repo layout doc for more information on how the repo layout works.

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

Sidebar

Related Questions

Let's say I have <parent> <module-prj-1> <module-prj-2> <module-prj-3> Hypothetically, module-prj-1 is a project which
My problem is this: Say I hypothetically have a table called fastfood which has
Hypothetically I have two tables Employee and Locations. Additionaly I have a view viewEmpLocation
I have a controller/model hypothetically named Pets. Pets has the following declarations: belongs_to :owner
I'm using PHP/MySql. If I have two tables (hypothetically) as follows: id name and
Say hypothetically I have a class... class Main { $prop1 = 2; $prop2 =
I mean hypothetically is it possible to control query execution? For example I got
I have a collected named foo hypothetically. Each instance of foo has a field
Hypothetically, if the user clicks save,save,save,save a bunch of times on a text file,
I have a conceptual question. I am wondering how companies such as Alexa Internet

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.