I hope config MANIFEST.MF file properties Spring-Boot-Lib
,Please tell me how to configure it.
Comment From: wilkinsona
The Spring-Boot-Lib
manifest entry should be configured automatically by the Maven and Gradle build plugins. It should point to the lib
directory within the archive that contains the application's dependencies. BOOT-INF/lib/
in a jar file and WEB-INF/lib/
in a war file.
If you have any further questions, please follow up on Stack Overflow or Gitter. As mentioned in the guidelines for contributing, we prefer to use GitHub issues only for bugs and enhancements.
Comment From: fushengruomengzhang
I use the spring boot maven plugin
plug-in to package my project. I looked at the source code of this plug-in. In a dependency, the configuration of spring boot lib is not configurable and is fixed as boot-info / lib
. I want to configure spring boot Lib
in this plug-in, just like configuring executable
, and directly configure my lib directory
Comment From: wilkinsona
Sorry, I'm not sure that I understand what you're trying to do. Are you using a custom layout to package your application such that there's no BOOT-INF/lib
directory in the repackaged archive?
Comment From: fushengruomengzhang
No, I just want to configure the location pointed to by spring boot lib
by myself, through the 'spring boot Maven plugin' plug-in.
As shown in the figure:
It is not supported at present. Is there any other way?
I configured it as follows, but it was eventually overridden.
17610759700@163.com
From: Andy Wilkinson Date: 2020-07-16 17:45 To: spring-projects/spring-boot CC: fushengruomengzhang; Author Subject: Re: [spring-projects/spring-boot] config MANIFEST.MF Spring-Boot-Lib (#22353) Sorry, I'm not sure that I understand what you're trying to do. Are you using a custom layout to package your application such that there's no BOOT-INF/lib directory in the repackaged archive? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Comment From: wilkinsona
No, there isn't another way. Unless you are changing the layout of the jar file, there is no point in configuring Spring-Boot-Lib
as it has to point to the BOOT-INF/lib/
directory.
As I said above, if you have any further questions, please follow up on Stack Overflow or Gitter. As mentioned in the guidelines for contributing, we prefer to use GitHub issues only for bugs and enhancements.
Comment From: fushengruomengzhang
Well, thank you very much
17610759700@163.com
From: Andy Wilkinson Date: 2020-07-16 18:37 To: spring-projects/spring-boot CC: fushengruomengzhang; Author Subject: Re: [spring-projects/spring-boot] config MANIFEST.MF Spring-Boot-Lib (#22353) No, there isn't another way. Unless you are changing the layout of the jar file, there is no point in configuring Spring-Boot-Lib as it has to point to the BOOT-INF/lib/ directory. As I said above, if you have any further questions, please follow up on Stack Overflow or Gitter. As mentioned in the guidelines for contributing, we prefer to use GitHub issues only for bugs and enhancements. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.