Uploaded image for project: 'Maven Dependency Plugin'
  1. Maven Dependency Plugin
  2. MDEP-803

addParentPoms only partially working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.3.0
    • None
    • copy-dependencies
    • None

    Description

      Hello,

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

       

      <addParentPoms> Add parent poms to the list of copied dependencies (both current project pom parents and dependencies parents).

      In fact only current projects POM parents are copied.

       

      My configuration is:

       

                              <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>

      Thanks

      François

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            François François Régnier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: