[ http://jira.codehaus.org/browse/MCHECKSTYLE-25?page=all ]
Vincent Massol reopened MCHECKSTYLE-25:
---------------------------------------
Assign To: fabrizio giustina (was: Brett Porter)
Reopening as Fabrizio has confirmed it's not a dupliate and a real issue. i'll
edit the issue summary to better reflect the pb.
> Do not execute checkstyle when the project has no sources
> ---------------------------------------------------------
>
> Key: MCHECKSTYLE-25
> URL: http://jira.codehaus.org/browse/MCHECKSTYLE-25
> Project: Maven 2.x Checkstyle Plugin
> Type: Improvement
> Versions: 2.0-beta-2
> Reporter: Vincent Massol
> Assignee: fabrizio giustina
>
>
> It's nice to be able to share the checkstyle config in a parent pom. However
> doing so leads to an error:
> C:\dev\cargo\trunk>mvn clean install
> [...]
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Building Cargo Core
> [INFO] task-segment: [clean, install]
> [INFO]
> ----------------------------------------------------------------------------
> [...]
> [INFO] Preparing checkstyle:check
> [...]
> [INFO] [checkstyle:checkstyle]
> [INFO]
> ----------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] An error has occurred in Checkstyle report generation.
> Embedded error: No source directory to process for checkstyle
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Total time: 19 seconds
> [INFO] Finished at: Fri Dec 30 19:40:19 CET 2005
> [INFO] Final Memory: 8M/15M
> [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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]