[ http://jira.codehaus.org/browse/MNG-996?page=all ]
Johnny R. Ruiz III updated MNG-996:
-----------------------------------
Attachment: MNG-996-maven-idea-plugin.patch
This is a patch for this issue.
- I added to the root .ipr the root.iml of the root project so the root
project can be browse.
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/parent-project.iml"
filepath="$PROJECT_DIR$/parent-project.iml" />
- I did not add excludes for subprojects in the root iml of a multiproject
because by default the modules directory didn't show in the root project.
I tested this fix in Idea 4.5.4. Please verify if it is compatible in your
Idea version.
Please apply patch. Thanks.
> add excludes for subprojects in the root iml of a multiproject
> --------------------------------------------------------------
>
> Key: MNG-996
> URL: http://jira.codehaus.org/browse/MNG-996
> Project: Maven 2
> Type: Improvement
> Components: maven-idea-plugin
> Reporter: Brett Porter
> Assignee: Johnny R. Ruiz III
> Fix For: 2.0.1
> Attachments: MNG-996-maven-idea-plugin.patch
>
> Original Estimate: 3 hours
> Remaining: 3 hours
>
> <!-- MPIDEA-28: Exclude the subprojects of a multiproject -->
> <j:if test="${type == 'multiproject'}">
> <j:forEach var="project" items="${reactorProjects}">
> <maven:makeRelativePath var="value" basedir="${basedir}"
> path="${project.file.parentFile.canonicalFile}" separator="/" />
> <excludeFolder url="file://$$MODULE_DIR$$/${value}"/>
> </j:forEach>
> </j:if>
--
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]