Hi, The oracle jars are not available in the repos. You must install them in your local repo. Use the following command (ojdbc14.jar is the oracle jdbc driver jar):
mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc14 -Dversion=10.2.0.4.0 -Dpackaging=jar -Dfile=ojdbc14.jar -DgeneratePom=true See also http://maven.apache.org/plugins/maven-install-plugin/usage.html Cheers, Andi Adee wrote: > > Hi, > > I am very new to Maven. In the POM Hibernate3 maven plugin is added. When > I am trying to build, getting the following error message: > > Error message: Failed to resolve plugin for mojo binding: > org.codehaus.mojo:hibernate3-maven-plugin:2.2:hbm2ddl > Root error message: Missing: > ---------- > 1) com.oracle:ojdbc14:jar:10.2.0.4.0 > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc14 > -Dversion=10.2.0.4.0 -Dpackaging=jar -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=com.oracle -DartifactId=ojdbc14 > -Dversion=10.2.0.4.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] > -DrepositoryId=[id] > > Path to dependency: > 1) org.codehaus.mojo:hibernate3-maven-plugin:maven-plugin:2.2 > 2) com.oracle:ojdbc14:jar:10.2.0.4.0 > > ---------- > 1 required artifact is missing. > > for artifact: > org.codehaus.mojo:hibernate3-maven-plugin:maven-plugin:2.2 > > from the specified remote repositories: > codehaus.org (http://snapshots.repository.codehaus.org), > central (http://repo1.maven.org/maven2) > > I have install the plugin manually, but still having the same problem. Any > comments will really be appreciated. > > Thanks, > Adee > -- View this message in context: http://www.nabble.com/Failed-to-resolve-plugin-for-mojo-binding%3A-org.codehaus.mojo%3Ahibernate3-maven-plugin%3A2.2%3Ahbm2ddl-tp23665557p23675095.html Sent from the mojo - user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
