티스토리 뷰


* 개요

Build path 에서 1.8 로 바꾸고 Maven update 하면 다시 1.6으로 바뀌는 현상의 해결


- pom.xml 의 java-version 프로퍼티 수정

<properties>

<java-version>1.8</java-version>

...




- org.apache.maven.plugins 의 버전 고쳐야 함.

<plugin>

                <groupId>org.apache.maven.plugins</groupId>

                <artifactId>maven-compiler-plugin</artifactId>

                <version>2.5.1</version>

                <configuration>

                    <source>1.8</source>

                    <target>1.8</target>

                    <compilerArgument>-Xlint:all</compilerArgument>

                    <showWarnings>true</showWarnings>

                    <showDeprecation>true</showDeprecation>

                </configuration>

            </plugin>


공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
more
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함