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

When MVND is used to compile a project, the addClasspath parameter in the manifest of the configuration item compiled by maven-jar-plugin is invalid, and the class-path parameter is missing in the manifest. MF file in the compiled JAR package #590

Closed
wypro opened this issue Jan 21, 2022 · 5 comments

Comments

@wypro
Copy link

wypro commented Jan 21, 2022

image
FBMUMQDIXUIRI~C `%2$46R

@gnodet
Copy link
Contributor

gnodet commented Jan 21, 2022

Could you set up a small project to reproduce the issue please ?

@wypro
Copy link
Author

wypro commented Jan 21, 2022

你能建立一个小项目来重现这个问题吗?

Yes, please wait for me

@wypro
Copy link
Author

wypro commented Jan 21, 2022

Could you set up a small project to reproduce the issue please ?

The address of the small project that recreates the problem.
Thank you. Best wishes.
https://github.com/wypro/mvnd-bug-demo

@gnodet
Copy link
Contributor

gnodet commented Jan 21, 2022

Could you try specifying the latest 3.2.2 version on the maven-jar-plugin ? I can't really reproduce the problem locally and it seems to work with expliciting this version.

@wypro
Copy link
Author

wypro commented Jan 21, 2022

Could you try specifying the latest 3.2.2 version on the maven-jar-plugin ? I can't really reproduce the problem locally and it seems to work with expliciting this version.

Thanks for reminding. After testing, it is confirmed that the problem is caused by the low version of Maven-jar-plugin. If the version is not specified, the project will be compiled using version 2.4 by default

@gnodet gnodet closed this as completed Jan 21, 2022
@gnodet gnodet added this to the No fix/wont't fix milestone Jan 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants