Diffblue Maven Repository
As of release 2025.07.01, Diffblue uploads the following release artifacts to a Diffblue-hosted Maven repository:
Jars for using as a Maven dependency:
Cover Annotations
Cover Buildsystem Ant
Maven and Gradle plugins for Cover Optimize
Zip files for product distribution:
Cover Cli
Cover Plugin
Cover Reports (application only)
Artifactory
In order to utilize this you can add this Maven repository to your Artifactory instance. In Artifactory:
Add a new Remote, Maven repository and assign a sensible key such as
maven.diffblue.com
Use the url
https://maven.diffblue.com/release
, no credentials are needed.Ensure only the "Handle Releases" checkbox is checked, and that "Handle Snapshots" is un-checked. Other options can be left as the default in all other tabs as shown below.
Save the changes and the repository is now ready to use.
You can now add this repository to your project as an external repository using a configurations such as the following for an artifact configured in your pom.xml:
<repositories> <repository> <id>artifactory</id> <name>Diffblue</name> <url>http://my-artifactory-domain:8082/artifactory/maven.diffblue.com</url> </repository> </repositories>
Or this configuration for a plugin:
<pluginRepositories> <pluginRepository> <id>artifactory</id> <name>Diffblue</name> <url>http://my-artifactory-domain:8082/artifactory/maven.diffblue.com</url> </pluginRepository> </pluginRepositories>
Then you can add a plugin or dependency to your pom file such as this example for the cover-maven-plugin used for Cover Optimize:
<plugin> <groupId>com.diffblue.cover</groupId> <artifactId>cover-maven-plugin</artifactId> <version>[diffblue-cover-version]</version> ... </plugin>
API
To retrieve artifacts from Artifactory that are not distributed as dependencies you can use the Artifactory API. You will need authentication with your own Artifactory server and know the exact path to the artifact. Here is an example command to download the 2025.07.01 CLI from an Artifactory instance hosted at my-artifactory-domain
:
curl -u admin:password "http://my-artifactory-domain:8082/artifactory/maven.diffblue.com/com/diffblue/cover/cover-cli/2025.07.01/cover-cli-2025.07.01.zip"`` ``--output cover-cli-2025.07.01.zip
The repository is not browsable so you will need to know the exact paths for specific artifacts.
The paths for artifacts likely to be downloaded via the API are:
CLI:
com/diffblue/cover/cover-cli/<CoverVersionNumber>/cover-cli-<CoverVersionNumber>.zip
IntelliJ Plugin:
com/diffblue/cover/cover-plugin/
intellij-<IntelliJVersionNumber>/<CoverVersionNumber>/intellij-<IntelliJVersionNumber>-<CoverVersionNumber>.zip
, e.g. for IntelliJ 2025.1 and Cover 2025.08.01:com/diffblue/cover/cover-plugin/
intellij-2025.1/2025.08.01/intellij-2025.1-2025.08.01.zip
Note that not all IntelliJ versions are supported by every Cover version. More information here.Cover Reports:
com/diffblue/cover/cover-reports/<CoverVersionNumber>/cover-reports-<CoverVersionNumber>.zip
Last updated
Was this helpful?