본문 바로가기

Framework & Library/Spring

Spring MVC Project - pom.xml JDK 11 버전으로 설정하기

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="maven.apache.org/POM/4.0.0" www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

 <modelVersion>4.0.0</modelVersion>
 <groupId>org.zerok</groupId> <!--package id-->
 <artifactId>controller</artifactId>
 <name>ex01</name>
 <packaging>war</packaging>
 <version>1.0.0-BUILD-SNAPSHOT</version>

<!-- 자바 11 버전 환경설정 -->
 <properties> 
  <java-version>11</java-version>
  <org.springframework-version>5.0.0.RELEASE</org.springframework-version>
  <org.springframework.security-version>5.0.0.RELEASE</org.springframework.security-version>
  <org.aspectj-version>1.6.10</org.aspectj-version>
  <org.slf4j-version>1.6.6</org.slf4j-version>
</properties>