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

spring boot打包lib分离这种模式下,对lib下的某些jar进行加密貌似不支持 #139

Open
fendo8888 opened this issue Jan 23, 2025 · 0 comments

Comments

@fendo8888
Copy link

fendo8888 commented Jan 23, 2025

spring boot打包lib分离这种模式下,对lib下的某些jar进行加密,不将lib中的jar打包到主程序中去,貌似不支持,大佬们有啥好的解决方法

以下是打包好的lib分离的项目
Image

Image

这种会将所有的输入的jar合并输出一个处理后的jar,将a/b两个依赖,和并到主程序中去,他这还有个问题是,由于是lib分离的,a,b两个jar会存在lib目录下,导致项目加载了两份,主程序中合并的有一份,单独的jar又引入了一份,将lib目录下的a/b删除也不行,有可能其他地方会引用

而我想要的结果是,我只想加密a/b两个某块,只要能在主程序中启动就行了

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

1 participant