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

[jira] [Created] (MSHADE-387) relativePath added in the reduced POM when POM and parent POM do not have relativePath

Shahim Essaid created MSHADE-387:
------------------------------------

             Summary: relativePath added in the reduced POM when POM and parent POM do not have relativePath
                 Key: MSHADE-387
                 URL: https://issues.apache.org/jira/browse/MSHADE-387
             Project: Maven Shade Plugin
          Issue Type: Bug
    Affects Versions: 3.2.4
         Environment: Windows and Linux, Java 11, Maven 3.6.3
            Reporter: Shahim Essaid


I'm a new user of the plugin. I have a project that has a -SNAPSHOT parent resolved from a remote repository. The generated reduced POM has the following for the parent:

<relativePath>../pom.xml/pom.xml</relativePath>

and I'm not able to understand why this is occurring so I'm assuming it is a bug. It causes build warnings for projects using the deployed shaded artifact.  Neither the parent or the project's POMs have a relative path entry. I tried a build on a different machine and the same results.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)