maven을 사용하여 프로젝트를 빌드하면 javac로 직접 컴파일 한 것보다 인쇄가 적어 지지만 실패 할 수 있습니다. NetBeans를 사용하여 디버깅을하면 주석 처리를하지 않고 인쇄물을 볼 수 있다면 도움이 될 것입니다.모든 Java 컴파일러 출력을 어떻게 인쇄합니까?
> <plugin>
> <artifactId>maven-compiler-plugin</artifactId>
> <version>2.3.2</version>
> <dependencies>
> <dependency>
> <groupId>org.codehaus.plexus</groupId>
> <artifactId>plexus-compiler-javac</artifactId>
> <version>1.6</version>
> </dependency>
> </dependencies>
> <configuration>
> <source>1.6</source>
> <target>1.6</target>
> <encoding>${project.build.sourceEncoding}</encoding>
> <compilerId>javac</compilerId>
> <verbose>true</verbose>
> <showWarnings>true</showWarnings>
> </configuration> ...
구성에 중복이 있습니다. http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#showWarnings. – simpatico