jira-importer commented on issue #551:
URL: https://github.com/apache/maven-scm/issues/551#issuecomment-2964603639

   **[Duncan 
Doyle](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=mccloud)** 
commented
   
   I've attached a patch.
   
   The patch provides support for tagging a flat project layout. I've disabled 
the `@aggregator` Maven option to process multiple modules. Furthermore. it 
basically keeps track of all the ScmFileSet basedirectories which have been 
processed in a static HashSet. Before a new fileset is tagged, it checks that 
the ScmFileSet has not already been processed. Next it checks that the current 
ScmFileSet is not a sub-directory of an already processed basedir. If that's 
all true, the fileset is tagged and its basedir is added to the static HashSet..
   
   This solution works in both a standard Maven2 layout (i.e. not tagging 
sub-projects twice because it keeps track of already processed basedirs) and a 
flat layout (i.e. because the `@aggregator` option is disabled).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to