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
|
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>hibernate3-maven-plugin</artifactId>
<version>2.2</version>
<configuration>
<components>
<!--<component>
<name>hbmtemplate</name>
</component>
<component>
<name>hbm2doc</name>
</component>
<component>
<name>hbm2java</name>
</component>
<component>
<name>hbm2hbmxml</name>
</component>
--><component>
<name>hbm2ddl</name>
</component>
</components>
<componentProperties>
<implementation>configuration</implementation>
<configurationfile>
utilitairesdev/hibernate.DMOREF1.cfg.xml
</configurationfile>
<create>true</create>
<export>true</export>
<format>true</format>
<scan-classes>true</scan-classes>
<detectmanytomany>false</detectmanytomany>
</componentProperties>
</configuration>
<dependencies>
<dependency>
<groupId>oracle</groupId>
<artifactId>ojdbc5</artifactId>
<version>11.1.0.6.0-patche</version>
</dependency><!--
<dependency>
<groupId>concurrent</groupId>
<artifactId>concurrent</artifactId>
<version>1.3.3</version>
</dependency>
--></dependencies>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>hbm2ddl</goal>
</goals>
<inherited>false</inherited>
</execution>
</executions>
</plugin> |
Partager