[JAVA-3354] mavenLocal should be first repository Created: 12/Jul/19  Updated: 28/Oct/23  Resolved: 16/Jul/19

Status: Closed
Project: Java Driver
Component/s: Build
Affects Version/s: None
Fix Version/s: 3.11.0

Type: Improvement Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

It's very confusing when depending on a SNAPSHOT build while debugging, and you publish a SNAPSHOT build of some dependency to the local repository, and the build goes and gets the one from Sonatype instead.

This can be fixed my moving mavenLocal to the top of the repositories list in the Gradle build file.



 Comments   
Comment by Githook User [ 16/Jul/19 ]

Author:

{'name': 'Jeff Yemin', 'username': 'jyemin', 'email': 'jeff.yemin@10gen.com'}

Message: Move mavenLocal to first in the list of repositories

This will force Gradle to look for dependencies locally first

JAVA-3354
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/b909a034266abfb6f1d073d2fb5e33635cd0350b

Generated at Thu Feb 08 08:59:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.