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?
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?
A*e
3 楼
听~~~,期待~
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
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
D*l
9 楼
听!
相关阅读
请问目前哪些大公司的平台是java做的,或是主要product是java写的呢?多线程真头疼,但也挺有趣Java StringBuilder myth debunked感觉匿名类值得好好研究一下最近碰到的笔试题Java certification, 6 or 7?白日漫漫,无心工作请教问题:什么decompiler比较好看网页的习惯俺梦想的系统回头看了下一年前写的代码请问现在重点学啥语言找工作最有利?想有个重点。。。谢谢verawang.com 的网站样式,目前好像很流行。听说这里big data大拿多, MongoDB和Cassandra,Re: 代码糟糕,不一定是程序员水平差 (转载)原来请教问题也可以这么艺术呀大家写javascript是借助sencha还是自己造轮子?学以致用,但多此一举?向各位朋友请教一道题目A rookie question on Java GUI