jetty插件启动太慢

配置只扫描spring  

<plugin>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-maven-plugin</artifactId>
                <version>9.3.9.v20160517</version>
                <configuration>
                    <scanIntervalSeconds>0</scanIntervalSeconds>
                      <webAppConfig>
                         <webInfIncludeJarPattern>.*/spring-[^/]*\.jar$</webInfIncludeJarPattern>
                      </webAppConfig>
                </configuration>
</plugin>

猜你喜欢

转载自my.oschina.net/yukong/blog/1627048