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

前端 未结 3 1660
我寻月下人不归
我寻月下人不归 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:34

    The issue is fixed by adding repository url under distributionManagement tab in main pom.xml.

    Jenkin maven goal : clean deploy -U -Dmaven.test.skip=true

    
        
            releases
            http://domain:port/content/repositories/releases
        
        
            snapshots
            http://domain:port/content/repositories/snapshots
        
    
    

提交回复
热议问题