Sourcecontrol for you application server configuration.
Its as easy as using maven:
mvn install
There are two ways to use the application, directly or trough the maven plugin.
For the direct approach you'll have to setup some configuration:
Configuration configuration = new Configuration();
configuration.getContexts().addAll(Arrays.asList(contexts));
configuration.getApplicationServers().addAll(applicationServers);
configuration.setOutputDirectoryPath(outputDirectory);
ASConfigCreator asConfigCreator = new ASConfigCreator(configuration);
asConfigCreator.createConfigFiles(masterFile.getAbsolutePath());
For the maven plugin you can use the following snippet:
<plugin>
<groupId>nl.eernie.as</groupId>
<artifactId>ASConfigCreator-maven-plugin</artifactId>
<version>[latestVersion]</version>
<configuration>
<settingsFile>${basedir}/settings.properties</settingsFile>
</configuration>
</plugin>