Out at the maven-hibernate3 plugin (for maven2), it indicates that an
extension needs to be defined. I believe Extension is generated by Modello
from the maven.mdo file, but I can't say for certain.
What should this extension contain. I tried included the groupId,
artifactId and version of a jar file that contains the JDBC Driver I'm
interested in which is installed in my local repository. Is this all I
need?
I'm still getting this error msg:
[INFO]
----------------------------------------------------------------------------
[INFO] Building Data Extract
[INFO] task-segment: [hibernate3:schema-export]
[INFO]
----------------------------------------------------------------------------
[INFO] Searching repository for plugin with prefix: 'hibernate3'.
[INFO] Preparing hibernate3:schema-export
[INFO] xmlbeans:xmlbeans {execution: default}
[INFO] Either nothing to generate or all schema objects are up to date.
[INFO] resources:resources
[INFO] Using default encoding to copy filtered resources.
[INFO] compiler:compile
[INFO] Nothing to compile - all classes are up to date
[INFO] hibernate3:schema-export
log4j:WARN No appenders could be found for logger
(org.hibernate.cfg.Environment).
log4j:WARN Please initialize the log4j system properly.
[INFO] Configuration XML file loaded:
C:\callisto_workspace\DataExtract\src\main\resources\hibernate.cfg.xml
[INFO] No hibernate properties file loaded: None specified.
[WARN] 1 error(s) occurred while performing <schema-export>.
[WARN] Error #1: java.sql.SQLException: No suitable driver
[ERROR] mojo-execute : hibernate3:schema-export
Diagnosis: Errors while performing <schema-export>
FATAL ERROR: Error executing Maven for a project
[ERROR] project-execute : paraware:DataExtract:jar:0.0.1 ( task-segment:
[hibernate3:schema-export] )
Diagnosis: Errors while performing <schema-export>
FATAL ERROR: Error executing Maven for a project
org.apache.maven.lifecycle.LifecycleExecutionException: Errors while
performing <schema-export>
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
at
org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:441)
at
org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:382)
at org.maven.ide.eclipse.Maven2Executor.main(Maven2Executor.java:68)
Caused by: org.apache.maven.plugin.MojoExecutionException: Errors while
performing <schema-export>
at
org.codehaus.mojo.hibernate3.exporter.SchemaExportMojo.doSchemaExport(SchemaExportMojo.java:89)
at
org.codehaus.mojo.hibernate3.exporter.SchemaExportMojo.doExecute(SchemaExportMojo.java:51)
at
org.codehaus.mojo.hibernate3.HibernateExporterMojo.execute(HibernateExporterMojo.java:60)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
... 8 more
Thanks.
--
View this message in context:
http://www.nabble.com/hibernate3-extension---No-Suitable-Driver-t1838389.html#a5018690
Sent from the Maven - Users forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]