You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "James Z.M. Gao (Jira)" <ji...@apache.org> on 2022/04/05 06:05:00 UTC

[jira] [Commented] (MSHADE-160) change default location of dependency-reduced-pom.xml

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

James Z.M. Gao commented on MSHADE-160:
---------------------------------------

as [~rfscholte] suggest, a new [pr|https://github.com/apache/maven-shade-plugin/pull/128] can solve MSHADE-124, then this issue can be solved finally

> change default location of dependency-reduced-pom.xml
> -----------------------------------------------------
>
>                 Key: MSHADE-160
>                 URL: https://issues.apache.org/jira/browse/MSHADE-160
>             Project: Maven Shade Plugin
>          Issue Type: Wish
>    Affects Versions: 2.2
>            Reporter: Gabriele Catania
>            Priority: Trivial
>             Fix For: more-investigation
>
>
> The current defaults of the plugin place the dependency reduced pom alongside the pom.xml as a sibling file.
> Given that it's a generated file, wouldn't it be best to place it by default inside the target directory?
> either something like this:
> {code:xml}
>             <dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml</dependencyReducedPomLocation>
> {code}
> or, even better (to conform with conventions from other plugins):
> {code:xml}
>             <dependencyReducedPomLocation>${project.build.directory}/generated/shade/dependency-reduced-pom.xml</dependencyReducedPomLocation>
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)