http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExcepti

项目打包出错
在配置文件里加上

  <plugin>
  	<groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <executions>
            <execution>
        	<phase>none</phase>
            </execution>
         </executions>
         <configuration>
             <source>1.8</source>
             <target>1.8</target>
             <encoding>UTF-8</encoding>
             <fork>true</fork>
         </configuration>
</plugin>

你可能感兴趣的:(bug)