maven-jetty-plugin
예전 버전의 리파지토리가 변경되었다.
일단 JDK 1.7 이하를 지원하려면 예전 버전이 있는 그룹과 아이디를 지정해야함.
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.miracom.mobileplant</groupId> <artifactId>mobileplant-webcontent</artifactId> <version>1.1.0-SNAPSHOT</version> <packaging>war</packaging> <build> <plugins> <plugin> <!-- only for 1.7 or above --> <!-- <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-maven-plugin</artifactId> <version>9.2.3.v20140905</version> --> <!-- for 1.6 or above --> <groupId>org.mortbay.jetty</groupId> <artifactId>jetty-maven-plugin</artifactId> <version>7.6.16.v20140903</version> <configuration> <scanIntervalSeconds>10</scanIntervalSeconds> <webApp> <contextPath>/contextpath</contextPath> </webApp> <!-- default port is 8080 <connectors> <connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector"> <port>9090</port> <maxIdleTime>60000</maxIdleTime> </connector> </connectors> --> </configuration> </plugin> </plugins> </build>
</project> |