You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/10/06 11:37:11 UTC
[jira] Commented: (MNG-1111) useFile property does not seem to work
[ http://jira.codehaus.org/browse/MNG-1111?page=comments#action_47946 ]
Brett Porter commented on MNG-1111:
-----------------------------------
I'm not sure you even got to checkstyle. We've discovered an issue with the plugin errors being swallowed as you see here. What does -X show?
> useFile property does not seem to work
> --------------------------------------
>
> Key: MNG-1111
> URL: http://jira.codehaus.org/browse/MNG-1111
> Project: Maven 2
> Type: Bug
> Components: maven-checkstyle-plugin
> Versions: 2.0-beta-3
> Reporter: Vincent Massol
>
>
> /**
> * If null, the checkstyle task will display violations on stdout. Otherwise, the text file will be
> * created with the violations. Note: This is in addition to the XML result file (containing
> * the violations in XML format which is always created.
> *
> * @parameter
> */
> private File useFile;
> However it seems the useFile properties not "null" by default as nothing is printed on the console:
> C:\dev\cargo\original_trunk\core\util>m2 install -o
> [INFO]
> NOTE: Maven is executing in offline mode. Any artifacts not already in your local
> repository will be inaccessible.
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Cargo Core Util API
> [INFO] task-segment: [install]
> [INFO] ----------------------------------------------------------------------------
> [INFO] [checkstyle:checkstyle {execution: default}]
> [INFO] ----------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ----------------------------------------------------------------------------
> [INFO] Diagnosis: An error has occurred in Checkstyle report generation.
> [INFO] ----------------------------------------------------------------------------
> [INFO] ----------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ----------------------------------------------------------------------------
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org