Reading a maven settings.xml when building with gradle?

前端 未结 6 2058
孤独总比滥情好
孤独总比滥情好 2021-01-30 18:21

I have a maven settings.xml located in:

 /home/u123/.m2/settings.xml

where I specify a remote maven repository:



        
6条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-30 18:23

    I used maven-publish, maven-publish-auth plugins to accomplish this without parsing the settings by hand

    How can Gradle Use Repository Settings From Maven's Settings.xml to publish artifacts

    Hope it is of use.

    Peter

提交回复
热议问题