因为maven下载依赖jar包时,特别慢,所以取消了下载过程,再次打开eclipse时,maven的pom.xml文件报错如下: ArtifactTransferException: Failure to transfer xom:xom:jar:1.2.5 from http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until th…
参考官方网站:http://maven.apache.org/plugins/maven-assembly-plugin/usage.html 方法一:将pom.xml引入的jar包打到zip文件夹中 1.pom.xml的配置 <!-- 打包配置 start --> <build> <plugins> <plugin> <!-- NOTE: We don't need a groupId specification because the group…