Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » IAM (Eclipse Integration for Apache Maven) » Test goal with DbUnit plugin dependence
Test goal with DbUnit plugin dependence [message #565434] Wed, 26 March 2008 14:17
Gilberto Caetano de Andrade is currently offline Gilberto Caetano de Andrade
Messages: 44
Registered: July 2009
Member
Hi again,

I'm trying to execute my project through "Run as"-> JUnit, but the dbunit
plugin isn't called.
While executing it through "Maven 2"->Execute Goal, give me this error:
Errors during Maven execution

org.apache.maven.lifecycle.LifecycleExecutionException: Internal error in
the plugin manager executing goal
'org.codehaus.mojo:dbunit-maven-plugin:1.0-beta-1:operation' : Mojo
execution failed.
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeG oalAndHandleFailures(DefaultLifecycleExecutor.java:551)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeT askSegments(DefaultLifecycleExecutor.java:332)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:149)
at org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMav en.java:223)
at
org.apache.maven.DefaultMaven.execute_aroundBody1$advice(Def aultMaven.java:304)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
at
org.apache.maven.embedder.MavenEmbedder.execute_aroundBody4( MavenEmbedder.java:880)
at
org.apache.maven.embedder.MavenEmbedder.execute_aroundBody5$ advice(MavenEmbedder.java:304)
at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedde r.java:1)
at
org.devzuz.q.maven.embedder.internal.EclipseMaven.executeReq uest(EclipseMaven.java:279)
at
org.devzuz.q.maven.embedder.internal.EclipseMavenRequest.run (EclipseMavenRequest.java:71)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: org.apache.maven.plugin.PluginExecutionException: Mojo
execution failed.
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(Def aultPluginManager.java:571)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeG oalAndHandleFailures(DefaultLifecycleExecutor.java:544)
... 11 more
Caused by: org.apache.maven.plugin.MojoExecutionException: Error executing
database operation: CLEAN_INSERT
at org.codehaus.mojo.dbunit.OperationMojo.execute(OperationMojo .java:110)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(Def aultPluginManager.java:549)
... 12 more
Caused by: org.dbunit.dataset.NoSuchTableException: inventario_categoria
at
org.dbunit.database.DatabaseDataSet.getTableMetaData(Databas eDataSet.java:192)
at
org.dbunit.operation.DeleteAllOperation.execute(DeleteAllOpe ration.java:98)
at
org.dbunit.operation.CompositeOperation.execute(CompositeOpe ration.java:67)
at org.dbunit.ant.Operation.execute(Operation.java:183)
at org.codehaus.mojo.dbunit.OperationMojo.execute(OperationMojo .java:101)
... 13 more

Any limitation here?

Gilberto
Previous Topic:Comments are removed after use of "Manage Dependencies" option
Next Topic:Preparing for q4e 0.6.0
Goto Forum:
  


Current Time: Fri Jul 25 21:13:27 EDT 2014

Powered by FUDForum. Page generated in 0.11537 seconds