源:http://bbs.csdn.net/topics/370117543
评:
在pom文件里面加上下面这段
不然的话只会打包java文件
<build>
<resources>
<resource>
<directory>src/main/java</directory>
<excludes>
<exclude>**/*.java</exclude>
<exclude>**/.svn/*</exclude>
</excludes>
</resource>
</resources>
</build>
评:
在pom文件里面加上下面这段
不然的话只会打包java文件
<build>
<resources>
<resource>
<directory>src/main/java</directory>
<excludes>
<exclude>**/*.java</exclude>
<exclude>**/.svn/*</exclude>
</excludes>
</resource>
</resources>
</build>