How to use Bitbucket as a maven remote repository?

前端 未结 4 1004
心在旅途
心在旅途 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:09

    I've now managed to get this working. I followed these instructions and I can deploy artifacts to bitbucket and then use those in another maven project.

    The tweaks I had to make to get it working were:

    1. Upgrade Wagon-Git to v0.2.0
    2. Configure Git using git config --global user.email as it didn't seem to be picking up the --local setting I had used previously

    I also manually added a README.md to the repo but I don't think this was actually required.

    Once you have successfully deployed to the repo you should see all your files in the usual way via the BitBucket web front end.

提交回复
热议问题