CruGlobal/conf-registration-api — pull request #9 by ryancarlson (2013-07-29 14:13:50+00:00)
Title: Datasource/persistence will now be configured based on the maven build

* EntityManagerProducer now will only reference a generic _crsPersistenceUnit_
* _crsPersistenceUnit_ is now the only PU in persistence.xml (except for the unit test PU which defines all connection info)
* persistence.xml takes a build time parameter to specify the datasource name
* the pom.xml has a _local_ and _development_ profile which specify the appropriate datasource name for each environment
* the _local_ profile is active by default
* the _development_ (and later stage/prod) can be activated by appending `-P development` to the end of the CLI maven build.
* e.g: `mvn clean package -P development`