db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc Kannegiesser" <macs_mailingli...@gmx.de>
Subject Torque Maven2 Plugin and idBroker
Date Fri, 14 Sep 2007 11:36:41 GMT
Hi Everyone. 

I am currently porting the built-process of an application from Maven1 to Maven 2. 

We used the maven-torque-plugin and - of course - we are planning to use the maven2 MOJO-Based
version now. This works quite well already but I'm currently having some problems with the
IDBroker feature. 
For maven1 there was a goal named torque:id-table-init-sql to init the ID-Broker table. This
goal is missing in the maven2 version and I am wondering how to realize that the corresponding
table gets created correctly.

The only thing I could find was the config-option of the torque:sql goal named idTableXmlFile
which I alrady set. 

But this seems to be ignored and I am wondering if i need any additional (undocumented) parameters
or even an additional plugin?

My configuration in the pom.xml file:

      <id>Creating .sql files</id>
      <id>OM Goal (Generating Classes, Beans, ...)</id>
      <id>Fire sql to the database!!!</id>

With the maven1 plugin in the sql goal files like table-idbroker.sql were generated and executed
during the insert-sql goal. This seems not to be happening with the maven2 plugin. 

Hopefully anybody can help me and tell me what I forgot ;)

Thanks in advance, 


To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org

View raw message