Maven 2 打包时报错: WaveFileReader是内部专用 API, 可能会在未来发行版中删除
解决方案:红色部分是新添加的.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.5</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
<!-- [WARNING] Using platform encoding (GBK actually) to copy filtered resources, i.e. build is platform dependent! -->
<encoding>utf8</encoding>
<compilerArguments>
<verbose/>
<!-- <bootclasspath>${java_hmoe}\jre\lib\rt.jar</bootclasspath> -->
<bootclasspath>C:\Program Files\Java\jdk1.7.0_17\jre\lib\rt.jar</bootclasspath>
</compilerArguments>
</configuration>
</plugin>