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/23 07:53:11 UTC

[jira] Created: (MNG-998) create modules instead of libraries for projects already in the workspace

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


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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MNG-998) create modules instead of libraries for projects already in the workspace

Posted by "Johnny R. Ruiz III (JIRA)" <ji...@codehaus.org>.
     [ 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MNG-998) create modules instead of libraries for projects already in the workspace

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-998?page=all ]

Brett Porter updated MNG-998:
-----------------------------

    Fix Version: 2.0-beta-4

> 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
>      Fix For: 2.0-beta-4

>
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MNG-998) create modules instead of libraries for projects already in the workspace

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-998?page=all ]
     
Brett Porter closed MNG-998:
----------------------------

     Assign To: Brett Porter  (was: Johnny R. Ruiz III)
    Resolution: Fixed

I redid this using ${reactorProjects}

> 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: Brett Porter
>      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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org