Thank you Johann, your suggestion resolved the problem! I suggest to
improve the documentation to reflect this property should be specified
this way.

Anyway thank you very much,
  Roberto Lo Giacco

2008/5/5 Johann Reyes <[EMAIL PROTECTED]>:
> Hello Roberto
>
> try this:
>
>
> <plugin>
>   <groupId>org.codehaus.mojo</groupId>
>   <artifactId>hibernate3-maven-plugin</artifactId>
>   <configuration>
>     <components>
>        <component>
>         <name>hbm2ddl</name>
>         <outputDirectory>res/db</outputDirectory>
>       </component>
>     </components>
>
>     <componentProperties>
>        <configurationfile>/res/db/hibernate.cfg.xml</configurationfile>
>       <propertyfile>/res/db/hsqldb.properties</propertyfile>
>       <outputfilename>hsqldb-schema.sql</outputfilename>
>        <export>false</export>
>       <jdk5>true</jdk5>
>       <format>true</format>
>     </componentProperties>
>   </configuration>
>   <executions>
>     <execution>
>        <phase>generate-test-resources</phase>
>       <id>hsqldb-schema.sql</id>
>       <goals>
>         <goal>hbm2ddl</goal>
>       </goals>
>     </execution>
>    </executions>
>   <dependencies>
>     <dependency>
>       <groupId>hsqldb</groupId>
>       <artifactId>hsqldb</artifactId>
>       <version>1.8.0.7</version>
>      </dependency>
>   </dependencies>
> </plugin>
>
>
> Regards
>
> Johann Reyes
>



-- 
 Roberto Lo Giacco

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to