I’m trying to use ph-schematron 5.0.8 from gradle 5.0, like this
implementation("com.helger", "ph-schematron", "5.0.8")
However, I get the following error:
- What went wrong:
Execution failed for task ‘:compileJava’.Could not resolve all files for configuration ‘:compileClasspath’.
Could not resolve com.helger:ph-jaxb-pom:1.0.0.
Required by:
project : > com.helger:ph-schematron:5.0.8 > com.helger:ph-jaxb:9.2.0
Could not resolve com.helger:ph-jaxb-pom:1.0.0.
Could not parse POM https://jcenter.bintray.com/com/helger/ph-jaxb-pom/1.0.0/ph-jaxb-pom-1.0.0.pom
Could not find org.glassfish.jaxb:jaxb-bom:${jaxb.version}.
For me, it looks like that ‘${jaxb.version}’ is not defined when using gradle instead of maven. How can I avoid the problem?