Skip to content

Conversation

@phang98
Copy link

@phang98 phang98 commented Sep 4, 2015

MNG-4463: Version ranges cannot be used for artifacts with 'import' scope
This is a quick patch to support version range resolution for artifacts with pom import.

MNG-4463: allow pom import support version range resolution.
MNG-4463: Version ranges cannot be used for artifacts with 'import' scope
@jvanzyl
Copy link
Contributor

jvanzyl commented Sep 11, 2015

Please squash your commits into a single commit.

@phang98
Copy link
Author

phang98 commented Sep 22, 2015

The other commit is on branch, does it matter?

@jvanzyl
Copy link
Contributor

jvanzyl commented Sep 22, 2015

Generally the changes need to be squashed into a single commit and for changes to core you need a corresponding integration test. The integration tests can be found here https://github.com/apache/maven-integration-testing

@phang98
Copy link
Author

phang98 commented Sep 28, 2015

I'll look into the integration test part.

@barthel
Copy link

barthel commented Oct 24, 2015

Since org.apache.maven.repository.internal.DefaultModelResolver.resolveModel(Parent) handles the version range and org.apache.maven.repository.internal.DefaultModelResolver.resolveModel(String, String, String) doesn't.

These differences are not described in org.apache.maven.model.resolution.ModelResolver.

@jvanzyl Should @phang98 adapt the javadoc or harmonize the behaviour?

@barthel
Copy link

barthel commented Nov 23, 2015

I would like to see this behaviour in the next Maven (3.3.10) release.
@phang98 What's the status of the integration tests?
@jvanzyl Do you like to merge this change in the next release if all integration tests are passed?

@michael-o
Copy link
Member

@barthel Please squash!

@barthel
Copy link

barthel commented Nov 23, 2015

@michael-o Sorry. I'm not the owner of this PR. I only push that change forward.

@michael-o
Copy link
Member

@barthel Sorry, messed you up.
@phang98 Can you make the requested changes?

@phang98
Copy link
Author

phang98 commented Nov 24, 2015

Hi guys,
I was away to focus on other critical project for the past few months. I'll get it done by this week. Sorry for the long waiting.

@jvanzyl
Copy link
Contributor

jvanzyl commented Nov 24, 2015

No problem, the 3.3.10 release took so much longer than expected so everyone's schedules got thrown off. Either @michael-o or myself will look at it when you're ready. No rush.

@tomdw
Copy link

tomdw commented Dec 21, 2015

@phang98 any news yet on merging this pull request and getting it into the different 3.0.x, 3.1.x, ... maven versions?

@jvanzyl
Copy link
Contributor

jvanzyl commented Dec 21, 2015

Also, is there a corresponding integration test? I will be offline for the most part over the next two weeks. I'm working on a Maven 4.x branch that touches almost everything so I can work on this provided the integration tests pass. By integration test I mean a test project with an integration test that exercises the new proposed behaviour here: https://github.com/apache/maven-integration-testing

@phang98
Copy link
Author

phang98 commented Jan 6, 2016

