[maven-compiler-plugin] annotations are not supported in -source 1.3 처리 방법

maven 프로젝트 컴파일의 경우,  아래와 같은 메세지를 만날 때가 있다.
프로젝트는 생성하는 경우는 생각보다 많지는 않지만,
매번 잊고 install 할때가 생긴다. :)

annotations are not supported in -source 1.3
(use -source 5 or higher to enable annotations)

해결방법은 간단하다. 해당 프로젝트 또는 해당 maven module의 부모 프로젝트에
maven-compiler-plugin 을 선언해주면 되는 것이다.



댓글

가장 많이 본 글