Maven property in ph-schematron 5.0.8

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
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?

AFAIK, Gradle does not support JDK based profile activation.

@Lance made some related suggestions here.

If I understand that right, you suggest that ph-schematron is using a ‘anti-pattern’, and that gradle will not understand that kind of things soon. Hence I posted the question (bug report?) as issue #72 on github.