0
我有兩個模塊:Maven的依賴插件下載POM,而不是tar.gz的
module 1: builds as .tar.gz with assembly plugin (type declared as 'pom' in its pom.xml)
module 2: needs to depend on the .tar.gz from the module above but always pulls the pom from the nexus instead.
有什麼訣竅?我在我的Nexus上正確地看到了我的.tar.gz,這只是模塊2從來沒有去過,總是隻是下載POM。
你如何聲明依賴關係?你指定類型嗎? – Harald
是的,我確實有.tar.gz。我沒有從構建它的程序集插件作業中獲得分類器。在我看到nexus元數據xml之前,這並不容易查明。 – JvmSd121