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 楼
听!
相关阅读
JSP的一个问题推荐一本好的JBoss的书?如何在网页里得知浏览器使用什么JAVA虚拟机?A very Stupid Question关于Protected变量Conducting the J2EE Job Interview一个好用的arrayToString问一个generic的问题吧 可以用Java 做机器人吗?J2EE or DotNet?JAWA on winXP实实在在受不了了,还是来这里求教!考SCEA归来关于Java Bean的一个有趣问题LIGHTWEIGHT_RENDERER in all-java JMF.Good Design forums?大家愿意讨论一下log4j么static getInstance()Eclipse 3.1 is out要从WINDOWS转移到LINUX环境了