Skip to content

Question: Publishing sonar-cxx artifacts to Maven Central or GitHub Packages? #3037

Description

@chmodshubham

Hi maintainers,

Unlike official SonarSource language plugins, sonar-cxx artifacts (like cxx-squid and cxx-squid-bridge) are not published to the Maven Central Repository due to which one has to manually download the "fat jar" from the GitHub Releases page, extract the inner jars, and install them into the local Maven cache.

  1. Is there a specific reason why sonar-cxx isn't published to Maven Central?
  • I assume this might be related to it being a community-edition plugin not officially maintained by SonarSource?
  1. Would it be possible to publish the artifacts to GitHub Packages?
  • If Maven Central is not possible to publish to, could the project's GitHub Actions release workflow push the artifacts to the GitHub Packages registry?

Publishing to either registry would massively simplify the build process and dependency management.

Are there any existing plans to support this, or is this something the project would be open to trying? I'd be happy to work upon this if it's something the maintainers are open to!

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions