Thanks Chris; Yes ./gradlew build works if versions.lock already exists.
When building Solr 9.2, --write-locks could be added even if the file versions.lock already existed. The versions.locks was just re-generated, or the option was ignored, I don't know. With Solr 9.5, if versions.lock exists, the build fails due to unresolved dependencies. If versions.lock does not exist, and commands are chained with write-locks (i.e. ./gradlew clean build --write-locks), the first command will succeed and write the file, and the next command will fail, because the file exists. I find that a bit annoying, but if nobody else complains, I'll live with it. Isabelle Giguère Computational Linguist & Java Developer Linguiste informaticienne & développeur java ________________________________ De : Chris Hostetter <hoss...@fucit.org> Envoyé : 8 avril 2024 14:23 À : dev solr <dev@solr.apache.org> Objet : [EXTERNAL] - Re: Unable to build tag releases/solr/9.5.0 CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. If you feel that the email is suspicious, please report it using PhishAlarm. : I checked out tag releases/solr/9.5.0 : https://urldefense.com/v3/__https://github.com/apache/solr/tree/releases/solr/9.5.0__;!!Obbck6kTJA!fRVaslw5rBXYA9M_OC8mEmQyVm8Q9OY3OsmCN3GSp1yWsHSxYQo0M3nzJtZHqj78EueK7uvqFuY_xJAJcg$ : : I'm trying to build locally: : ./gradlew build --write-locks : : The build fails very fast: Why are you trying to update the depdendency locks? Just run `./gradlew build` and you should be fine. -Hoss --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@solr.apache.org For additional commands, e-mail: dev-h...@solr.apache.org