Dependency version 99.0-does-not-exist generated using pom.writeTo


My project is to add a project to Hibernate. It will provide a Maven plugin for end users to configure a plugin that does bytecode enhancement.

I am using Gradle’s Maven Plugin to generate a pom.xml for the project. In the .gradle file is a code block to configure the MavenPom[1]. My problem is one transitive dependency has a version that is wrong


What’s going on here with the testRuntime dependency configuration ?

Build file and dependencies report here [2]

Set-up here [3]

Regards, Jeremy

[1] [2] [3]

Ideally I don’t include the testRuntime dependency configuration or the testCompile.

What is your advice for excluding these in the generated pom ?