How to use Bitbucket as a maven remote repository?

前端 未结 4 997
心在旅途
心在旅途 2021-01-31 03:29

We are planning to use bitbucket as source code repository as well remote repository for our maven based projects. I have created a repository on bitbucket something like below:

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-31 04:28

    How can I push my company specific project jars into the above remote repository using the project specific pom.xml?

    You can't. shouldn't in my opinion.

    Bitbucket is not intended to be a maven repository. Trying to get maven to deploy artifacts to BitBucket to it is just wrong may contravene Atlassian's terms of use. On the other hand it might be fine.

    You either need to should instead deploy to your own local repository or a public one.

提交回复
热议问题