You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "François Régnier (Jira)" <ji...@apache.org> on 2022/04/26 12:48:00 UTC

[jira] [Created] (MDEP-803) addParentPoms partially working

François Régnier created MDEP-803:
-------------------------------------

             Summary: addParentPoms partially working
                 Key: MDEP-803
                 URL: https://issues.apache.org/jira/browse/MDEP-803
             Project: Maven Dependency Plugin
          Issue Type: Bug
          Components: copy-dependencies
    Affects Versions: 3.3.0
            Reporter: François Régnier


Hello,

In the dependency:copy-dependencies documentation, it is written:

 
{noformat}
<addParentPoms> Add parent poms to the list of copied dependencies (both current project pom parents and dependencies parents).{noformat}
In fact only current projects POM parents are copied.

 

My configuration is:

 
{noformat}
                        <execution>
                            <id>download-escrow-sources</id>
                            <goals>
                                <goal>copy-dependencies</goal>
                            </goals>
                            <phase>prepare-package</phase>
                            <configuration>
                                <includeScope>runtime</includeScope>
                                <classifier>sources</classifier>
                                <outputDirectory>${escrow.build.directory}</outputDirectory>
                                <includeGroupIds>com.xxx,com.yyy</includeGroupIds>
                                <prependGroupId>true</prependGroupId>
                                <copyPom>true</copyPom>
                                <addParentPoms>true</addParentPoms>
                            </configuration>
                        </execution>{noformat}
Thanks

François

 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)