[ http://jira.codehaus.org/browse/MNG-998?page=all ]

Johnny R. Ruiz III updated MNG-998:
-----------------------------------

    Attachment: MNG-998-maven-idea-plugin.patch

- Here's a patch for this issue that will create module instead of libraries 
for projects already in the workspace.  
  What I did is get all modules of the parent and check each dependency if it 
is already in the module list.  

-  I cannot use the value of getCollectedProjects() since when plugin is 
executing in the modules, getParent.getCollectedProjects() returns null.
-  I cannot read the module line in workspace file since it is the last file to 
be created when running this plugin on a multi-project. 

Please check my patch, and apply if it is OK.   I already test this and it 
worked for Idea 4.5 and 5.0. Thanks!



> create modules instead of libraries for projects already in the workspace
> -------------------------------------------------------------------------
>
>          Key: MNG-998
>          URL: http://jira.codehaus.org/browse/MNG-998
>      Project: Maven 2
>         Type: Improvement
>   Components: maven-idea-plugin
>     Reporter: Brett Porter
>     Assignee: Johnny R. Ruiz III
>      Fix For: 2.0.1
>  Attachments: MNG-998-maven-idea-plugin.patch
>
>
> not sure whether it will be possible to identify these from the module line - 
> check it out.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to