-
maven-jetty-plugin개발 2014. 11. 4. 15:49
예전 버전의 리파지토리가 변경되었다.
일단 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>
'개발' 카테고리의 다른 글
[기타] git 디렉토리에 있는 모든 서브 디렉토리 pull하기 (0) 2014.12.22 [기타] JVM 수준에서 인코딩을 변경할 때 (0) 2014.12.04 JSON과 Binary (0) 2014.10.05 Cross-Origin Resource Sharing (CORS) (0) 2014.10.05 [JPA 2.0] OneToMany 설정하기 (0) 2014.09.30