已经写好了一个公共的jar,xxx-common.jar
但是这个common的jar里面只是编译了,没有打进依赖
有一个程序需要用到这个jar,便加入了pom.xml
但是编译这个程序的时候发现,common里面的依赖缺少,无法完成编译。
总不能再把common的依赖复制到这个程序的pom.xml里吧
迷茫2017-04-18 10:53:15
xxx-common.jar does not contain pom.xml, right?
This jar package must be packaged with mvn, and pom.xml must be packaged in it.
迷茫2017-04-18 10:53:15
It is recommended to check the following places:
mvn install
<exclusions>
<exclusion>
<artifactId>slf4j-api</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
</exclusions>
大家讲道理2017-04-18 10:53:15
Can you explain the problem in more detail? I don’t understand what your problem is