Skip to content

[MNG-4347] Set the profiles on reecursive dependencyManagement imports#158

Closed
clarkperkins wants to merge 1 commit intoapache:masterfrom
clarkperkins:bugfix/recursive-dependency-management-imports
Closed

[MNG-4347] Set the profiles on reecursive dependencyManagement imports#158
clarkperkins wants to merge 1 commit intoapache:masterfrom
clarkperkins:bugfix/recursive-dependency-management-imports

Conversation

@clarkperkins
Copy link
Copy Markdown

When a set of default repositories are specified via a profile in the global settings.xml, recursive dependencyManagement imports cannot be resolved from repositories in the profiles, since the profiles are not currently passed along to the ModelBuildingRequest used for resolving recursive imports. This adds the profile to that ModelBuildingRequest.

@clarkperkins clarkperkins changed the title Set the profiles on reecursive dependencyManagement imports [MNG-4347] Set the profiles on reecursive dependencyManagement imports Feb 16, 2018
@clarkperkins
Copy link
Copy Markdown
Author

clarkperkins commented Feb 16, 2018

I just found this issue in jira, added the ticket number

@clarkperkins
Copy link
Copy Markdown
Author

Looks like there's a better solution out there for this, I'm going to close this.

pzygielo pushed a commit to pzygielo/maven that referenced this pull request Jan 4, 2023
gnodet pushed a commit to gnodet/maven that referenced this pull request Nov 20, 2024
…apache#158)

An IT for Maven 3.9+ that "exercise" both resolver transport: wagon and native (so we have 2 tests both forcing transport with `-Dmaven.resolver.transport` one wagon (which is default, but setting is there to be explicit) and once native.

It builds a project that needs a plugin (to pull it will use set transport), and that plugin will use resolver as well to resolve set artifact. If any of these fails, maven project fails.

Related fix: apache#732 (jn maven-3.9.x and master)
@jira-importer
Copy link
Copy Markdown

Resolve #5813

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.

2 participants