You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Vincent Massol (JIRA)" <ji...@codehaus.org> on 2005/12/30 19:45:12 UTC
[jira] Created: (MCHECKSTYLE-25) Do not execute checkstyle when the
project has no sources
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
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MCHECKSTYLE-25) Do not execute checkstyle when
the project has no sources and when checkstyle is triggered through
checkstyle:check
Posted by "Vincent Massol (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHECKSTYLE-25?page=comments#action_54577 ]
Vincent Massol commented on MCHECKSTYLE-25:
-------------------------------------------
I've opened a new (but related) issue: MCHECKSTYLE-26
> Do not execute checkstyle when the project has no sources and when checkstyle is triggered through checkstyle:check
> -------------------------------------------------------------------------------------------------------------------
>
> 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
> Fix For: 2.0-beta-2
>
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MCHECKSTYLE-25) Do not execute checkstyle when
the project has no sources
Posted by "fabrizio giustina (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHECKSTYLE-25?page=comments#action_54561 ]
fabrizio giustina commented on MCHECKSTYLE-25:
----------------------------------------------
I am committing changes to trunk, AFAIK there are no branches for plugins actually.
The current version of CheckstyleReport.java has this code:
public boolean canGenerateReport()
{
// TODO: would be good to scan the files here
return super.canGenerateReport() && sourceDirectory.exists();
}
which prevents the plugin from running when the source file is missing, without any error, but only if the plugin is run as a report.
I guess you are running checkstyle:check out of the site generation if you still get errors... I just checked in a fix wich prevents errors to be thrown also when the plugin is executed directly
> 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: Brett Porter
>
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MCHECKSTYLE-25) Do not execute checkstyle when
the project has no sources
Posted by "Vincent Massol (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHECKSTYLE-25?page=comments#action_54557 ]
Vincent Massol commented on MCHECKSTYLE-25:
-------------------------------------------
Hi Fabrizio,
I'm using what's in svn trunk which is *supposed* to be the latets. I've just learnt from Brett that trunk is actually not the latest and there's a branch containing more up to date stuff.;. I'm trying to get stuff from there... But it's a pain that trunk doesn't always contain the latest IMO...
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MCHECKSTYLE-25) Do not execute checkstyle when
the project has no sources and when checkstyle is triggered through
checkstyle:check
Posted by "Vincent Massol (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHECKSTYLE-25?page=comments#action_54565 ]
Vincent Massol commented on MCHECKSTYLE-25:
-------------------------------------------
Hi Fabrizio,
Thanks for fixing this! It's better but there's still an issue:
C:\dev\cargo\trunk\core>mvn clean install
[INFO] Scanning for projects...
[INFO] snapshot org.codehaus.cargo:cargo:0.8-SNAPSHOT: checking for updates from maven-snapshot
[INFO] Reactor build order:
[INFO] Cargo Core
[INFO] Cargo Core API
[INFO] Cargo Core Util API
[INFO] Cargo Core Module API
[INFO] Cargo Core Container API
[INFO] Cargo Core Generic API
[INFO] Cargo Core Containers
[INFO] Cargo Core Tomcat Container
[INFO] Cargo Core Resin Container
[INFO] Cargo Core JBoss Container
[INFO] Cargo Core Orion Container
[INFO] Cargo Core Jetty Container
[INFO] Cargo Core WebLogic Container
[INFO] Cargo Core jo! Container
[INFO] Cargo Core Uberjar
[INFO] ----------------------------------------------------------------------------
[INFO] Building Cargo Core
[INFO] task-segment: [clean, install]
[INFO] ----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Preparing checkstyle:check
[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] **************************************************************
[INFO] Starting Jakarta Velocity v1.4
[INFO] RuntimeInstance initializing.
[INFO] Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties
[INFO] Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
[INFO] Resource Loader Instantiated: org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
[INFO] ClasspathResourceLoader : initialization starting.
[INFO] ClasspathResourceLoader : initialization complete.
[INFO] ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
[INFO] Default ResourceManager initialization complete.
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Literal
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Include
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
[INFO] Created: 20 parsers.
[INFO] Velocimacro : initialization starting.
[INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm
[ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader.
[INFO] Velocimacro : error using VM library template VM_global_library.vm : org.apache.velocity.exception.ResourceNotFoundExcepti
on: Unable to find resource 'VM_global_library.vm'
[INFO] Velocimacro : VM library template macro registration complete.
[INFO] Velocimacro : allowInline = true : VMs can be defined inline in templates
[INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
[INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
[INFO] Velocimacro : initialization complete.
[INFO] Velocity successfully started.
[INFO] [checkstyle:checkstyle]
[INFO] Source directory does not exist - skipping report.
[INFO] [checkstyle:check {execution: default}]
[INFO] ----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ----------------------------------------------------------------------------
[INFO] Unable to perform checkstyle:check, unable to find checkstyle:checkstyle outputFile.
[INFO] ----------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ----------------------------------------------------------------------------
[INFO] Total time: 10 seconds
[INFO] Finished at: Fri Dec 30 20:38:28 CET 2005
[INFO] Final Memory: 6M/11M
[INFO] ----------------------------------------------------------------------------
C:\dev\cargo\trunk\core>
> Do not execute checkstyle when the project has no sources and when checkstyle is triggered through checkstyle:check
> -------------------------------------------------------------------------------------------------------------------
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Closed: (MCHECKSTYLE-25) Do not execute checkstyle when the
project has no sources and when checkstyle is triggered through
checkstyle:check
Posted by "fabrizio giustina (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHECKSTYLE-25?page=all ]
fabrizio giustina closed MCHECKSTYLE-25:
----------------------------------------
Resolution: Fixed
Fix Version: 2.0-beta-2
Closing this issue since Vincent confirmed it's fixed.
Vincent, can you open a new issue with some details on your plugin configuration and project layout? Are you using a shared config file in a multi-module build?
> Do not execute checkstyle when the project has no sources and when checkstyle is triggered through checkstyle:check
> -------------------------------------------------------------------------------------------------------------------
>
> 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
> Fix For: 2.0-beta-2
>
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Closed: (MCHECKSTYLE-25) Do not execute checkstyle when the
project has no sources
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHECKSTYLE-25?page=all ]
Brett Porter closed MCHECKSTYLE-25:
-----------------------------------
Assign To: Brett Porter (was: fabrizio giustina)
Resolution: Duplicate
> 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: Brett Porter
>
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Reopened: (MCHECKSTYLE-25) Do not execute checkstyle when
the project has no sources
Posted by "Vincent Massol (JIRA)" <ji...@codehaus.org>.
[ 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MCHECKSTYLE-25) Do not execute checkstyle when
the project has no sources
Posted by "fabrizio giustina (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHECKSTYLE-25?page=comments#action_54556 ]
fabrizio giustina commented on MCHECKSTYLE-25:
----------------------------------------------
Hi Vincent
are you using the latest version from svn? This should already be fixed, see MCHECKSTYLE-17
> 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
>
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MCHECKSTYLE-25) Do not execute checkstyle when the
project has no sources and when checkstyle is triggered through
checkstyle:check
Posted by "Vincent Massol (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHECKSTYLE-25?page=all ]
Vincent Massol updated MCHECKSTYLE-25:
--------------------------------------
Summary: Do not execute checkstyle when the project has no sources and when checkstyle is triggered through checkstyle:check (was: Do not execute checkstyle when the project has no sources)
> Do not execute checkstyle when the project has no sources and when checkstyle is triggered through checkstyle:check
> -------------------------------------------------------------------------------------------------------------------
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org