I’m trying to build an application starting from an Appfuse Archetype, but I get some strange problems. For once I’d like to use a hsqldb for automated unit tests and integration tests, and a mysql db for my manual testing so that I can easily manipulate the data when I need to, so it would be nice to automatically switch profiles during the testing phases. Is there a way to do that?
Share
I’m not sure if this is exactly what you are asking for, but you can do the following to setup multiple filters for your Maven project.
This way you can setup multiple profiles using:
You can then run the build with the relevant property file using:
This would require having property files located at: