/ Published in: Other
How to customize a Maven Calm profiles.xml in order to allow multiple environment builds; for more info look here http://code.google.com/p/maven-calm/
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<profilesXml> <profiles> <profile> <id>local</id> <activation> <activeByDefault>false</activeByDefault> <property> <name>env</name> <value>local</value> </property> </activation> <properties> <maven.j2ee-deploy.remote.hostname>127.0.0.1</maven.j2ee-deploy.remote.hostname> <maven.j2ee-deploy.remote.servlet.port>8080</maven.j2ee-deploy.remote.servlet.port> </properties> </profile> <profile> <id>staging</id> <activation> <activeByDefault>false</activeByDefault> <property> <name>env</name> <value>staging</value> </property> </activation> <properties> <maven.j2ee-deploy.remote.hostname>mystaging.sourcesense.com</maven.j2ee-deploy.remote.hostname> <maven.j2ee-deploy.remote.servlet.port>8081</maven.j2ee-deploy.remote.servlet.port> </properties> </profile> </profiles> </profilesXml>