You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/09/22 07:38:11 UTC

[jira] Closed: (MNG-949) USD behaviour can be unintuitive

     [ http://jira.codehaus.org/browse/MNG-949?page=all ]
     
Brett Porter closed MNG-949:
----------------------------

      Assign To: Brett Porter
     Resolution: Duplicate
    Fix Version:     (was: 2.0-beta-3)

> USD behaviour can be unintuitive
> --------------------------------
>
>          Key: MNG-949
>          URL: http://jira.codehaus.org/browse/MNG-949
>      Project: Maven 2
>         Type: Improvement
>     Reporter: Brett Porter
>     Assignee: Brett Porter

>
>
> example: you create a new project.
> pom.xml
>   a/pom.xml
>   b/pom.xml
> b depends on a and a + b are modules of the root
> you run m2 install in "a" (successful, as it finds ../pom.xml)
> you run m2 install in "b" (fails obscurely)
> the failure is because the parent for *a* is not found - a is retrieved from the repository, and so the parent project is not used
> we should either:
> - find a in ../a/pom.xml
> - use the root pom we already know about from the current project (Seems the best solution)
> - allow repository poms to search the current directory (likely to fail for most poms)
> - improve the error reporting and require m2 -N install in the root (would need to cover for when it exists but is different too)

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org