No plugin found for prefix ‘war’ in the current project and in the plugin groups的问题,需要在pom文件中加上:
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.5</version>
</dependency>