maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MSHADE-323) Flatten Maven Plugin conflicts with Maven Shade Plugin
Date Mon, 29 Jul 2019 14:01:01 GMT
Mike created MSHADE-323:
---------------------------

             Summary: Flatten Maven Plugin conflicts with Maven Shade Plugin
                 Key: MSHADE-323
                 URL: https://issues.apache.org/jira/browse/MSHADE-323
             Project: Maven Shade Plugin
          Issue Type: Bug
            Reporter: Mike


When using Flatten Maven Plugin in the same project with Maven Shade Plugin then the dependency
reduced POM is _not_ flattened.

What i encountered that having shade plugin configured according to [https://maven.apache.org/maven-ci-friendly.html],
and having shade plugin configured with the default settings to produce uber jar the ${revision}
variable remains and gets installed/deployed within the final pom, thus making the pom in
the repository invalid.

It seems that both plugins transform original pom. And then what gets installed in the last
one, which is the 'shades' one. I'm not sure that's a bug (in a sense that it is shade's fault).

See also [https://github.com/mojohaus/flatten-maven-plugin/issues/100]



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Mime
View raw message