I apologize for not fulfill my earlier commitment. :(
Happy new year and get the new traction again on this topic.
Will spend some time this weekend if possible.

@jvanzyl
Copy link
Contributor

jvanzyl commented Jan 6, 2016

No problem, many of us were on holiday and we'll sort it out eventually.

@tomdw
Copy link

tomdw commented Jan 23, 2016

@phang98 any idea when this will get integrated in a maven release? Preferably already in an small 3.0.x maven version as our setup currently requires it.

@asfgit asfgit closed this in 2abeaf0 Jan 30, 2016
@phang98
Copy link
Author

phang98 commented Feb 1, 2016

Thanks for the effort.

asfgit pushed a commit that referenced this pull request Jan 31, 2017
…scope

o Extended the 'ModelResolver' interface to support resolving 'Dependency's
  in addition to 'Parent's.

Closes #64 without merging. ITs are pending to be committed.
asfgit pushed a commit that referenced this pull request Jan 31, 2017
…scope

o Extended the 'ModelResolver' interface to support resolving 'Dependency's
  in addition to 'Parent's.

Closes #64 without merging. ITs are pending to be committed.
asfgit pushed a commit that referenced this pull request Jan 31, 2017
…scope

o Extended the 'ModelResolver' interface to support resolving 'Dependency's
  in addition to 'Parent's.

Closes #64 without merging. ITs are pending to be committed.
asfgit pushed a commit that referenced this pull request Jan 31, 2017
…scope

o Extended the 'ModelResolver' interface to support resolving 'Dependency's
  in addition to 'Parent's.

Closes #64 without merging. ITs are pending to be committed.
asfgit pushed a commit that referenced this pull request Jan 31, 2017
…scope

o Extended the 'ModelResolver' interface to support resolving 'Dependency's
  in addition to 'Parent's.

Closes #64 without merging. ITs are pending to be committed.
asfgit pushed a commit that referenced this pull request Jan 31, 2017
…scope

o Extended the 'ModelResolver' interface to support resolving 'Dependency's
  in addition to 'Parent's.

Closes #64 without merging. ITs are pending to be committed.
asfgit pushed a commit that referenced this pull request Jan 31, 2017
o Extended the 'ModelResolver' interface to support resolving 'Dependency's
  in addition to 'Parent's.

Closes #64 without merging. ITs are pending to be committed.
asfgit pushed a commit that referenced this pull request Feb 1, 2017
o Extended the 'ModelResolver' interface to support resolving 'Dependency's
  in addition to 'Parent's.

Closes #64 without merging. ITs are pending to be committed.
asfgit pushed a commit that referenced this pull request Feb 4, 2017
o Extended the 'ModelResolver' interface to support resolving 'Dependency's
  in addition to 'Parent's.

Closes #64 without merging. ITs are pending to be committed.
asfgit pushed a commit that referenced this pull request Feb 4, 2017
o Extended the 'ModelResolver' interface to support resolving 'Dependency's
  in addition to 'Parent's.

Closes #64 without merging. ITs are pending to be committed.
ChristianSchulte added a commit to ChristianSchulte/maven that referenced this pull request Mar 17, 2017
Closes apache#64 without merging. ITs are pending to be committed.
ChristianSchulte added a commit to ChristianSchulte/maven that referenced this pull request Mar 17, 2017
Closes apache#64 without merging. ITs are pending to be committed.
ChristianSchulte added a commit to ChristianSchulte/maven that referenced this pull request Mar 18, 2017
Closes apache#64 without merging. ITs are pending to be committed.
ChristianSchulte added a commit to ChristianSchulte/maven that referenced this pull request Mar 19, 2017
Closes apache#64 without merging. ITs are pending to be committed.
ChristianSchulte added a commit to ChristianSchulte/maven that referenced this pull request Mar 21, 2017
Closes apache#64 without merging. ITs are pending to be committed.
ChristianSchulte added a commit to ChristianSchulte/maven that referenced this pull request Mar 25, 2017
Closes apache#64 without merging. ITs are pending to be committed.
ChristianSchulte added a commit to ChristianSchulte/maven that referenced this pull request Mar 25, 2017
Closes apache#64 without merging. ITs are pending to be committed.
ChristianSchulte added a commit to ChristianSchulte/maven that referenced this pull request Mar 31, 2017
Closes apache#64 without merging. ITs are pending to be committed.
ChristianSchulte added a commit to ChristianSchulte/maven that referenced this pull request Mar 31, 2017
Closes apache#64 without merging. ITs are pending to be committed.
ChristianSchulte added a commit to ChristianSchulte/maven that referenced this pull request Apr 8, 2017
Closes apache#64 without merging. ITs are pending to be committed.
ChristianSchulte added a commit to ChristianSchulte/maven that referenced this pull request Apr 18, 2017
Closes apache#64 without merging. ITs are pending to be committed.
ChristianSchulte added a commit to ChristianSchulte/maven that referenced this pull request Oct 22, 2017
Closes apache#64 without merging. ITs are pending to be committed.
ChristianSchulte added a commit to ChristianSchulte/maven that referenced this pull request Dec 30, 2017
Closes apache#64 without merging. ITs are pending to be committed.
ChristianSchulte added a commit to ChristianSchulte/maven that referenced this pull request Dec 31, 2017
Closes apache#64 without merging. ITs are pending to be committed.
ChristianSchulte added a commit to ChristianSchulte/maven that referenced this pull request Dec 31, 2017
Closes apache#64 without merging. ITs are pending to be committed.
ChristianSchulte added a commit to ChristianSchulte/maven that referenced this pull request Feb 21, 2018
Closes apache#64 without merging. ITs are pending to be committed.
ChristianSchulte added a commit to ChristianSchulte/maven that referenced this pull request Mar 18, 2018
Closes apache#64 without merging. ITs are pending to be committed.
ChristianSchulte added a commit to ChristianSchulte/maven that referenced this pull request Apr 1, 2018
Closes apache#64 without merging. ITs are pending to be committed.
asfgit pushed a commit that referenced this pull request Jun 10, 2018
…scope

o Extended the 'ModelResolver' interface to support resolving 'Dependency's
  in addition to 'Parent's.

Closes #64 without merging. ITs are pending to be committed.
asfgit pushed a commit that referenced this pull request Jan 13, 2019
Closes #64 without merging. ITs are pending to be committed.
asfgit pushed a commit that referenced this pull request Mar 29, 2019
Closes #64 without merging. ITs are pending to be committed.
asfgit pushed a commit that referenced this pull request Apr 12, 2019
Closes #64 without merging. ITs are pending to be committed.
slachiewicz referenced this pull request in slachiewicz/maven Dec 26, 2019
Closes #64 without merging. ITs are pending to be committed.
slachiewicz referenced this pull request in slachiewicz/maven Feb 5, 2020
Closes #64 without merging. ITs are pending to be committed.
slachiewicz referenced this pull request in slachiewicz/maven Feb 5, 2020
Closes #64 without merging. ITs are pending to be committed.
asfgit pushed a commit that referenced this pull request Mar 28, 2020
Closes #64 without merging. ITs are pending to be committed.
gnodet added a commit to gnodet/maven that referenced this pull request Mar 27, 2025
@jira-importer
Copy link

Resolve #8104

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants