You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Todor Todorov (JIRA)" <ji...@codehaus.org> on 2008/04/02 13:58:58 UTC

[jira] Issue Comment Edited: (MECLIPSE-364) incorrect dependencies with different projectNameTemplates in submodules

    [ http://jira.codehaus.org/browse/MECLIPSE-364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=129525#action_129525 ] 

todorst edited comment on MECLIPSE-364 at 4/2/08 6:58 AM:
----------------------------------------------------------------

I have a similar patch for the latest version (maven-eclipse-plugin-2.5.1). I am wondering if this issue is considered to be fixed in 2.5.1, since it is still unassigned.

      was (Author: todorst):
    similar patch for maven-eclipse-plugin-2.5.1
  
> incorrect dependencies with different projectNameTemplates in submodules 
> -------------------------------------------------------------------------
>
>                 Key: MECLIPSE-364
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-364
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>          Components: Core : Dependencies resolution and build path, Core : Multi-projects
>    Affects Versions: 2.4
>         Environment: MacOSX, mvn 2.0.6
>            Reporter: Frank Stolle
>         Attachments: maven-eclipse-plugin.patch, patch.txt
>
>
> If you have a project with different submodules and you use different projectNameTemplate-Settings in some modules, the resulting .project and .classpath -Files contains wrong project-names, because the wrong template-name will be applied.
> Example:
> A
> +---B (with projectNameTemplate "b-[artifactId]")
> +---C (with projectNameTemplate "c-[artifactId]")
> And C depends on B. In C the dependency will result in project c-B and not b-B, as suspected.
> A testcase is currently not submitted, because I don't know how to check files in sub-projects. Only the expected-directory of the main-project will be checked.

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