This project provides a Java API for the various XML files generated by Sonargraph version 8.7 and later and is used by the SonarQube and Jenkins plugins.
Currently the following Sonargraph XML files are supported:
- Sonargraph XML Report
- Sonargraph Report Metadata
- Exported XML architecture models
The main purpose of this library is to make it easier to integrate Sonargraph with other tools.
It is licensed under the Apache License, Version 2.0. Best way to get familiar with the code is to take a look at the JUnit tests.
For a general overview about the functionality that Sonargraph offers, take a look at the product's homepage: https://www.hello2morrow.com/products/sonargraph/architect9 The variant Sonargraph Explorer is free for Java and C# projects, but only runs a limited number of analysers.
Releases are published on Maven central, so the easiest way to use the plugin is to add a dependency to it in your Maven pom.xml. See /src/test/xproject-metric-aggregation/pom.xml for an example.
The following lists the compatibility with Sonargraph releases.
Sonargraph Version | Integration Access Version |
---|---|
12.0.0 and newer | 6.0.0 and newer |
10.4.0 and newer | 5.0.0 and newer |
9.14.0 and newer | 4.x |
9.13.0 and newer | 3.4.2 and newer |
9.12.0 and newer | 3.3.0 and newer |
9.9.3 and newer | 3.2.0 and newer |
9.7 and newer | 3.1.5 and newer |
9.4.5 and newer | 3.1.2 and newer |
9.4.3 and newer | 3.1 and newer |
9.1.1 and newer | 2.0 and newer |
8.8.0 and newer | 1.1 and newer |
8.7 | 1.0 |