[ http://jira.codehaus.org/browse/CONTINUUM-798?page=all ]
John Didion updated CONTINUUM-798: ---------------------------------- Attachment: add-modules-from-updated-project.diff The attached patch addresses this issue for Maven 2 projects. Basically, it adds an action call in DefaultBuildController.build after "update-project-from-working-directory" that checks if any new modules were added. It currently has some limitations: 1. It assumes that the module name is the same as the artifact ID (but I think Continuum makes this assumption anyway when creating a project for a multi-module pom) 2. It won't work correctly with more than one level of hierarchy (i.e. a project that has submodules, some of which themselves have submodules) > Modules automatic discovery > --------------------------- > > Key: CONTINUUM-798 > URL: http://jira.codehaus.org/browse/CONTINUUM-798 > Project: Continuum > Issue Type: Improvement > Components: Core system > Reporter: Nicolas Cazottes > Attachments: add-modules-from-updated-project.diff > > > In the case of using continuum with a parent POM that all projects inherit > from, it should be a great feature to automatically discover addition of new > modules and include them as projects in continuum. > This is already done when the project is created the first time with its POM > URL and the same mechanism should be used when continuum discovers that the > pom has been updated. -- 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