1. 程式人生 > >Maven之配置jetty

Maven之配置jetty

spring plugin use ase log ring code ont eclipse

            <plugin>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-maven-plugin</artifactId>
                <version>9.2.19.v20160908</version>
                <configuration>
                    <jvmArgs>JAVA_OPTS=-javaagent:springloaded-1.2.5.RELEASE.jar -noverify</jvmArgs>
                    <useTestClasspath>true</useTestClasspath>
                    <webApp>
                        <contextPath>/${project.artifactId}</contextPath>
                    </webApp>
                    <httpConnector>
                        <port>7080</port>
                    </httpConnector>
                </configuration>
            </plugin>

Maven之配置jetty