[
https://jira.codehaus.org/browse/MNG-5095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=288556#comment-288556
]
mattinger commented on MNG-5095:
--------------------------------
ok. much like many things in maven, the syntax of the resume is not apparantly
obvious, and does not seem to be well documented. In fact, i can't find a
maven 3 command line reference anywhere on the maven website. I've had to go
elsewhere to even find the "-rf" option. If i run "mvn --help" I can see it
but it only says "<arg>" for the possible arguments, with no mention of useful
syntax.
I guess proper documentation is the answer here.
> 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