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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T02:30:58+00:00 2026-05-17T02:30:58+00:00

This may be more of a process then technology solution. I am currently working

  • 0

This may be more of a process then technology solution. I am currently working on a project that is split into a library and an implementation application. Doing this has been a very effective way to debug the library as the application is built. I would like to use Maven for both projects but I do not want to do a build and deploy for each minor change. Is there a way for Maven to reference the project as the repository almost?

  • 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-17T02:30:59+00:00Added an answer on May 17, 2026 at 2:30 am

    You’re right, this is a process question. I interpret your question as wanting to avoid declaring a specific version of the library as a dependency in the implementation. The intent is to update either component independently, in particular you want to be able to update the library without having to rebuild the implementation.

    You will obviously need to rebuild and redeploy something if you make a change. However, I can see two steps that should address your concern. I’m going to call your components ‘lib’ and ‘app’.

    1. Create an empty “wrapper” project, dependent (scope=runtime) on both lib and app. This wrapper is what you will deploy. When you update lib or app, you only need to update the version of that dependency in the wrapper project. When you “build” (compile is a no-op) and test the wrapper project, you’ll confirm that the old/new app still works with the new/old lib, and you can deploy the update. Of course, if your tests fail you will need to update the app’s lib dependency to see if a rebuild fixes the problem, and try to find which component has the bug. So this is only a halfway solution, in my opinion.
    2. Better is to also create a ‘lib-api’ component, which declares the interface between lib and app. Make lib and app both dependent on lib-api, but the app is not dependent on a specific version of lib. You may still want a wrapper project as above, to facilitate deployment (since you’ll need to actually deploy both lib and app). But as long as you don’t need to affect the library api, you can be confident that your changes to either lib or app are protected from each other and won’t (can’t) require a rebuild. This might make it easier to track down any bugs as well. If you need to update lib-api, you will obviously need to rebuild everything, but that would be true anyway and at least this way it’s exposed in the project structure.

    Hopefully this makes sense to you and I’ve correctly interpreted your question.

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

Sidebar

Related Questions

This is more of a design question that others may have had similar experience
Instead of posting in Angular mailing list, I think this may be more of
this may be a more general opengl question. using OpenGL ES for 2d, and
I believe this code may require more effort to comprehend than average, so I'm
So this may seem like a widely-answered question, but I'm interested more in the
I know this may be a dumb question, but my background is more in
May a DTO have relations to other DTOs? Any more opinions on this topic
I'm planning on running a ruby process that may take a month to finish.
I'm currently working with an online application that requires multiple screens/steps in order to
This may be a stupid question but I have a code with the following

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.