-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[MNG-8210] Replace Maven "module" term by "subproject" #1651
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
Changes from 2 commits
1d17e23
89cd556
8e87501
1a5a6dc
9a12937
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -35,7 +35,8 @@ enum Version { | |
| V20, | ||
| V30, | ||
| V31, | ||
| V40 | ||
| V40, | ||
| V41 | ||
| } | ||
|
|
||
| /** | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -708,6 +708,9 @@ public List<Plugin> getBuildPlugins() { | |
| } | ||
|
|
||
| public List<String> getModules() { | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. |
||
| if (!getModel().getDelegate().getSubprojects().isEmpty()) { | ||
| return getModel().getDelegate().getSubprojects(); | ||
| } | ||
| return getModel().getModules(); | ||
| } | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| <project xmlns="http://maven.apache.org/POM/4.1.0"> | ||
| <parent> | ||
| <groupId>subprojects-discover</groupId> | ||
| <artifactId>parent</artifactId> | ||
| </parent> | ||
| <artifactId>child</artifactId> | ||
| <packaging>jar</packaging> | ||
| </project> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| <project xmlns="http://maven.apache.org/POM/4.1.0"> | ||
| <groupId>subprojects-discover</groupId> | ||
| <artifactId>parent</artifactId> | ||
| <version>1</version> | ||
| <packaging>pom</packaging> | ||
| </project> |
Uh oh!
There was an error while loading. Please reload this page.