maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christoph Kutzinski (JIRA)" <j...@codehaus.org>
Subject [jira] Issue Comment Edited: (MREACTOR-20) mvn reactor:make-scm-changes fails build if there are no scm changes
Date Tue, 08 Mar 2011 09:36:34 GMT

    [ http://jira.codehaus.org/browse/MREACTOR-20?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=259295#action_259295
] 

Christoph Kutzinski edited comment on MREACTOR-20 at 3/8/11 3:35 AM:
---------------------------------------------------------------------

Changing the last lines of the MakeScmChanges#execute method to
{code}
        if (!folderList.isEmpty()) {
            getLog().info( "Going to make dependents for: " + folderList );
            super.execute();
        } else {
            getLog().info("No changed folders. Nothing to do." );
        }
{code}

fixes this for me

      was (Author: kutzi):
    Changing the last lines of the MakeScmChanges#execute method to

        if (!folderList.isEmpty()) {
            getLog().info( "Going to make dependents for: " + folderList );
            super.execute();
        } else {
            getLog().info("No changed folders. Nothing to do." );
        }

fixes this for me
  
> mvn reactor:make-scm-changes fails build if there are no scm changes
> --------------------------------------------------------------------
>
>                 Key: MREACTOR-20
>                 URL: http://jira.codehaus.org/browse/MREACTOR-20
>             Project: Maven 2.x Reactor Plugin
>          Issue Type: Bug
>            Reporter: Christoph Kutzinski
>            Priority: Critical
>
> If there a no scm changes in a project, reactor:make-scm-changes fails the build with
'No folders matched: '
> I'd expect that it would simply does nothing in that case, i.e. don't build any modules

-- 
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

        

Mime
View raw message