1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
| [INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'hibernate3'.
[INFO] -------------------------------------------------------------------------
---
[INFO] Building ECO
[INFO] task-segment: [hibernate3:hbm2ddl]
[INFO] -------------------------------------------------------------------------
---
[INFO] Preparing hibernate3:hbm2ddl
[WARNING] Removing: hbm2ddl from forked lifecycle, to prevent recursive invocati
on.
[INFO] Preparing hibernate3:hbm2java
[WARNING] Removing: hbm2ddl from forked lifecycle, to prevent recursive invocati
on.
[WARNING] Removing: hbm2java from forked lifecycle, to prevent recursive invocat
ion.
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[WARNING] Unable to get resource 'org.codehaus.mojo.hibernate3:maven-hibernate3:
pom:2.0-SNAPSHOT' from repository snapshots (http://snapshots.repository.codehau
s.org)
[WARNING] Unable to get resource 'org.codehaus.mojo.hibernate3:maven-hibernate3:
pom:2.0-SNAPSHOT' from repository codehaus.org (http://repository.codehaus.org)
[WARNING] Unable to get resource 'org.codehaus.mojo.hibernate3:maven-hibernate3:
pom:2.0-SNAPSHOT' from repository codehaus.org (http://repository.codehaus.org)
[INFO] [hibernate3:hbm2java {execution: hbm2java}]
[INFO] using annotationconfiguration task.
[INFO] Configuration XML file loaded: C:\Documents and Settings\llandry\Bureau\U
niv_2007\eclipse\ECOMaven\ECO\src\main\resources\hibernate.cfg.xml
[INFO] Configuration XML file loaded: C:\Documents and Settings\llandry\Bureau\U
niv_2007\eclipse\ECOMaven\ECO\src\main\resources\hibernate.cfg.xml
[INFO] Configuration Properties file loaded: C:\Documents and Settings\llandry\B
ureau\Univ_2007\eclipse\ECOMaven\ECO\src\main\resources\database.properties
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [hibernate3:hbm2ddl]
[INFO] Configuration XML file loaded: C:\Documents and Settings\llandry\Bureau\U
niv_2007\eclipse\ECOMaven\ECO\src\main\resources\hibernate.cfg.xml
[INFO] Configuration XML file loaded: C:\Documents and Settings\llandry\Bureau\U
niv_2007\eclipse\ECOMaven\ECO\src\main\resources\hibernate.cfg.xml
[INFO] Configuration Properties file loaded: C:\Documents and Settings\llandry\B
ureau\Univ_2007\eclipse\ECOMaven\ECO\src\main\resources\database.properties
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The dialect was not set. Set the property hibernate.dialect.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.hibernate.HibernateException: The dialect was not set. Set the property hibe
rnate.dialect.
at org.hibernate.dialect.Dialect.getDialect(Dialect.java:649)
at org.hibernate.dialect.Dialect.getDialect(Dialect.java:671)
at org.hibernate.tool.hbm2ddl.SchemaExport.<init>(SchemaExport.java:86)
at org.hibernate.tool.hbm2ddl.SchemaExport.<init>(SchemaExport.java:61)
at org.codehaus.mojo.hibernate3.exporter.Hbm2DDLExporterMojo.doExecute(H
bm2DDLExporterMojo.java:96)
at org.codehaus.mojo.hibernate3.HibernateExporterMojo.execute(HibernateE
xporterMojo.java:139)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:420)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:539)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
Goal(DefaultLifecycleExecutor.java:493)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:463)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:311)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:278)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Wed Mar 07 02:17:36 CET 2007
[INFO] Final Memory: 5M/10M
[INFO] ------------------------------------------------------------------------ |
Partager