Maven, Java, and custom files for deployment

Posted by Marco on Stack Overflow See other posts from Stack Overflow or by Marco
Published on 2010-05-19T23:22:17Z Indexed on 2010/05/19 23:30 UTC
Read the original article Hit count: 167

Filed under:
|
|

Hi,

i've a Java project managed by Maven2. The scenario i'm trying to solve is the following: in development mode i need to use some configuration files (for example, a hibernate.cfg.xml configured for the dev environment), while in production i need to exclude all the development specific files and configurations, and get instead some other ones for my production environment. How can i handle this situation?

Thanks

© Stack Overflow or respective owner

Related posts about maven

Related posts about java