maven配置启动多个web应用

<plugin>
				<groupId>org.mortbay.jetty</groupId>
				<artifactId>maven-jetty-plugin</artifactId>
				<version>6.1.22</version>
				<configuration>
					<connectors>
						<connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
							<port>80</port>
							<maxIdleTime>60000</maxIdleTime>
						</connector>
					</connectors>
					<contextPath>/risk.webapp</contextPath>
					<scanIntervalSeconds>3</scanIntervalSeconds>
					
					<contextHandlers>
						<contextHandler implementation="org.mortbay.jetty.webapp.WebAppContext">
							<war>../../billing/billing.webapp/target/billing.webapp.war</war>
							<contextPath>/billing.webapp</contextPath>
						</contextHandler>
					</contextHandlers>

				</configuration>
			</plugin>
 

你可能感兴趣的:(maven)