http://niuzhenxin.iteye.com/blog/2042102
http://blog.csdn.net/u012562943/article/details/51690744
pom.xml:
<build>
<resources>
<resource>
<directory>config</directory>
<targetPath>../config</targetPath>
</resource>
</resources>
</build>
resource 部分在项目里仅为了在eclipse里执行项目。
maven-assembly-plugin 不需要它,可以直接从项目源码拷贝。
jar 包从target/classes拷贝。
--希望是生命的瑰丽朝霞,我们应当在希望中生活,并在希望中奋进,去开拓我们的人生之路。