[ 
https://jira.codehaus.org/browse/MNG-5095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=288525#comment-288525
 ] 

Simon Davey commented on MNG-5095:
----------------------------------

You can specify the -rf module using the relative path syntax or the 
groupid:artifactid syntax in maven 2.2.1.

Try 

mvn -rf my.org:module-a install 

instead
                
> Resume-From does not work with anything but a flat multi-module structure
> -------------------------------------------------------------------------
>
>                 Key: MNG-5095
>                 URL: https://jira.codehaus.org/browse/MNG-5095
>             Project: Maven 2 & 3
>          Issue Type: Bug
>    Affects Versions: 2.2.1
>            Reporter: mattinger
>
> When using the resume from feature, It can't always find the module that i'm 
> asking it to resume from.
> In particular, if I have something like this:
> <modules>
>    <module>../A/module-a</module>
>    <module>../B/module-b</module>
>    <module>../C/module-c</module>
> </module>
> It seems that unless the module requested to be resumed is an exact 
> subdirectory of the current pom file, it will not find the module.  I would 
> have thought that the reactor would be built, and the appropriate module name 
> would be found based on it's group and artifact id.
> Instead, I get something like this:
> mvn install -rf my.org.module-a
> [INFO] Scanning for projects...
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Couldn't find specified project dir: C:\test\my.org.module-a
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 1 second
> [INFO] Finished at: Thu May 19 10:48:09 EDT 2011
> [INFO] Final Memory: 4M/15M
> [INFO] 
> ------------------------------------------------------------------------
> Notice that's looking for the exact directory, not using the reactor to 
> resolve things.

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

        

Reply via email to