1.在taotao-manager中添加tomcat插件依赖
<build>
<plugins>
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<configuration>
<path>/</path>
<port>8080</port>
</configuration>
</plugin>
</plugins>
</build>
2.启动聚合工程(maven build)
3.(发现启动聚合工程的话,用不着被打包到本地maven仓库,可以提高效率。)