[ 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]