jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 2.x Reactor Plugin
  • MREACTOR-20

mvn reactor:make-scm-changes fails build if there are no scm changes

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Critical Critical
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Labels:
    None

Description

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

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Christoph Kutzinski added a comment - 08/Mar/11 3:34 AM - edited

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

Show
Christoph Kutzinski added a comment - 08/Mar/11 3:34 AM - edited 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

People

  • Assignee:
    Unassigned
    Reporter:
    Christoph Kutzinski
Vote (0)
Watch (0)

Dates

  • Created:
    08/Mar/11 3:33 AM
    Updated:
    08/Mar/11 3:35 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.