microsoft / mssql-jdbc

The Microsoft JDBC Driver for SQL Server is a Type 4 JDBC driver that provides database connectivity with SQL Server through the standard JDBC application program interfaces (APIs).
MIT License
1.05k stars 425 forks source link

Release naming causing issues for revision checking software #2445

Closed rob-elsevier closed 2 months ago

rob-elsevier commented 3 months ago

Driver version

implementation group: 'com.microsoft.sqlserver', name: 'mssql-jdbc', version: '12.6.2.jre11'

With recent released to Maven there are issues with the naming of some of the packages that is causing tools such as https://github.com/ben-manes/gradle-versions-plugin to be unable to validate the latest version to automate picking up the latest bug and security fixes.

More details discussed in the following ticket:

https://github.com/ben-manes/gradle-versions-plugin/issues/869

ben-manes commented 3 months ago

This is more serious. The release files being named inconsistently with the version coordinates means the dependency cannot be used by build tools. Gradle fails to resolve and likely others will too.

Jeffery-Wasty commented 3 months ago

Thanks, we'll consider other solutions for this besides what I listed on the previous thread, and keep you updated with our decisions.

Jeffery-Wasty commented 3 months ago

I've double-checked with the team. We have no way to remove 'bad' releases from Maven. The only solution for this issue is to wait until the 12.8.0 release (which is on July 31st, 2024) and to use that as the stable version in the plugin configuration as opposed to 12.6.2. As well, users will need to refrain from using versions <= 12.7.0 to avoid the same problem. We will update this thread again when 12.8.0 has been released.

Jeffery-Wasty commented 2 months ago

12.8.0 has been released, fixing the above issue. Closing issue.