-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
feat: flatten non-BOM artifacts #3913
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
base: 2.x
Are you sure you want to change the base?
Changes from all commits
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 |
---|---|---|
|
@@ -630,6 +630,37 @@ | |
</configuration> | ||
</plugin> | ||
|
||
<!-- | ||
~ Memento rules to remove overrides from child modules, whenever the changes are moved to `logging-parent`. | ||
~ | ||
~ When empty, please comment this execution out, but do not delete it! | ||
--> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-enforcer-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>remove-overrides</id> | ||
<goals> | ||
<goal>enforce</goal> | ||
</goals> | ||
<!-- Wait until we retrieve `parent.version` property in `build-helper-maven-plugin` below --> | ||
<phase>initialize</phase> | ||
<inherited>false</inherited> | ||
<configuration> | ||
<rules> | ||
<requireProperty> | ||
<property>parent.version</property> | ||
<regex>12\.1\.1</regex> | ||
<regexMessage>Remember to remove overrides from child modules, whenever the changes are moved to `logging-parent`: | ||
* Remove the override `flatten-maven-plugin` configuration from `log4j-parent/pom.xml`.</regexMessage> | ||
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. Why do we do this? Are we intending to move this "non-BOM flattening" logic to 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. In the long term, I think we should move this to 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. You're right. Could you then instead move this PR to |
||
</requireProperty> | ||
</rules> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
|
||
<!-- ███████ ████████ █████ ██████ ████████ ███████ ██ ████████ ███████ | ||
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ | ||
███████ ██ ███████ ██████ ██ ███████ ██ ██ █████ | ||
|
@@ -657,6 +688,21 @@ | |
<locale>en_US</locale> | ||
</configuration> | ||
</execution> | ||
<!-- Used by `maven-enforcer-plugin` above --> | ||
<execution> | ||
<id>capture-parent-version</id> | ||
<goals> | ||
<goal>regex-property</goal> | ||
</goals> | ||
<phase>validate</phase> | ||
<inherited>false</inherited> | ||
<configuration> | ||
<name>parent.version</name> | ||
<value>${project.parent.version}</value> | ||
<regex>^(.+)$</regex> | ||
<replacement>$1</replacement> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.