maven package遇到问题

首先,idea的lifecycle package可以成功,但是在上面执行maven命令中一直失败,因为要用jenkins所以要用到命令。报错如下:
Failed to execute goal on project xiaowo_user: Could not resolve dependencies for project com.gzhdexiaowo:xiaowo_user:jar:1.0-SNAPSHOT: Failure to find com.gzhdexiaowo:xiaowo_common:jar:1.0-SNAPSHOT in https://repo.spring.io/snapshot was cached in the local repository, resolution will not be reattempted until the update interval of spring-snapshots has elapsed or updates are forced -> [Help 1]

问题是common是项目中的其他包,父包和common都已经install了。.m2也清除了,就一直很奇怪为什么他一直要去https://repo.spring...... 里面找这个common包。如何设置本地找?求解啊

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问