-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to find sonar-checkstyle-plugin-2.4.jar in Nexus #11
Comments
Sonar team did a change to groupId after 2.14 release(68c728c) but did no do any new release: in sources "org.sonarsource.checkstyle" - sevntu-checkstyle/sevntu.checkstyle@8f4ac56 -
You look at http://docs.sonarqube.org/display/SONARQUBE45/Checkstyle+Plugin , you look at old page. There is already 2.14 here sonar-checkstyle-plugin-2.4 use checkstyle 5.1 . Checkstyle is already 6.18. |
smth weird - latest source version is 2.5-SNAPSHOT but groupID is different.. https://github.com/checkstyle/sonar-checkstyle/blob/6cdc8d9781b7e40f83256288384dae7175dae934/pom.xml
But here are a maven repo http://repo1.maven.org/maven2/org/codehaus/sonar-plugins/java/ |
Resolution: no matter what is history or reality of this groupId - we cannot do release in groupId of Sonar team. |
Just in case someone comes looking:
In fact 2.4 is the last (and currently latest) version of the SonarQube Checkstyle Plugin that was released by SonarSource before transfer of the plugin to the Checkstyle team. Older versions than 2.4 have been removed from the "old page" by SonarSource. That is a shame, because it also included 2.2, which was the last version still to support Java 6. (You'd be surprised at how many organizations still use that.) But it should be possible to build it from the sources. |
One more comment: I think it does not make sense to publish the SonarQube plugin in Nexus at all, because SonarQube cannot read it from there. Instead, it should be published in GitHub Releases, where it is clearly visible for download, with release notes, and statistics (example). |
@tsjensen Nexus is the defacto standard for binary artifacts in the Java ecosystem. One way that I'm using that nexus helps with is automating plugin installations. I create a Pom with all the plugins as dependencies. I use maven to pull all the plugins I need, then I transfer them to the sonar plugin folder. I don't care about the location of the binaries, but I'd like them to available in the same system. |
But that's your plan, right? You are not actually doing this already? |
@timgifford , why wget is a problem for you to get file from internet. Sonar checkstyle plugin can not be used in maven projects, should be placed only to sonar. |
I set up a download page in GitHub Releases of my fork, in order to make the plugin available for download again for the (relevant) versions originally published by SonarSource. |
I was able to find the binary for 2.4 of this plugin here:
http://docs.sonarqube.org/display/SONARQUBE45/Checkstyle+Plugin
And this is a direct link:
http://sonarsource.bintray.com/Distribution/sonar-checkstyle-plugin/sonar-checkstyle-plugin-2.4.jar
The problem is that there is a 2.4 version published in Maven
http://search.maven.org/#artifactdetails%7Corg.codehaus.sonar.plugins%7Csonar-checkstyle-plugin%7C2.4%7Csonar-plugin
This is very confusing. Is there a plan to publish the new 2.4 version to Nexus?
The text was updated successfully, but these errors were encountered: