Maven: Trying to Deploy with credentials in settings.xml file

前端 未结 2 1570
萌比男神i
萌比男神i 2021-02-01 02:23

This seemed to be working last week and now it doesn\'t.

  • We use Artifactory as our Maven repository.
  • I am deploying a jar and pom using the deploy:d
2条回答
  •  情歌与酒
    2021-02-01 02:40

    You can also specify your snapshot repository id in distributionManagement

    
    
      releases
      ${env.MAVEN_RELEASE_REPOSITORY_URL}
    
    
      snapshots
      ${env.MAVEN_SNAPSHOT_REPOSITORY_URL}
    
    
    

    the ids here should match ones in servers

提交回复
热议问题