Maybe you can add this dependency to your pom.xml. I use this method and solve the problem!
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.3.2</version>
</dependency>