You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Alexander Kriegisch (Jira)" <ji...@apache.org> on 2021/04/25 13:12:00 UTC
[jira] [Commented] (MSHADE-124) Need better plan for getting
dependency-reduced-pom.xml out of basedir
[ https://issues.apache.org/jira/browse/MSHADE-124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17331518#comment-17331518 ]
Alexander Kriegisch commented on MSHADE-124:
--------------------------------------------
If this has ben an issue for 9 years, maybe some new ideas would help? I use Maven Flatten Plugin in order to create POMs not unlike the dependency-reduced POMs created by Maven Shade POM. I am unaware of any issues, placing them into the build output directory (usually {{target}} like this:
{code:xml}
<outputDirectory>${project.build.directory}</outputDirectory>
<flattenedPomFilename>flattened-pom.xml</flattenedPomFilename>
{code}
Maybe an MSHADE maintainer wants to take a look at how Maven Flatten does that.
> Need better plan for getting dependency-reduced-pom.xml out of basedir
> ----------------------------------------------------------------------
>
> Key: MSHADE-124
> URL: https://issues.apache.org/jira/browse/MSHADE-124
> Project: Maven Shade Plugin
> Issue Type: Bug
> Affects Versions: 1.7.1
> Reporter: Benson Margulies
> Priority: Major
>
> MSHADE-123 reported that putting the d-r-p into some location other
> than 'basedir' causes 'basedir' to follow it around, which can break builds.
> This is hard to fix, given the core maven definition of basedir as 'the dir containing the pom' with no option to change it.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)