Inform-Software / sonar-groovy

SonarQube plugin for Groovy
GNU Lesser General Public License v3.0
56 stars 25 forks source link

Missing artifact into maven central repository #18

Open paissad opened 4 years ago

paissad commented 4 years ago

Hello,

i don't see the versions 1.5 and 1.6 into the maven central repository https://repo1.maven.org/maven2/org/sonarsource/groovy/sonar-groovy-plugin/ Is it planned to add them ?

i'm using SonarQube 7.8 , and if i understand the table correctly, i should use version 1.6 of the groovy plugin

Regards,

TobiX commented 4 years ago

No, since you can install this plugin from the SonarQube marketplace, it doesn't need to be on Maven Central

paissad commented 4 years ago

@TobiX actually, i'm developing a plugin which relies on sonar-xml and sonar-groovy, ... i added sonar-xml as a dependency (from maven central), but i could not add the latest version of sonar-groovy as a dependencey since only the version 1.4 is available so far. Downloading sonar-groovy from marketplace and installing it in SonarQube is not the real concern here. Developing a plugin by using the correct version is my main concern. I hope you understand my use a bit better now.

TobiX commented 4 years ago

Fair enough. Would BinTray be enough? AFAIR deploying to Maven Central is quite a process... Using BinTray is just a bunch of clicks :smile:

paissad commented 4 years ago

@TobiX I don't know if bintray is globally accessible from the artifacory repository i use. For me, if you already have your maven central account, then it's pretty fast to upload an artifact. Do you have some artifacts in your bintray repository so i can check if it's OK for accessing it ?

TobiX commented 4 years ago

I added a BinTray repository for this plugin. Release artifacts can be downloaded from there:

Future artifacts will be uploaded on release. I retroactively uploaded 1.6 using Maven, so the artifacts are not bit-identical to that release, even if they contain the same code.

Depending on the plugin should be the same as before:

<dependency>
  <groupId>org.sonarsource.groovy</groupId>
  <artifactId>sonar-groovy-plugin</artifactId>
  <version>1.6</version>
</dependency>
TobiX commented 3 years ago

Since BinTray has been deprecated, new releases will be deployed to GitHub packages: https://github.com/Inform-Software/sonar-groovy/packages/800725

You probably need to add the repository somehow and then add:

 <dependency>
  <groupId>org.sonarsource.groovy</groupId>
  <artifactId>sonar-groovy-plugin</artifactId>
  <version>1.7</version>
</dependency>