Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MNG-8210] Replace Maven "module" term by "subproject" #1651

Merged
merged 5 commits into from
Aug 29, 2024
Merged

Conversation

gnodet
Copy link
Contributor

@gnodet gnodet commented Aug 13, 2024

Based on @desruisseaux initial commit to rename subproject #1649.
This PR adds subprojects to 4.1.0 POM, deprecate modules, and add a discovery mechanism which kicks in when:

  • pomVersion == 4.1.0
  • packaging == pom
  • no modules or subprojects are specified

@gnodet gnodet changed the title Subprojects [MNG-8210] Replace Maven "module" term by "subproject" in documentation Aug 13, 2024
@gnodet gnodet requested a review from cstamas August 13, 2024 15:41
@@ -708,6 +708,9 @@ public List<Plugin> getBuildPlugins() {
}

public List<String> getModules() {
Copy link
Member

Choose a reason for hiding this comment

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

Deprecate it? Or maybe does not matter, as in API 4 plugins have no reach to this class?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, I was assuming this change targets 4.x api and plugins, so I would not care about the v3 api.

@gnodet gnodet changed the title [MNG-8210] Replace Maven "module" term by "subproject" in documentation [MNG-8210] Replace Maven "module" term by "subproject" Aug 13, 2024
@mthmulders
Copy link
Contributor

Shouldn't the subprojects be transformed to modules in the consumer pom?

@gnodet
Copy link
Contributor Author

gnodet commented Aug 15, 2024

Shouldn't the subprojects be transformed to modules in the consumer pom?

Actually, the modules/subprojects are build information, so not available in the consumer POM.

@gnodet gnodet marked this pull request as draft August 16, 2024 12:21
@gnodet gnodet marked this pull request as ready for review August 27, 2024 20:25
@gnodet gnodet added this to the 4.0.0-beta-4 milestone Aug 27, 2024
@gnodet gnodet requested a review from cstamas August 27, 2024 21:10
@gnodet gnodet merged commit b370e5e into master Aug 29, 2024
28 checks passed
This pull request was closed.
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.

5 participants