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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T16:48:49+00:00 2026-06-11T16:48:49+00:00

Here is my situation: I created a new artifact in a library called ‘web-ng-framework’,

  • 0

Here is my situation:

  • I created a new artifact in a library called ‘web-ng-framework’, and moved code into it from an old artifact in the library, ‘web’
  • I deleted the ‘web’ artifact

And here is the problem:

  • ProjectA uses an older version of the library, and so it has a compile dependency on ‘web’
  • ProjectB depends on ProjectA
  • ProjectB uses the latest version of the library, so when ProjectB is built, it contains both the ‘web’ and ‘web-ng-framework’ libraries, causing a possible conflict

Does anyone know how I can solve this? Thanks!


EDIT:

Would doing ‘relocation’ of ‘web’ to ‘web-ng-framework’ maybe work better? In ProjectA, I could include a dependency on ‘web’ so that Maven would see that what it really needs is ‘web-ng-framework’. Would that work?

  • 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-11T16:48:50+00:00Added an answer on June 11, 2026 at 4:48 pm

    A classic solution to this problem is the ‘Version 99’ hack.

    To do this, use the following in your root pom:

    <dependencyManagement>
      <dependency>
         <groupId>your.group</groupId>
         <artifactId>web</artifactId>
         <version>99.0-does-not-exist</version>
      </dependency>
    </dependencyManagement>
    

    Then put an empty web-99.0-does-not-exist.pom and web-99.0-does-not-exist.jar in your repository.
    This ensures that every project that inherits from this root pom will not get the old version of the web.jar anymore.

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

Sidebar

Related Questions

Here is the situation : Some process writes lines into a fifo file (created
Okay, here's the situation: I've created a class extending Android's SQLOpenHelper class. I've also
So here's is the situation: I've created a custom button that minimizes my WPF
Okay, here's the situation: We have a table of about 50 columns (created by
I have an situation here that looks very like a SELECT N+1 from the
I have a simple situation here. lets face html code first => <form name=geoKey
I got a little confusing situation here when I use the Context from django.template.
I have created a new VS2008 ASP.Net Web service project, with the default name
Okay, here's my situation. I have a WPF app that I have created that
Here is the situation I created an entity. It has a first and last

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.