#57 fix problem

This commit is contained in:
Calvin
2012-07-18 16:42:29 +08:00
parent 1b929414db
commit 6e0109beb5
+18
View File
@@ -410,6 +410,24 @@
<wtpversion>2.0</wtpversion>
</configuration>
</plugin>
<!-- jetty插件, 设定context path与spring profile -->
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<configuration>
<systemProperties>
<systemProperty>
<name>spring.profiles.active</name>
<value>development</value>
</systemProperty>
</systemProperties>
<useTestClasspath>true</useTestClasspath>
<webAppConfig>
<contextPath>/${project.artifactId}</contextPath>
</webAppConfig>
</configuration>
</plugin>
<!-- resource插件 -->
<plugin>