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