Failed to deploy artifacts: Could not find artifact

后端 未结 8 1005
甜味超标
甜味超标 2021-02-03 21:28

I want to deploy a library to my companies remote repository.

It\'s the first time I want to deploy the library project to the remote repository.

I get the follo

8条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-03 21:42

    Have you tried to add the server in your settings.xml file? The default settings xml is located in your ~/.m2/ directory. Should contain something like that:

    
            
                my-internal-nexus-repo
                yourUserName
                yourPassword
            
    
    

    Here is a link to the http://maven.apache.org/settings.html maven doc for adding servers.

    One other thing which might be a shot in the dark. I've noticed you are trying to connect to what the url suggests might be a Jenkins instance. Jenkins is a Continious Integration server and seemed strange to me that you are finding your repositories there. I would expect a Nexus url or something.

提交回复
热议问题