Make-like reactor mode fails to find projects selected by relative paths with
leading dots
------------------------------------------------------------------------------------------
Key: MNG-4262
URL: http://jira.codehaus.org/browse/MNG-4262
Project: Maven 2
Issue Type: Bug
Components: Command Line, Reactor and workspace
Affects Versions: 2.1.0
Reporter: Benjamin Bentmann
Priority: Minor
When the parent/aggregator POM resides in a sibling directory of its children,
i.e. when one has something like
{code:xml}
<modules>
<module>../sub-a</module>
<module>../sub-b</module>
</modules>
{code}
an invocation of the make-like reactor mode in the parent project's base dir
with
{noformat}
mvn validate --projects .
{noformat}
or
{noformat}
mvn validate --projects ../sub-a
{noformat}
fails with an error like "Couldn't find specified project in module list:
M:\mng-2576\parent\..\sub-a".
Workaround is to specify groupId:artifactId instead of the relative paths.
--
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