Posted By

mpillitu on 06/25/09


Tagged

template maven calm profilesxml


Versions (?)

Maven Calm profiles.xml template


 / 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/

  1. <profilesXml>
  2. <profiles>
  3. <profile>
  4. <id>local</id>
  5. <activation>
  6. <activeByDefault>false</activeByDefault>
  7. <property>
  8. <name>env</name>
  9. <value>local</value>
  10. </property>
  11. </activation>
  12. <properties>
  13. <maven.j2ee-deploy.remote.hostname>127.0.0.1</maven.j2ee-deploy.remote.hostname>
  14. <maven.j2ee-deploy.remote.servlet.port>8080</maven.j2ee-deploy.remote.servlet.port>
  15. </properties>
  16. </profile>
  17. <profile>
  18. <id>staging</id>
  19. <activation>
  20. <activeByDefault>false</activeByDefault>
  21. <property>
  22. <name>env</name>
  23. <value>staging</value>
  24. </property>
  25. </activation>
  26. <properties>
  27. <maven.j2ee-deploy.remote.hostname>mystaging.sourcesense.com</maven.j2ee-deploy.remote.hostname>
  28. <maven.j2ee-deploy.remote.servlet.port>8081</maven.j2ee-deploy.remote.servlet.port>
  29. </properties>
  30. </profile>
  31. </profiles>
  32. </profilesXml>

Report this snippet  

You need to login to post a comment.