Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] [maven install/package] will report errors #3102

Closed
2 of 3 tasks
suiquantong opened this issue Jan 31, 2024 · 2 comments
Closed
2 of 3 tasks

[Bug] [maven install/package] will report errors #3102

suiquantong opened this issue Jan 31, 2024 · 2 comments
Labels
Bug Something isn't working

Comments

@suiquantong
Copy link

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

[INFO] Dinky : Core ....................................... SUCCESS [  8.876 s]
[INFO] Dinky : App ........................................ SUCCESS [  0.004 s]
[INFO] Dinky : App : Base ................................. SUCCESS [ 37.477 s]
[INFO] Dinky : App 1.16 ................................... FAILURE [ 11.233 s]
[INFO] Dinky : Admin ...................................... SKIPPED
[INFO] Dinky : Assembly ................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  02:32 min
[INFO] Finished at: 2024-01-31T10:34:52+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.4.2:single (make-assembly) on project dinky-app-1.16: Execution make-assembly of goal org.apache.maven.plugins:maven-assembly-plugin:3.4.2:single failed: Invalid signature file digest for Manifest main attributes -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :dinky-app-1.16

What you expected to happen

idea 使用maven 进行打包时出现错误
版本 dinky 1.0.0.0 -rc4 ,flink 1.16.3

在执行到 org.dinky:dinky-app-1.16:jar:1.0.0-rc4 报错如下

Invalid signature file digest for Manifest main attributes

How to reproduce

使用上述版本进行maven 编译 打包

Anything else

No response

Version

dev

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@suiquantong suiquantong added Bug Something isn't working Waiting for reply Waiting for reply labels Jan 31, 2024
@github-actions github-actions bot changed the title [Bug] [maven install/package ] 都会报错 [Bug] [maven install/package] will report errors Jan 31, 2024
@Zzm0809
Copy link
Contributor

Zzm0809 commented Jan 31, 2024

@suiquantong 请规范你的 issue title ,参考 Issue 须知, 否则将视为无效 issue

@Zzm0809 Zzm0809 removed the Waiting for reply Waiting for reply label Jan 31, 2024
@www1991
Copy link

www1991 commented Jan 31, 2024

@suiquantong 在dinky-app-base的pom文件中maven-shade-plugin的configuration下添加如下内容可以解决问题

  <filters>
      <filter>
          <artifact>*:*</artifact>
          <excludes>
              <exclude>META-INF/*.SF</exclude>
              <exclude>META-INF/*.DSA</exclude>
              <exclude>META-INF/*.RSA</exclude>
          </excludes>
      </filter>
  </filters>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants