马文冷静配置文件.xml模板
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了马文冷静配置文件.xml模板相关的知识,希望对你有一定的参考价值。
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/
<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>
以上是关于马文冷静配置文件.xml模板的主要内容,如果未能解决你的问题,请参考以下文章
xml Eclipse模板(代码片段)检查参数并最终抛出IllegalArgumentException
马文2pom.xml文件对于在Eclipse Europa+m2eclipse中工作的webapp