mvn site 명령을 날리면 site phase 발생전에 compile phase가 먼저 실행되어 황당할 때가 있다.
원래 site 단계는 compile 단계의 실행을 필요로 하지 않는다.
FindBugs 플러그인를 사용할 때 이런 일이 발생하는데, 소스를 분석하기 위해 compile 단계를 실행하는 것 같다.
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>1.2</version>
</plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>1.2</version>
</plugin>
'Build&Deploy > Maven' 카테고리의 다른 글
Maven : wagon으로 리모트에 파일 전송시 CVS폴더 포함 (0) | 2008.10.01 |
---|---|
Maven : wagon-ssh를 통해 site deploy시 unzip 에러 (0) | 2008.09.30 |
Maven site 문서에서 한글 깨짐 (1) | 2008.09.30 |
Maven : antrun에서 scp 타스크 이용시 scp 타스크 없음 에러 (0) | 2008.09.30 |
Maven : site 생성시 널포인트 에러 (0) | 2008.09.30 |