GUVNOR-2088  Adding logic to automatically publish to configured repositories in the settings.xml so that the build and deploy from the WB matches mvn behavior