repository element was not specified in the POM inside distributionManagement element or in -DaltDep loymentRepository=id::layout::url parameter

前端 未结 3 1654
我寻月下人不归
我寻月下人不归 2020-12-01 05:09

I\'m having a problem while deploying and here is the error message I get:

[INFO]
[INFO] --- maven-deploy-plugin:2.7         


        
3条回答
  •  不思量自难忘°
    2020-12-01 05:36

    You should include the repository where you want to deploy in the distribution management section of the pom.xml.

    Example:

    
    ...   
    
        
          false
          corp1
          Corporate Repository
          scp://repo/maven2
          default
        
        ...
    
    ...
    
    

    See Distribution Management

提交回复
热议问题