You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Karl Heinz Marbaise (Jira)" <ji...@apache.org> on 2023/02/05 18:10:00 UTC

[jira] [Comment Edited] (MSHADE-437) Add clean Mojo to remove the dependency-reduced-pom.xml

    [ https://issues.apache.org/jira/browse/MSHADE-437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17684333#comment-17684333 ] 

Karl Heinz Marbaise edited comment on MSHADE-437 at 2/5/23 6:09 PM:
--------------------------------------------------------------------

It might be a better solution to think about moving those generated files into the {{target}} directory instead (which is a breaking change; so only with major version change) ... than creating a {{clean}} goal... also [there is a configuration to change that location|https://maven.apache.org/plugins/maven-shade-plugin/shade-mojo.html#dependencyReducedPomLocation] (can be done in a pluginManagement)....


was (Author: khmarbaise):
It might be a better solution to think about moving those generated files into the {{target}} directory instead (which is a breaking change; so only with major version change) ... than creating a {{clean}} goal... 

> Add clean Mojo to remove the dependency-reduced-pom.xml
> -------------------------------------------------------
>
>                 Key: MSHADE-437
>                 URL: https://issues.apache.org/jira/browse/MSHADE-437
>             Project: Maven Shade Plugin
>          Issue Type: New Feature
>            Reporter: Niels Basjes
>            Priority: Major
>
> The shade plugin generates files as part of the shade mojo that live outside the standard directories cleaned by the maven-clean-plugin.
> I propose to add a clean mojo that makes it a lot easier to correctly remove these generated files.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)