calculation-engine project는 test scope에서 calculation-swing를 사용한다.
calculation-swing은 당연히 calculation-engine을 사용한다(default==compile scope).
scope가 다르기 때문에 이게 cyclic이 되는지 헷깔렸는데… 역시 구글형님은 다 알더라.
tricky cyclic dependency issue …
컴파일은 project 별로 main과 test code를 한꺼번에 진행하기 때문에 cycle이 발생한다.
calculation-swing을 컴파일 하려면 calculation-engine 프로젝트가 빌드되어야 하고
calculation-engine은 빌드 과정에 test 수행을 위해 test scope의 calculation-swing이 빌드되어야 한다.
무한 반복…