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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T16:59:57+00:00 2026-05-11T16:59:57+00:00

I am working on 3 maven projects. They’re all separate projects, but they share

  • 0

I am working on 3 maven projects. They’re all separate projects, but they share a common base framework. Let’s call the framework A and its dependencies B and C.

There is a library L that A depends on. Any package that uses A will also need to use L, and it will need to use the same version of L that A does. For this reason, I would like a way to specify L in A’s pom and only in A’s pom. I don’t want to have to go and edit B and C’s poms every time I upgrade L.

Is there a way to do this? There’s not a parent pom that A, B, and C share.

  • 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-11T16:59:57+00:00Added an answer on May 11, 2026 at 4:59 pm

    If B and C also uses library L directly then you should define that in B and C pom file. Since its a direct dependency it should be clear by looking into POM file.

    Second option is if library L is common to A, B and C projects then you should define a parent pom.

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

Sidebar

Related Questions

I used Maven before in quite a few projects but they we already configured
I'm currently working on two projects simultaneously: My main project (built with maven) A
I have been working in Java/J2ee projects, in which I follow the Maven structure.
We are using maven to manage our idea projects but I'm having a problem
I have two maven projects A and B, both of which I'm actively working
I'm currently working with a Maven based project (lets call it Core) in Java
I'm working with maven projects in Eclipse (Indigo). In order to compile some classes
I have two maven projects and both are working fine independently. I am able
What are the differences between Netbeans and Eclipse for working with maven projects?
I currently started working on a maven web-app project that needs to be launched

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.