用管理员账户登入后,在3rd party修改配置Deployment Policcy为:Allow Redeploy。
一般jar和pom都要上传!
在artifact upload界面选择:
packaging jar
(1)GAV Parameters
(2)select Artifact to upload
(3)add artifact
(4)修改Group
(5)upload artifact
(1)GAV Definition from pom
(2)select POM to upload
(3)select Artifact to upload
(4)add artifact
(5)upload Artifact
选择Central repository->Routing->update now
重启idea 刷新maven