Post

IntelliJ Maven Blocked the mirror 에러

IntelliJ Maven Blocked the mirror 에러

1. Maven 3.8.1

Maven 3.8.1 버전에서 http에 대한 외부 연결을 막는 설정이 default로 변경되었다.

2. 문제점

내부망에 존재하는 http에 접속할 수 없어 Blocked the mirror error와 함께 build에 실패한다.

3. 해결방법

IntelliJ Maven 설정을 Use Maven wrapper로 변경한다.

Bundled (Maven 3)은 3.8.1 버전 설정이고, Use Maven wrapper는 properties 파일에서 읽어오는 이전 버전이다.

  • File → Settings → Build, Execution, Deployment → Build Tools → Maven

intellij-settings

[출처 및 참고]

This post is licensed under CC BY 4.0 by the author.