maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilya Cherkasov (JIRA)" <>
Subject [jira] [Created] (MSHADE-321) Always respect 'createDependencyReducedPom' flag
Date Fri, 24 May 2019 21:39:00 GMT
Ilya Cherkasov created MSHADE-321:

             Summary: Always respect 'createDependencyReducedPom' flag
                 Key: MSHADE-321
             Project: Maven Shade Plugin
          Issue Type: Improvement
    Affects Versions: 3.2.1
            Reporter: Ilya Cherkasov


Dependency reduced pom (DRP) is generated only if resulting shaded artifact was 'renamed'

However, the documentation regarding DRP states:
Flag whether to generate a simplified POM for the shaded artifact. If set to true, dependencies
that have been included into the uber JAR will be removed from the <dependencies> section
of the generated POM. The reduced POM will be named dependency-reduced-pom.xml and is stored
into the same directory as the shaded artifact. Unless you also specify dependencyReducedPomLocation,
the plugin will create a temporary file named dependency-reduced-pom.xml in the project
Default value is: true.{code}
It's not stating any changes in this flag behavior, by this hiding the conditions upon which
DRP would be generated.

This should be fixed, and DRP should be generated whenever the flag is being set to 'true'

This message was sent by Atlassian JIRA

View raw message