Hi,
do you mean this [1] plugin? It's for maven 1 not for maven 2!! The
maven 2 plugin for dbuit is available at the mojo project over at
codehaus.org [2].
Additionally plugins are not declared as dependencies. They are
configured in the <build/><plugins/><plugin/> section of your pom.
-Tim
[1] http://maven-plugins.sourceforge.net/maven-dbunit-plugin/
[2] http://mojo.codehaus.org/dbunit-maven-plugin/
Juan Ignacio Garzón schrieb:
Hi!
I cannot execute any goal of the dbunit plugin. I have added it on my
project using:
<dependency>
<groupId>maven-plugins</groupId>
<artifactId>maven-dbunit-plugin</artifactId>
<version>1.7</version>
</dependency>
and it was correctly downloaded (its in the repo now). But when I try
to execute"mvn dbunit", I get an error message:
[INFO] Invalid task 'dbunit': you must specify a valid lifecycle
phase, or a goal in the format plugin:goal or
pluginGroupId:pluginArtifactId:pluginVersion:goal
I also get an error when I run:
mvn -e maven-plugins:maven-dbunit-plugin:1.7:dbunit
"[INFO] The PluginDescriptor for the plugin Plugin
[maven-plugins:maven-dbunit-plugin] was not found."
Is there something I am missing?
Thanks!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]