You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Falko Modler (JIRA)" <ji...@codehaus.org> on 2012/07/11 16:46:21 UTC

[jira] (MDEP-358) go-offline does not include parent(s)

Falko Modler created MDEP-358:
---------------------------------

             Summary: go-offline does not include parent(s)
                 Key: MDEP-358
                 URL: https://jira.codehaus.org/browse/MDEP-358
             Project: Maven 2.x Dependency Plugin
          Issue Type: Bug
    Affects Versions: 2.4
         Environment: Maven 3.0.4, Java 6u33, Windows 7 x64
            Reporter: Falko Modler


I expected go-offline to download the parent (and all transitive parents) of the module it is executed for, but it doesn't do so.

AFAIK there is no workaround, as the copy goal does not retain the repository layout (there is no useRepositoryLayout).
copy-dependencies does retain the repository layout (see useRepositoryLayout) but it does not find the parent(s).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MDEP-358) go-offline does not include parent(s)

Posted by "Paul Gier (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MDEP-358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Gier updated MDEP-358:
---------------------------

    Component/s: go-offline
    
> go-offline does not include parent(s)
> -------------------------------------
>
>                 Key: MDEP-358
>                 URL: https://jira.codehaus.org/browse/MDEP-358
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Bug
>          Components: go-offline
>    Affects Versions: 2.4
>         Environment: Maven 3.0.4, Java 6u33, Windows 7 x64
>            Reporter: Falko Modler
>
> I expected go-offline to download the parent (and all transitive parents) of the module it is executed for, but it doesn't do so.
> AFAIK there is no workaround, as the copy goal does not retain the repository layout (there is no useRepositoryLayout).
> copy-dependencies does retain the repository layout (see useRepositoryLayout) but it does not find the parent(s).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MDEP-358) go-offline does not include parent(s)

Posted by "Gareth Deli (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MDEP-358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gareth Deli updated MDEP-358:
-----------------------------

    Attachment: MDEP-358-maven-dependency-plugin.patch

This patch fixes the problem when running the copy-dependencies goal.

There is an extra parameter added called copyParentPom which defaults to false so as to keep the plugin backwards compatible. If you set that to true, it will recursively get all parent poms for all project dependencies.
                
> go-offline does not include parent(s)
> -------------------------------------
>
>                 Key: MDEP-358
>                 URL: https://jira.codehaus.org/browse/MDEP-358
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Bug
>          Components: go-offline
>    Affects Versions: 2.4
>         Environment: Maven 3.0.4, Java 6u33, Windows 7 x64
>            Reporter: Falko Modler
>         Attachments: MDEP-358-maven-dependency-plugin.patch
>
>
> I expected go-offline to download the parent (and all transitive parents) of the module it is executed for, but it doesn't do so.
> AFAIK there is no workaround, as the copy goal does not retain the repository layout (there is no useRepositoryLayout).
> copy-dependencies does retain the repository layout (see useRepositoryLayout) but it does not find the parent(s).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira