Greetings,
I'm new to M2Eclipse, and am relatively inexperienced with Maven in
general. I'm trying to build the trunk of the DBUnit project with
M2Eclipse, but am getting the error below. Everything works fine
when I run from command line. I retried after nuking the contents of
my ~/.m2/repository directory, but no improvement.
Maven 2.0.8
- Out of the box
- I copied $MAVEN_HOME/conf/settings.xml to ~/.m2/settings.xml to
silence M2Eclipse's error regarding that.
M2Eclipse 0.0.12.20071107-2300
Eclipse 3.3.1
MyEclipse 6.0.1
I ran mvn eclipse:eclipse and then imported from Import... > Maven
Projects
DBUnits trunk and pom.xml are here:
http://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk/
Any guidance on how to troubleshoot this would be most appreciated.
Thanks!
[DEBUG] Reading global settings from: null
[DEBUG] Settings file is null. Returning null.
[DEBUG] Reading user settings from: /Users/ibrandt/.m2/settings.xml
[DEBUG] Reading global settings from: null
[DEBUG] Settings file is null. Returning null.
[DEBUG] Reading user settings from: /Users/ibrandt/.m2/settings.xml
[DEBUG] Pre-scanning POM lineage of: /Users/ibrandt/Development/
dbunit/pom.xml for build extensions.
[DEBUG] Building model-lineage for: /Users/ibrandt/Development/dbunit/
pom.xml to pre-scan for extensions.
[DEBUG] Checking for external profiles in: /Users/ibrandt/Development/
profiles.xml
[DEBUG] Checking: org.dbunit:dbunit:jar:2.2.1-SNAPSHOT for
extensions. (It has 0 modules.)
[DEBUG] Basedir is: /Users/ibrandt/Development/dbunit
[DEBUG] Finished pre-scanning: /Users/ibrandt/Development/dbunit/
pom.xml for build extensions.
[DEBUG] Building profile manager for model: [inherited]:null:jar:
[inherited] with pom file: /Users/ibrandt/Development/dbunit/pom.xml
[DEBUG] Checking for external profiles in: /Users/ibrandt/Development/
dbunit/profiles.xml
[DEBUG] Checking for external profiles in: /Users/ibrandt/Development/
dbunit/profiles.xml
[DEBUG] Building profile manager for model: org.dbunit:dbunit:jar:
2.2.1-SNAPSHOT with pom file: /Users/ibrandt/Development/dbunit/pom.xml
[DEBUG] Checking for external profiles in: /Users/ibrandt/Development/
dbunit/profiles.xml
[DEBUG] Building profile manager for model: org.dbunit:dbunit:jar:
2.2.1-SNAPSHOT with external profile manager including profiles: {}
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
----
[INFO] Building DbUnit Framework
[INFO] task-segment: [install]
[INFO]
------------------------------------------------------------------------
----
[DEBUG] Resolving version for plugin: org.apache.maven.plugins:maven-
resources-plugin
[DEBUG] Version from POM: null
[DEBUG] Version from another POM in the reactor: null
[DEBUG] maven-resources-plugin: resolved to version 2.3-SNAPSHOT from
repository central
[DEBUG] Skipping disabled repository central
[DEBUG] maven-resources-plugin: resolved to version
2.3-20071129.184111-5 from repository snapshots
[DEBUG] Building profile manager for model: [inherited]:null:jar:
[inherited] with pom file: null
[DEBUG] Building profile manager for model: [inherited]:maven-
resources-plugin:maven-plugin:2.3-SNAPSHOT with pom file: null
[DEBUG] Building profile manager for model:
org.apache.maven.plugins:maven-plugins:pom:8 with pom file: /Users/
ibrandt/.m2/repository/org/apache/maven/plugins/maven-plugins/8/maven-
plugins-8.pom
[DEBUG] Building profile manager for model: org.apache.maven:maven-
parent:pom:5 with pom file: /Users/ibrandt/.m2/repository/org/apache/
maven/maven-parent/5/maven-parent-5.pom
[DEBUG] Building profile manager for model: org.apache:apache:pom:3
with pom file: /Users/ibrandt/.m2/repository/org/apache/apache/3/
apache-3.pom
[DEBUG] Building profile manager for model: [inherited]:null:jar:
[inherited] with pom file: null
[DEBUG] Building profile manager for model: [inherited]:maven-
resources-plugin:maven-plugin:2.3-SNAPSHOT with pom file: null
[DEBUG] Building profile manager for model:
org.apache.maven.plugins:maven-plugins:pom:8 with pom file: /Users/
ibrandt/.m2/repository/org/apache/maven/plugins/maven-plugins/8/maven-
plugins-8.pom
[DEBUG] Building profile manager for model: org.apache.maven:maven-
parent:pom:5 with pom file: /Users/ibrandt/.m2/repository/org/apache/
maven/maven-parent/5/maven-parent-5.pom
[DEBUG] Building profile manager for model: org.apache:apache:pom:3
with pom file: /Users/ibrandt/.m2/repository/org/apache/apache/3/
apache-3.pom
[DEBUG] Version from LATEST metadata: 2.3-20071129.184111-5
[DEBUG] In verifyVersionedPlugin for: org.apache.maven.plugins:maven-
resources-plugin
[DEBUG] Building profile manager for model: [inherited]:null:jar:
[inherited] with pom file: null
[DEBUG] Building profile manager for model: [inherited]:maven-
resources-plugin:maven-plugin:2.3-SNAPSHOT with pom file: null
[DEBUG] Building profile manager for model:
org.apache.maven.plugins:maven-plugins:pom:8 with pom file: /Users/
ibrandt/.m2/repository/org/apache/maven/plugins/maven-plugins/8/maven-
plugins-8.pom
[DEBUG] Building profile manager for model: org.apache.maven:maven-
parent:pom:5 with pom file: /Users/ibrandt/.m2/repository/org/apache/
maven/maven-parent/5/maven-parent-5.pom
[DEBUG] Building profile manager for model: org.apache:apache:pom:3
with pom file: /Users/ibrandt/.m2/repository/org/apache/apache/3/
apache-3.pom
[DEBUG] Building profile manager for model: [inherited]:null:jar:
[inherited] with pom file: null
[DEBUG] Building profile manager for model: [inherited]:maven-
resources-plugin:maven-plugin:2.3-SNAPSHOT with pom file: null
[DEBUG] Building profile manager for model:
org.apache.maven.plugins:maven-plugins:pom:8 with pom file: /Users/
ibrandt/.m2/repository/org/apache/maven/plugins/maven-plugins/8/maven-
plugins-8.pom
[DEBUG] Building profile manager for model: org.apache.maven:maven-
parent:pom:5 with pom file: /Users/ibrandt/.m2/repository/org/apache/
maven/maven-parent/5/maven-parent-5.pom
[DEBUG] Building profile manager for model: org.apache:apache:pom:3
with pom file: /Users/ibrandt/.m2/repository/org/apache/apache/3/
apache-3.pom
[DEBUG] org.apache.maven.plugins:maven-resources-plugin:maven-plugin:
2.3-SNAPSHOT:runtime (selected for runtime)
[DEBUG] Building profile manager for model: [inherited]:null:jar:
[inherited] with pom file: null
[DEBUG] Building profile manager for model: org.apache.maven:maven-
plugin-api:jar:2.0 with pom file: null
[DEBUG] Building profile manager for model:
org.apache.maven:maven:pom:2.0 with pom file: /Users/ibrandt/.m2/
repository/org/apache/maven/maven/2.0/maven-2.0.pom
[DEBUG] Adding managed dependencies for org.apache.maven:maven-plugin-
api
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4
[DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5
[DEBUG] org.apache.maven:maven-plugin-api:jar:2.0:runtime (selected
for runtime)
[DEBUG] Building profile manager for model: [inherited]:null:jar:
[inherited] with pom file: null
[DEBUG] Building profile manager for model: [inherited]:maven-
project:jar:2.0 with pom file: null
[DEBUG] Building profile manager for model:
org.apache.maven:maven:pom:2.0 with pom file: /Users/ibrandt/.m2/
repository/org/apache/maven/maven/2.0/maven-2.0.pom
[DEBUG] Adding managed dependencies for unknown:maven-project
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4
[DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5
[DEBUG] org.apache.maven:maven-project:jar:2.0:runtime (selected
for runtime)
[DEBUG] Building profile manager for model: [inherited]:null:jar:
[inherited] with pom file: null
[DEBUG] Building profile manager for model: [inherited]:maven-
profile:jar:2.0 with pom file: null
[DEBUG] Building profile manager for model:
org.apache.maven:maven:pom:2.0 with pom file: /Users/ibrandt/.m2/
repository/org/apache/maven/maven/2.0/maven-2.0.pom
[DEBUG] Adding managed dependencies for unknown:maven-profile
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4
[DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5
[DEBUG] org.apache.maven:maven-profile:jar:2.0:runtime (selected
for runtime)
[DEBUG] Building profile manager for model: [inherited]:null:jar:
[inherited] with pom file: null
[DEBUG] Building profile manager for model: org.apache.maven:maven-
model:jar:2.0 with pom file: null
[DEBUG] Building profile manager for model:
org.apache.maven:maven:pom:2.0 with pom file: /Users/ibrandt/.m2/
repository/org/apache/maven/maven/2.0/maven-2.0.pom
[DEBUG] Adding managed dependencies for org.apache.maven:maven-model
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4
[DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5
[DEBUG] org.apache.maven:maven-model:jar:2.0:runtime (selected
for runtime)
[DEBUG] Building profile manager for model: [inherited]:null:jar:
[inherited] with pom file: null
[DEBUG] Building profile manager for model:
org.codehaus.plexus:plexus-utils:jar:1.0.4 with pom file: null
[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] Building profile manager for model: [inherited]:null:jar:
[inherited] with pom file: null
[DEBUG] Building profile manager for model:
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8 with pom
file: null
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-
alpha-8:runtime (selected for runtime)
[DEBUG] Building profile manager for model: [inherited]:null:jar:
[inherited] with pom file: null
[DEBUG] Building profile manager for model: junit:junit:jar:3.8.1
with pom file: null
[DEBUG] junit:junit:jar:3.8.1:runtime (selected for runtime)
[DEBUG] Building profile manager for model: [inherited]:null:jar:
[inherited] with pom file: null
[DEBUG] Building profile manager for model:
classworlds:classworlds:jar:1.1-alpha-2 with pom file: null
[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] Building profile manager for model: [inherited]:null:jar:
[inherited] with pom file: null
[DEBUG] Building profile manager for model: org.apache.maven:maven-
artifact-manager:jar:2.0 with pom file: null
[DEBUG] Building profile manager for model:
org.apache.maven:maven:pom:2.0 with pom file: /Users/ibrandt/.m2/
repository/org/apache/maven/maven/2.0/maven-2.0.pom
[DEBUG] Adding managed dependencies for org.apache.maven:maven-
artifact-manager
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4
[DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5
[DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0:runtime
(selected for runtime)
[DEBUG] Building profile manager for model: [inherited]:null:jar:
[inherited] with pom file: null
[DEBUG] Building profile manager for model: org.apache.maven:maven-
repository-metadata:jar:2.0 with pom file: null
[DEBUG] Building profile manager for model:
org.apache.maven:maven:pom:2.0 with pom file: /Users/ibrandt/.m2/
repository/org/apache/maven/maven/2.0/maven-2.0.pom
[DEBUG] Adding managed dependencies for org.apache.maven:maven-
repository-metadata
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4
[DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5
[DEBUG] org.apache.maven:maven-repository-metadata:jar:
2.0:runtime (selected for runtime)
[DEBUG] Building profile manager for model: [inherited]:null:jar:
[inherited] with pom file: null
[DEBUG] Building profile manager for model: org.apache.maven:maven-
artifact:jar:2.0 with pom file: null
[DEBUG] Building profile manager for model:
org.apache.maven:maven:pom:2.0 with pom file: /Users/ibrandt/.m2/
repository/org/apache/maven/maven/2.0/maven-2.0.pom
[DEBUG] Adding managed dependencies for org.apache.maven:maven-artifact
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4
[DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5
[DEBUG] org.apache.maven:maven-artifact:jar:2.0:runtime
(selected for runtime)
[DEBUG] Building profile manager for model: [inherited]:null:jar:
[inherited] with pom file: null
[DEBUG] Building profile manager for model:
org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5 with pom
file: null
[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] Building profile manager for model: [inherited]:null:jar:
[inherited] with pom file: null
[DEBUG] Building profile manager for model: [inherited]:plexus-
utils:jar:1.4.1 with pom file: null
[DEBUG] Building profile manager for model:
org.codehaus.plexus:plexus:pom:1.0.11 with pom file: /Users/
ibrandt/.m2/repository/org/codehaus/plexus/plexus/1.0.11/
plexus-1.0.11.pom
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed
- nearer found: 1.4.1)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.4.1:runtime
(selected for runtime)
[DEBUG] Using the following artifacts for classpath of:
org.apache.maven.plugins:maven-resources-plugin:maven-plugin:2.3-
SNAPSHOT:
[org.codehaus.plexus:plexus-utils:jar:1.4.1:runtime]
[DEBUG] Retrieving realm for plugin with id: /plugins/
org.apache.maven.plugins:maven-resources-plugin:[EMAIL PROTECTED]
[DEBUG] Creating realm for plugin with id: /plugins/
org.apache.maven.plugins:maven-resources-plugin:[EMAIL PROTECTED]
[DEBUG] Created realm: ClassRealm[/plugins/
org.apache.maven.plugins:maven-resources-plugin:
[EMAIL PROTECTED], parent: null] for plugin:
org.apache.maven.plugins:maven-resources-plugin
[DEBUG] Discovering components in realm: ClassRealm[/plugins/
org.apache.maven.plugins:maven-resources-plugin:
[EMAIL PROTECTED], parent: null]
[DEBUG] Checking for plugin descriptor for:
org.apache.maven.plugins:maven-resources-plugin with version:
2.3-20071129.184111-5 in collector:
[EMAIL PROTECTED]
[INFO]
------------------------------------------------------------------------
----
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
----
[INFO] The PluginDescriptor for the plugin
org.apache.maven.plugins:maven-resources-plugin was not found
java.lang.IllegalStateException: The PluginDescriptor for the plugin
org.apache.maven.plugins:maven-resources-plugin was not found
at org.apache.maven.plugin.DefaultPluginManager.addPlugin
(DefaultPluginManager.java:384)
at org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin
(DefaultPluginManager.java:231)
at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin
(DefaultPluginManager.java:180)
at org.apache.maven.plugin.loader.DefaultPluginLoader.loadPlugin
(DefaultPluginLoader.java:204)
at org.apache.maven.plugin.loader.DefaultPluginLoader.loadPlugin
(DefaultPluginLoader.java:66)
at
org.apache.maven.lifecycle.plan.DefaultBuildPlanner.loadPluginDescriptor
(DefaultBuildPlanner.java:195)
at
org.apache.maven.lifecycle.plan.DefaultBuildPlanner.findForkModifiers
(DefaultBuildPlanner.java:114)
at
org.apache.maven.lifecycle.plan.DefaultBuildPlanner.addForkedLifecycleMo
difiers(DefaultBuildPlanner.java:107)
at
org.apache.maven.lifecycle.plan.DefaultBuildPlanner.constructBuildPlan
(DefaultBuildPlanner.java:62)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getLifecycleBindings
(DefaultLifecycleExecutor.java:431)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:313)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
(DefaultLifecycleExecutor.java:151)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:220)
at org.apache.maven.embedder.MavenEmbedder.execute
(MavenEmbedder.java:813)
at org.maven.ide.eclipse.embedder.Maven2Executor.main
(Maven2Executor.java:85)
[INFO]
------------------------------------------------------------------------
----
[INFO] Total time: 0 second
[INFO] Finished at: Thu Feb 14 14:34:25 PST 2008
[INFO] Memory 0M/4M
[INFO]
------------------------------------------------------------------------
----
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email