I'm experiencing classloader issues (JVM crash actually) with version 1.8.4 and a custom plugin that depends on Maven behavior. As it turns out maven-ant-tasks-2.1.3 is an uberjar and bundles classes that are provided by Gradle in ~/.gradle/wrapper/dists/gradle-<version>-bin/<hash>/gradle-6<version>/lib/plugins and ~/.gradle/wrapper/dists/gradle-<version>-bin/<hash>/gradle-6<version>/lib.
Here's a report of the crash. The cause is a classloader issue for org/apache/maven/model/Repository which is provided by maven-ant-task and maven-model. The former is a direct dependency found in the Bintray 1.8.4 plugin while the latter is found in the dependencies of the Gradle distribution.
I'm experiencing classloader issues (JVM crash actually) with version
1.8.4
and a custom plugin that depends on Maven behavior. As it turns outmaven-ant-tasks-2.1.3
is an uberjar and bundles classes that are provided by Gradle in~/.gradle/wrapper/dists/gradle-<version>-bin/<hash>/gradle-6<version>/lib/plugins
and~/.gradle/wrapper/dists/gradle-<version>-bin/<hash>/gradle-6<version>/lib
.The artifact
maven-ant-tasks
has been deprecated for a while as witnessed by the notice at the top of this page http://maven.apache.org/ant-tasks/ that suggests switching to http://maven.apache.org/resolver-ant-tasks/Here's a report of the crash. The cause is a classloader issue for
org/apache/maven/model/Repository
which is provided bymaven-ant-task
andmaven-model
. The former is a direct dependency found in the Bintray1.8.4
plugin while the latter is found in the dependencies of the Gradle distribution.