Skip to content

Conversation

@gnodet
Copy link
Contributor

@gnodet gnodet commented Oct 26, 2024

JIRA issue: MNG-8340

We need to double check one last time that it works, or better, add an IT.

@gnodet gnodet added this to the 4.0.0-beta-6 milestone Oct 29, 2024
@gnodet gnodet requested a review from cstamas October 29, 2024 12:47
@cstamas
Copy link
Member

cstamas commented Oct 29, 2024

Just a plain project with one module shade + dep reduced POM would work as an IT?

@gnodet
Copy link
Contributor Author

gnodet commented Oct 29, 2024

Just a plain project with one module shade + dep reduced POM would work as an IT?

It needs child subproject, and the shade plugin should generate the Pom in the target folder (instead of in the same directory than the Pom).

@cstamas
Copy link
Member

cstamas commented Oct 29, 2024

@cstamas
Copy link
Member

cstamas commented Oct 29, 2024

Something is still not right, as this PR w/ shade in IT apache/maven-integration-testing#400 now causes NPE

@gnodet gnodet force-pushed the MNG-8340 branch 2 times, most recently from 79f4756 to a3cb0d1 Compare November 1, 2024 22:05
@gnodet
Copy link
Contributor Author

gnodet commented Nov 13, 2024

It seems this PR also fixes MNG-8336

project.setPluginArtifactRepositories(pluginRepositories);

if (request.getRequestType() == ModelBuilderRequest.RequestType.BUILD_POM) {
if (request.getRequestType() == ModelBuilderRequest.RequestType.BUILD_PROJECT) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One correct change from my "guesswork" 😄

@gnodet gnodet merged commit 46707e0 into apache:master Nov 13, 2024
13 checks passed
@jira-importer
Copy link

Resolve #9515

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.

3 participants