raydac / gosdk-wrapper-maven-plugin

Maven plugin to provide a way to execute GoSDK tools
Apache License 2.0
3 stars 2 forks source link

Add sdk artifactid as alternative to download go sdk #5

Closed hypnoce closed 1 month ago

hypnoce commented 1 month ago

Hi,

thanks for this new plugin. Going through artifact id gives even more integration with maven with using artifact repos. Let me know if that's smth you find useful.

Thanks

raydac commented 1 month ago

Hi could you explain what does it do? because from request it is too hard understand its business

hypnoce commented 1 month ago

Hi,

it gives an alternative way to download the go-sdk. Today it can be preinstalled, it can be downloaded from a static url using sdkDownloadUrl or a url constructed using sdkSite and sdkArchiveFileName. If I uploaded the go SDK in a maven repo in tar.gz, I have to hard code the url (ie https://my-maven-repo/path/to/go/sdk) and cannot leverage on the maven artifact management (multiple url, authentication, checksum check...).

With this PR, it's now possible to declare an artifact id to download for the go-sdk and leverage on maven artifacts management.