I am experiencing issues running m2eclipse 0.0.10 in Eclipse 3.2.1
(M20060921-0945) under JDK 1.6.0.  Whenever I attempt to execute a goal
(pmd:pmd, pmd:cpd, checkstyle:checkstyle, cobertura:cobertura, etc.), I
get the enclosed error message.  I am very new to Maven 2 and any
assistance would be greatly appreciated.  Thanks,
Brian




[DEBUG] Building Maven user-level plugin registry from: 'C:\Documents
and Settings\a291790\.m2\plugin-registry.xml'
[DEBUG] Building Maven user-level plugin registry from: 'C:\Documents
and Settings\a291790\.m2\plugin-registry.xml'
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'checkstyle'.
[DEBUG] maven-checkstyle-plugin: resolved to version 2.1 from repository
central
[DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1
for project: null:maven-checkstyle-plugin:maven-plugin:2.1 from the
repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for
project: org.apache.maven.plugins:maven-plugins:pom:1 from the
repository.
[DEBUG] Retrieving parent-POM: org.apache:apache::1 for project:
org.apache.maven:maven-parent:pom:1 from the repository.
[INFO]
------------------------------------------------------------------------
----
[INFO] Building Unnamed - MavenDemo:MavenDemo:jar:0.0.1
[INFO]    task-segment: [checkstyle:checkstyle]
[INFO]
------------------------------------------------------------------------
----
[DEBUG]
org.apache.maven.plugins:maven-checkstyle-plugin:maven-plugin:2.1:runtim
e (selected for runtime)
[DEBUG] Retrieving parent-POM:
org.apache.maven.reporting:maven-reporting::2.0 for project:
null:maven-reporting-impl:jar:2.0 from the repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
org.apache.maven.reporting:maven-reporting:pom:2.0 from the repository.
[DEBUG]
org.apache.maven.reporting:maven-reporting-impl:jar:2.0:runtime
(selected for runtime)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
null:maven-project:jar:2.0 from the repository.
[DEBUG]     org.apache.maven:maven-project:jar:2.0:runtime (selected for
runtime)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
null:maven-profile:jar:2.0 from the repository.
[DEBUG]       org.apache.maven:maven-profile:jar:2.0:runtime (selected
for runtime)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
org.apache.maven:maven-model:jar:2.0 from the repository.
[DEBUG]         org.apache.maven:maven-model:jar:2.0:runtime (selected
for runtime)
[DEBUG]           org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime
(selected for runtime)
[DEBUG]         org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime
(selected for runtime)
[DEBUG]
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime
(selected for runtime)
[DEBUG]           junit:junit:jar:3.8.1:runtime (selected for runtime)
[DEBUG]           classworlds:classworlds:jar:1.1-alpha-2:runtime
(selected for runtime)
[DEBUG]       org.apache.maven:maven-model:jar:2.0:runtime (selected for
runtime)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
org.apache.maven:maven-artifact-manager:jar:2.0 from the repository.
[DEBUG]       org.apache.maven:maven-artifact-manager:jar:2.0:runtime
(selected for runtime)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
org.apache.maven:maven-repository-metadata:jar:2.0 from the repository.
[DEBUG]
org.apache.maven:maven-repository-metadata:jar:2.0:runtime (selected for
runtime)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
org.apache.maven:maven-artifact:jar:2.0 from the repository.
[DEBUG]         org.apache.maven:maven-artifact:jar:2.0:runtime
(selected for runtime)
[DEBUG]
org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime
(selected for runtime)
[DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime
(selected for runtime)
[DEBUG]       org.apache.maven:maven-artifact:jar:2.0:runtime (selected
for runtime)
[DEBUG]
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime
(selected for runtime)
[DEBUG]         junit:junit:jar:3.8.1:runtime (selected for runtime)
[DEBUG]         classworlds:classworlds:jar:1.1-alpha-2:runtime
(selected for runtime)
[DEBUG]     commons-validator:commons-validator:jar:1.1.4:runtime
(selected for runtime)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
org.apache.maven:maven-plugin-api:jar:2.0 from the repository.
[DEBUG]     org.apache.maven:maven-plugin-api:jar:2.0:runtime (selected
for runtime)
[DEBUG]     oro:oro:jar:2.0.7:runtime (selected for runtime)
[DEBUG] Retrieving parent-POM:
org.apache.maven.reporting:maven-reporting::2.0 for project:
null:maven-reporting-api:jar:2.0 from the repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
org.apache.maven.reporting:maven-reporting:pom:2.0 from the repository.
[DEBUG]
org.apache.maven.reporting:maven-reporting-api:jar:2.0:runtime (selected
for runtime)
[DEBUG]       doxia:doxia-sink-api:jar:1.0-alpha-4:runtime (selected for
runtime)
[DEBUG]     doxia:doxia-core:jar:1.0-alpha-4:runtime (selected for
runtime)
[DEBUG]   checkstyle:checkstyle-optional:jar:4.1:runtime (selected for
runtime)
[DEBUG]     checkstyle:checkstyle:jar:4.1:runtime (selected for runtime)
[DEBUG]       antlr:antlr:jar:2.7.2:runtime (selected for runtime)
[DEBUG]       commons-beanutils:commons-beanutils-core:jar:1.7.0:runtime
(selected for runtime)
[DEBUG]         commons-logging:commons-logging:jar:1.0:runtime
(selected for runtime)
[DEBUG]         commons-collections:commons-collections:jar:2.0:runtime
(selected for runtime)
[DEBUG]       commons-collections:commons-collections:jar:2.0:runtime
(removed - nearer found: 2.1)
[DEBUG]       commons-collections:commons-collections:jar:2.1:runtime
(selected for runtime)
[DEBUG]       commons-logging:commons-logging:jar:1.0:runtime (removed -
nearer found: 1.0.3)
[DEBUG]       commons-logging:commons-logging:jar:1.0.3:runtime
(selected for runtime)
[DEBUG]   checkstyle:checkstyle:jar:4.1:runtime (selected for runtime)
[DEBUG]     antlr:antlr:jar:2.7.2:runtime (selected for runtime)
[DEBUG]     commons-beanutils:commons-beanutils-core:jar:1.7.0:runtime
(selected for runtime)
[DEBUG]       commons-logging:commons-logging:jar:1.0:runtime (selected
for runtime)
[DEBUG]       commons-collections:commons-collections:jar:2.0:runtime
(selected for runtime)
[DEBUG]     commons-collections:commons-collections:jar:2.0:runtime
(removed - nearer found: 2.1)
[DEBUG]     commons-collections:commons-collections:jar:2.1:runtime
(selected for runtime)
[DEBUG]     commons-logging:commons-logging:jar:1.0:runtime (removed -
nearer found: 1.0.3)
[DEBUG]     commons-logging:commons-logging:jar:1.0.3:runtime (selected
for runtime)
[DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0:runtime (selected
for runtime)
[DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.4 for
project: null:plexus-utils:jar:1.1 from the repository.
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed -
nearer found: 1.1)
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.1:runtime (selected for
runtime)
[DEBUG]   org.codehaus.plexus:plexus-velocity:jar:1.1.2:runtime
(selected for runtime)
[DEBUG] Retrieving parent-POM: plexus:plexus-containers::1.0.2 for
project: org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-7
from the repository.
[DEBUG] Retrieving parent-POM: plexus:plexus-root::1.0.3 for project:
plexus:plexus-containers:pom:1.0.2 from the repository.
[DEBUG]
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime
(removed - nearer found: 1.0-alpha-7)
[DEBUG]
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-7:runtime
(selected for runtime)
[DEBUG]       junit:junit:jar:3.8.1:runtime (selected for runtime)
[DEBUG]       classworlds:classworlds:jar:1.1-alpha-2:runtime (selected
for runtime)
[DEBUG]     classworlds:classworlds:jar:1.1-alpha-2:runtime (selected
for runtime)
[DEBUG]     commons-collections:commons-collections:jar:2.0:runtime
(removed - nearer found: 2.1)
[DEBUG]     commons-logging:commons-logging-api:jar:1.0.4:runtime
(selected for runtime)
[DEBUG]     velocity:velocity:jar:1.4:runtime (selected for runtime)
[DEBUG]       velocity:velocity-dep:jar:1.4:runtime (selected for
runtime)
[DEBUG] Skipping disabled repository snapshots
[DEBUG] Skipping disabled repository apache.snapshots
[DEBUG] Trying repository central
[DEBUG]   Artifact resolved
[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.ResourceNotFoundException: 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.
[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-checkstyle-plugin:2.1:checkstyle' -->
[DEBUG]   (f) cacheFile =
C:\TEMP\maven_workspace\MavenDemo\target/checkstyle-cachefile
[DEBUG]   (f) configLocation = config/sun_checks.xml
[DEBUG]   (f) consoleOutput = false
[DEBUG]   (f) enableFilesSummary = true
[DEBUG]   (f) enableRSS = true
[DEBUG]   (f) enableRulesSummary = true
[DEBUG]   (f) enableSeveritySummary = true
[DEBUG]   (f) failsOnError = false
[DEBUG]   (f) format = sun
[DEBUG]   (f) headerFile = C:\TEMP\maven_workspace\MavenDemo\LICENSE.txt
[DEBUG]   (f) headerLocation = LICENSE.txt
[DEBUG]   (f) includes = **/*.java
[DEBUG]   (f) linkXRef = true
[DEBUG]   (f) outputDirectory =
C:\TEMP\maven_workspace\MavenDemo\target\site
[DEBUG]   (f) outputFile =
C:\TEMP\maven_workspace\MavenDemo\target\checkstyle-result.xml
[DEBUG]   (f) outputFileFormat = xml
[DEBUG]   (f) project = [EMAIL PROTECTED]
[DEBUG]   (f) sourceDirectory =
C:\TEMP\maven_workspace\MavenDemo\src\main\java
[DEBUG]   (f) xrefLocation =
C:\TEMP\maven_workspace\MavenDemo\target\site\xref
[DEBUG] -- end configuration --
[INFO] checkstyle:checkstyle
[ERROR] mojo-execute : checkstyle:checkstyle
Diagnosis: An error has occurred in Checkstyle report generation.
FATAL ERROR: Error executing Maven for a project
[ERROR] project-execute : MavenDemo:MavenDemo:jar:0.0.1 (  task-segment:
[checkstyle:checkstyle] )
Diagnosis: An error has occurred in Checkstyle report generation.
FATAL ERROR: Error executing Maven for a project
[ERROR] reactor-execute : C:\TEMP\maven_workspace\MavenDemo
Diagnosis: An error has occurred in Checkstyle report generation.
FATAL ERROR: Error executing Maven for a project
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] An error has occurred in Checkstyle report generation.

[INFO]
------------------------------------------------------------------------
[DEBUG] Trace An error has occurred in Checkstyle report generation.
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Sun Feb 11 10:37:14 EST 2007
[INFO] Final Memory: 4M/9M
[INFO]
------------------------------------------------------------------------
[INFO] Error for project: Unnamed - MavenDemo:MavenDemo:jar:0.0.1
(during checkstyle:checkstyle)
[INFO]
------------------------------------------------------------------------
[INFO] An error has occurred in Checkstyle report generation.

[INFO]
------------------------------------------------------------------------
[DEBUG] Trace An error has occurred in Checkstyle report generation.
[INFO]
------------------------------------------------------------------------
[ERROR] reactor-execute : C:\TEMP\maven_workspace\MavenDemo
FATAL ERROR: Error executing Maven for a project
[INFO] BUILD ERRORS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Sun Feb 11 10:37:14 EST 2007
[INFO] Final Memory: 4M/9M
[INFO]
------------------------------------------------------------------------


Reply via email to