You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Marvin Froeder (JIRA)" <ji...@codehaus.org> on 2010/04/29 22:34:12 UTC

[jira] Created: (MINVOKER-102) Provide a way to install Extra dependencies

Provide a way to install Extra dependencies
-------------------------------------------

                 Key: MINVOKER-102
                 URL: http://jira.codehaus.org/browse/MINVOKER-102
             Project: Maven 2.x Invoker Plugin
          Issue Type: New Feature
    Affects Versions: 1.5
            Reporter: Marvin Froeder
         Attachments: maven-invoker-plugin.patch



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MINVOKER-102) Provide a way to install Extra dependencies

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MINVOKER-102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann closed MINVOKER-102.
--------------------------------------

    Resolution: Fixed

Handled relocation at root level in [r939868|http://svn.apache.org/viewvc?view=revision&revision=939868].

> Provide a way to install Extra dependencies
> -------------------------------------------
>
>                 Key: MINVOKER-102
>                 URL: http://jira.codehaus.org/browse/MINVOKER-102
>             Project: Maven 2.x Invoker Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.5
>            Reporter: Marvin Froeder
>            Assignee: Benjamin Bentmann
>             Fix For: 1.6
>
>         Attachments: maven-invoker-plugin.patch
>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MINVOKER-102) Provide a way to install Extra dependencies

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MINVOKER-102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann closed MINVOKER-102.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.6
         Assignee: Benjamin Bentmann

Applied in [r939608|http://svn.apache.org/viewvc?view=revision&revision=939608], thanks.

> Provide a way to install Extra dependencies
> -------------------------------------------
>
>                 Key: MINVOKER-102
>                 URL: http://jira.codehaus.org/browse/MINVOKER-102
>             Project: Maven 2.x Invoker Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.5
>            Reporter: Marvin Froeder
>            Assignee: Benjamin Bentmann
>             Fix For: 1.6
>
>         Attachments: maven-invoker-plugin.patch
>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Reopened: (MINVOKER-102) Provide a way to install Extra dependencies

Posted by "Marvin Froeder (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MINVOKER-102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marvin Froeder reopened MINVOKER-102:
-------------------------------------


Found a small issue when dealing with relocated artifacts...

{code}
Index: src/main/java/org/apache/maven/plugin/invoker/InstallMojo.java
===================================================================
--- src/main/java/org/apache/maven/plugin/invoker/InstallMojo.java	(revision 939756)
+++ src/main/java/org/apache/maven/plugin/invoker/InstallMojo.java	(working copy)
@@ -638,6 +638,10 @@
             {
                 artifact = artifactFactory.createArtifactWithClassifier( gav[0], gav[1], gav[2], type, classifier );
 
+                // must resolve and copy the artifact because if it is relocated only the new location gets copy
+                resolver.resolve( artifact, remoteRepositories, testRepository );
+                copyArtifact( artifact, testRepository );
+
                 ArtifactResolutionResult arr =
                     resolver.resolveTransitively( Collections.singleton( artifact ), originatingArtifact,
                                                   remoteRepositories, localRepository, artifactMetadataSource );
{code}


> Provide a way to install Extra dependencies
> -------------------------------------------
>
>                 Key: MINVOKER-102
>                 URL: http://jira.codehaus.org/browse/MINVOKER-102
>             Project: Maven 2.x Invoker Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.5
>            Reporter: Marvin Froeder
>            Assignee: Benjamin Bentmann
>             Fix For: 1.6
>
>         Attachments: maven-invoker-plugin.patch
>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira