IllegalArgumentException: null name not allowed resolving org.iso_relax.verifier.jaxp.validation:isorelax-jaxp-bridge:1.0


(crotwell) #1

Got an IllegalArgumentException trying to resolve ‘org.iso_relax.verifier.jaxp.validation:isorelax-jaxp-bridge:1.0’

Both the jar and pom seem to be at mavenCentral, but…

thanks, Philip

12:00:38.951 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: java.lang.IllegalArgumentException: null name not allowed
12:00:38.951 [ERROR] [org.gradle.BuildExceptionReporter]
at org.apache.ivy.core.module.id.ModuleId.<init>(ModuleId.java:86)
12:00:38.952 [ERROR] [org.gradle.BuildExceptionReporter]
at org.apache.ivy.core.module.id.ModuleId.newInstance(ModuleId.java:48)
12:00:38.952 [ERROR] [org.gradle.BuildExceptionReporter]
at org.apache.ivy.core.module.id.ModuleRevisionId.newInstance(ModuleRevisionId.java:100)
12:00:38.953 [ERROR] [org.gradle.BuildExceptionReporter]
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.parser.GradlePomModuleDescriptorBuilder.addDependency(GradlePomModuleDescriptorBuilder.java:263)
12:00:38.953 [ERROR] [org.gradle.BuildExceptionReporter]
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.parser.GradlePomModuleDescriptorParser.parseDescriptor(GradlePomModuleDescriptorParser.java:230)
12:00:38.954 [ERROR] [org.gradle.BuildExceptionReporter]
at org.gradle.api.internal.artifacts.repositories.cachemanager.AbstractRepositoryCacheManager.parseModuleDescriptor(AbstractRepositoryCacheManager.java:80)
12:00:38.954 [ERROR] [org.gradle.BuildExceptionReporter]
at org.gradle.api.internal.artifacts.repositories.cachemanager.DownloadingRepositoryCacheManager.cacheModuleDescriptor(DownloadingRepositoryCacheManager.java:153)
------------------------------------------------------------
Gradle 1.6
------------------------------------------------------------
  Gradle build time: Tuesday, May 7, 2013 9:12:14 AM UTC
Groovy: 1.8.6
Ant: Apache Ant(TM) version 1.8.4 compiled on May 22 2012
Ivy: 2.2.0
JVM: 1.6.0_45 (Apple Inc. 20.45-b01-451)
OS: Mac OS X 10.7.5 x86_64

(Peter Niederwieser) #2

That’s a Maven 1 POM in a Maven 2 repository. You can try with ‘“org.iso_relax.verifier.jaxp.validation:isorelax-jaxp-bridge:1.0@jar”’. If that doesn’t work, I recommend to publish the Jar with a Maven 2 POM to your enterprise repository.