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/09 05:06:11 UTC

[jira] Closed: (MNG-1111) useFile property does not seem to work

     [ http://jira.codehaus.org/browse/MNG-1111?page=all ]
     
Brett Porter closed MNG-1111:
-----------------------------

    Resolution: Fixed

applied with modifications - logging to a string and using getLog() at end instead of system.out

> 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
>     Assignee: Edwin Punzalan
>      Fix For: 2.0-beta-4
>  Attachments: MNG-1111-maven-checkstyle-plugin.patch
>
>
>     /**
>      * 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