2012-08-31 2 views
0

github git://github.com/netty/netty.git에서 git clone을 수행 한 후 mvn clean install을 수행했습니다. 그러나 나는 java version "1.7.0_06"와 윈도우 7 컴퓨터를 사용 maven checkstyle pluginNetty 컴파일이 윈도우에 checkstyle 오류를 던졌습니다.

C:\git\netty\common\src\main\java\io\netty\util\UniqueName.java:106: Line matches the illegal pattern '\r'. 
C:\git\netty\common\src\main\java\io\netty\util\UniqueName.java:107: Line matches the illegal pattern '\r'. 
C:\git\netty\common\src\main\java\io\netty\util\UniqueName.java:108: Line matches the illegal pattern '\r'. 
C:\git\netty\common\src\main\java\io\netty\util\UniqueName.java:109: Line matches the illegal pattern '\r'. 
.... 
Audit done. 

에서 다음과 같은 오류가 있어요. 이러한 오류를 방지하고 좋은 컴파일을 얻으려면 어떻게해야합니까?

답변

0

\r\n으로 바꿀 수 있습니다. 당신은 단지 프로젝트를 컴파일하고 checkstyle에서 모든 메시지를 무시하려는 경우

가 아니면, 내가 (코드 : https://github.com/netty/netty/blob/master/pom.xml#L311) 속성 failsOnErrorfalse-failOnViolation 설정하는 것이 좋습니다 여전히 소스를 확인합니다 checkstyle이 경우,하지만 때를 실패하지 않습니다 뭔가를 찾아라.

관련 문제