Profiles can probably handle this for you.

Wayne

On 12/12/06, Aleksei Valikov <[EMAIL PROTECTED]> wrote:
Hi folks,

We have a webapp on Hibernate/JSF. DB access only via Hibernate, no pure JDBC 
code.

I'd like to ask advice on building this webbapp for different databases. We use
HSQLDB in development-time, but production variants should run on Oracle and
PostgreSQL. My questin is how could we use Maven to build versions of our app
for some specific DBs?
Our application is fully mavenized.
It contains modules like:

* schema - compiled XML Schemas;
* main - main code;
* web - war-packaged module.

Should we simply create further web-oracle, web-psql etc. with dependencies on
web and on specific DBs? Or what is the recommended approach?

Thank you for your time and your replies.

Bye.
/lexi

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to