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 楼
听!
相关阅读
关于 DB 逻辑层, stored procdure, java 等。。我这个简单例子,怎么在actionListener里面拿到contentPane的instance?spring mvc的概念不复杂请推荐java高阶用书哪些网站有比较好的Java/J2EE的面试题?Singleton Session Bean用Java写一个简单的browser (转载)servlet-mapping causing http 404 error这个UDDI是咋回事儿?求讲解。。。为什么结果是3?C#转Java新手码农求助,如何能快速积累Java编程经验Project Panama builds a bridge between Java and C/C++Why java.lang.Iterable depends on java.util.IteratorSpring菜鸟求救Spring JBOSSJava7和openssl版本问题请帮助回答这个问题?问一个gradle的基础问题JAX Innovation Awards 影响有多大问个简单的Java技术问题