在build节点下增加resources.
<build> <!-- 资源 --> resources> 复制非class文件 --> resource> directory>src/main/java/com/coracle/yk/xpo/po/common</filtering>trueincludes> include>*.xmltargetPath>${project.build.directory}/classes/com/coracle/yk/xpo/po/common> >