pom.xml文件<build>标签后面加上<defaultGoal>compile</defaultGoal>即可

 

 <build>
 <defaultGoal>compile</defaultGoal>
 </build>

 

相关文章: