maven build error ,For the reference of my local project module, it goes to the remote warehouse to find the jar package

Answered

I am using the plugins maven build in the maven tool window, but it reports an error when running

[ERROR] Failed to execute goal on project nmsserver-system: Could not resolve dependencies for project com.base:nm-system:jar:3.1.0: com.base:nm-common:jar:3.1.0 was not found in http://maven.aliyun.com/nexus/content/repositories/central/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of alimaven has elapsed or updates are forced -> [Help 1]

 

com.base:nm-system\com.base:nm-common is  my local project module

0
1 comment

Hello!

Thank you for reporting this!

I'm assuming com.base:nm-common:jar:3.1.0 is also declared as a dependency for com.base:nm-system:jar:3.1.0?

Please make sure the com.base:nm-common:jar:3.1.0 Artifact has been installed to your Maven Local and that the corresponding Maven Local folder (i. e. C:\Users\username\.m2\repository\com\base\nm-common\3.1.0) does not have any .lastUpdated files (remove them if any are present).

0

Please sign in to leave a comment.