压缩时在Maven组件插件中遇到问题

时间:2019-05-07 04:26:54

标签: maven maven-assembly-plugin

  1. 我正在运行mvn clean install,下载所有依赖项后,将用于压缩。
  2. 在这里我遇到了一个问题,因为maven程序集插件在默认目标目录中添加了额外的字符“ r”。

错误:

17:49:03 Cleaning up unclosed ZipFile for archive /local/mesos-kascmadm-slave/slaves/85ea069f-5248-44d2-a0d7-7ec95cfe34ae-S9/frameworks/85ea069f-5248-44d2-a0d7-7ec95cfe34ae-0010/executors/mesos-jenkins-d4ea99e8fa39413b92051e4e1704481c-Linux_redhat_7.4/runs/2f6dbb53-e239-4cd9-adfe-8f23579bf094/jenkins/workspace/classic_soiv_dmptest_gerrit/.repository/com/itextpdf/itextpdf/5.5.13/itextpdf-5.5.13.jar
17:49:03 Waiting for Jenkins to finish collecting data
17:49:03 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.0.0:single (default) on project soiv-dmp-test: Failed to create assembly: Error creating assembly archive jar-with-dependencies: IOException when zipping 
**r**com/itextpdf/text/pdf/parser/PdfContentStreamProcessor$PushGraphicsState.class: No such file or directory -> [Help 1]
17:49:03 [ERROR] 
17:49:03 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
17:49:03 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
17:49:03 [ERROR] 
17:49:03 [ERROR] For more information about the errors and possible solutions, please read the following articles:
17:49:03 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
17:49:03 [ERROR] 
17:49:03 [ERROR] After correcting the problems, you can resume the build with the command
17:49:03 [ERROR]   mvn <goals> -rf :soiv-dmp-test

0 个答案:

没有答案