Redian新闻
>
Maven shade plugin question
avatar
c*t
2
I have a multi-module project
parent
|
+-- core
|
+-- extension
Both core and extension shares a lot of 3rd party dependencies. I
can create a uber jar for core to include all the files that core
needs. Then in the extension module, I do not want to include any
files already included in the core jar. I want the extension module
to only include the ones it has uniquely.
How to do that without having to individually specifying them for
extension shade configuration?
avatar
A*e
3
听~~~,期待~
avatar
F*n
4
You don't need to do anything. When you create a .jar file using maven it
will not include any dependencies (unless you tweak it). The dependencies
are external and specified by pom.xml

【在 c*****t 的大作中提到】
: I have a multi-module project
: parent
: |
: +-- core
: |
: +-- extension
: Both core and extension shares a lot of 3rd party dependencies. I
: can create a uber jar for core to include all the files that core
: needs. Then in the extension module, I do not want to include any
: files already included in the core jar. I want the extension module

avatar
t*x
5
叔老了,只会唱老歌,老得你们都没听过的

【在 A***e 的大作中提到】
: 听~~~,期待~
avatar
A*e
6
经典老歌更耐听。。每一首都是回忆,更容易感动人噢。。

【在 t****x 的大作中提到】
: 叔老了,只会唱老歌,老得你们都没听过的
avatar
l*0
7
你唱的还可以啊,比某人强多了,贴吧。

【在 t****x 的大作中提到】
: 叔老了,只会唱老歌,老得你们都没听过的
avatar
R*n
8
你两合作过一曲, 不是么?

【在 l******0 的大作中提到】
: 你唱的还可以啊,比某人强多了,贴吧。
avatar
D*l
9
听!
avatar
a*e
10
赶紧的

【在 t****x 的大作中提到】
: 问问
avatar
t*r
11
扔了一只靴子,第二只不扔了?

【在 t****x 的大作中提到】
: 问问
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。