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 JavaNCSS Plugin
  • MJNCSS-27

Do not let the check goal fail the build for projects with no source

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.0-beta-2, 2.0
  • Fix Version/s: 2.0
  • Labels:
    None

Description

When the check goal is executed on a project with no source (only modules) then the build fails because the javancss-raw-report.xml file is not generated and can thus not be found. The proposed improvement enables the global configuration of this plugin for all modules.

It seems that a possible fix is to add a check for the existence of the xml file in the NcssViolationCheckMojo.execute method.

Issue Links

is related to

Bug - A problem which impairs or prevents the functions of the product. JAVANCSS-19 -recursive never ends on directory without java source files

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Jean-Laurent de Morlhon added a comment - 23/May/09 4:12 PM

Fixed in SVN

Show
Jean-Laurent de Morlhon added a comment - 23/May/09 4:12 PM Fixed in SVN

People

  • Assignee:
    Jean-Laurent de Morlhon
    Reporter:
    Martijn Hendriks
Vote (1)
Watch (0)

Dates

  • Created:
    18/Oct/07 2:20 AM
    Updated:
    23/May/09 4:12 PM
    Resolved:
    23/May/09 4:12 PM
  • 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.