Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0
-
None
-
None
Description
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] ----------------------------------------------------------------------------
Attachments
Issue Links
- duplicates
-
MCHECKSTYLE-17 checkstyle plugin should skip generating reports if no sources exist (patch included)
- Closed