Return to Snippet

Revision: 4512
at December 25, 2007 21:44 by cfrias


Initial Code
<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>hibernate3-maven-plugin</artifactId>
				<version>2.0-alpha-2</version>
				<configuration>
					<components>
						<component>
							<name>hbm2ddl</name>
							<implementation>
								annotationconfiguration
							</implementation>
							<outputDirectory>
								target/derby-ddl
							</outputDirectory>
						</component>
						<component>
							<name>hbm2hbmxml</name>
							<outputDirectory>
								target/hbm
							</outputDirectory>
						</component>
						<component>
							<name>hbm2java</name>
							<outputDirectory>
								target/java
							</outputDirectory>
							<implementation>
								annotationconfiguration
							</implementation>
						</component>
						<component>
							<name>schema-export</name>
							<outputDirectory>
								target/schema-export
							</outputDirectory>
						</component>
					</components>
					<componentProperties>
						<drop>false</drop>
						<configurationfile>
							src/main/resources/hibernate.derby.cfg.xml
						</configurationfile>
						<revengfile>
							src/main/hibernate-generation/derby.reveng.xml
						</revengfile>
						<jdk5>true</jdk5>
						<ejb3>true</ejb3>
						<!--  
							<outputfilename>
							hbm2ddl-derby.sql
							</outputfilename>
						-->
					</componentProperties>
				</configuration>
			</plugin>

Initial URL

                                

Initial Description

                                

Initial Title
Hibernate Maven 2 Plugin Configuration Sample

Initial Tags
plugin, java

Initial Language
Java