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)
Signup
Maven 2.x Enforcer Plugin
  • Maven 2.x Enforcer Plugin
  • MENFORCER-124

Rule-scoped fail property

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: New Feature New Feature
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.0.1
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

Description

The fail property is plugin configuration scoped. It would be useful to be able to set it separately per rule.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Mirko Friedenhagen added a comment - 07/Mar/12 2:18 PM

I just posted a message to the developer list with this suggestion:

  • Add an optional qualifier per rule which differentiates between
    INFO, WARNING and ERROR (same as the loglevels) and
  • Make the rules log with this level on the console and
  • Make the build optionally fail only if there were violations with
    log level ERROR.

For backward compatibility when no qualifier is given, rules will
default to ERROR.

Show
Mirko Friedenhagen added a comment - 07/Mar/12 2:18 PM I just posted a message to the developer list with this suggestion: Add an optional qualifier per rule which differentiates between INFO, WARNING and ERROR (same as the loglevels) and Make the rules log with this level on the console and Make the build optionally fail only if there were violations with log level ERROR. For backward compatibility when no qualifier is given, rules will default to ERROR.

People

  • Assignee:
    Unassigned
    Reporter:
    marko asplund
Vote (1)
Watch (2)

Dates

  • Created:
    25/Oct/11 4:15 PM
    Updated:
    07/Mar/12 2:18 PM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.