[
https://issues.apache.org/jira/browse/FLINK-30350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-30350:
-----------------------------------
Labels: pull-request-available (was: )
> Write dependency-reduced pom to default directory
> -------------------------------------------------
>
> Key: FLINK-30350
> URL: https://issues.apache.org/jira/browse/FLINK-30350
> Project: Flink
> Issue Type: Technical Debt
> Components: Build System
> Reporter: Chesnay Schepler
> Assignee: Chesnay Schepler
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.17.0
>
>
> The dependency-reduced pom is currently written to the target/ directory.
> This makes sense in general as it is a generated artifact, and should be
> automatically cleaned-up when doing a mvn clean.
> The shade-plugin however marks this pom as the modules pom during the build,
> and maven has a requirement that the basedir of a module is where the pom
> resides.
> As a result the basedir is changed whenever dependency-reduction is applied,
> causing weird side-effects like changing the working directory during IT
> cases.
> Let's bite the bullet and keep the dependency-reduced pom next to the
> original pom, with some extra configuration to remove it during a mvn clean.
> This side-steps all the issues encountered in FLINK-30083.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)