You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@codehaus.org> on 2014/03/17 13:46:59 UTC

[jira] (MCHECKSTYLE-224) Warning about missing XRef for module with no files to check

     [ https://jira.codehaus.org/browse/MCHECKSTYLE-224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg updated MCHECKSTYLE-224:
----------------------------------------

    Description: 
If you run {{mvn jxr:jxr checkstyle:checkstyle}} on a project that does not have any source files that should be checked, the following warning is issued:

[WARNING] Unable to locate Source XRef to link to - DISABLED

This warning can only be suppressed through configuration if we skip checkstyle for that particular project/module.

The warning is bogus though, because there are files that Checkstyle will check, so there is no need to check for any XRef to start with.

It should be possible to delay checking for XRef until it has been determined that there are any files to be checked.

  was:
If you run {{mvn jxr:jxr checkstyle:checkstyle}} on a project that does not have any (java) sources - only resources, the following warning is issued:

[WARNING] Unable to locate Source XRef to link to - DISABLED

This warning can only be suppressed through configuration if we skip checkstyle for that particular project/module.

The warning is bogus though, because there are no sources that Checkstyle will check, so there is no need to check for any XRef to start with.

It should be possible to delay checking for XRef until it has been determined that the sources actually exist.

        Summary: Warning about missing XRef for module with no files to check  (was: Warning about missing XRef for module with no source)

> Warning about missing XRef for module with no files to check
> ------------------------------------------------------------
>
>                 Key: MCHECKSTYLE-224
>                 URL: https://jira.codehaus.org/browse/MCHECKSTYLE-224
>             Project: Maven Checkstyle Plugin
>          Issue Type: Bug
>    Affects Versions: 2.12
>            Reporter: Dennis Lundberg
>            Assignee: Dennis Lundberg
>
> If you run {{mvn jxr:jxr checkstyle:checkstyle}} on a project that does not have any source files that should be checked, the following warning is issued:
> [WARNING] Unable to locate Source XRef to link to - DISABLED
> This warning can only be suppressed through configuration if we skip checkstyle for that particular project/module.
> The warning is bogus though, because there are files that Checkstyle will check, so there is no need to check for any XRef to start with.
> It should be possible to delay checking for XRef until it has been determined that there are any files to be checked.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)