phax / ph-schematron

Java Schematron library that supports XSLT and native application
Apache License 2.0
116 stars 36 forks source link

Unable to resolve ph-jaxb #79

Closed Novaax closed 5 years ago

Novaax commented 5 years ago

Hello, when I try to include ph-schematron in my project, the Gradle Process can't find the ph-jaxb library.

So I looked at MavenCentral to see if there was a working reference to project, but unfortunately the compile path there didn't help.

phax commented 5 years ago

Hi, this is a known problem in Gradle, that it does not support Java version based profile activation. Please see https://github.com/phax/ph-jaxb-pom#gradle-usage for details.

Novaax commented 5 years ago

Hello, Thank you very much for the link. I also had to exclude the pom file from the build.

compile group: 'com.helger', name: 'ph-schematron', version: '5.2.0',
            {
                exclude group: 'com.helger', module: 'ph-jaxb-pom'
            }
phax commented 5 years ago

Ah okay - thanks. I will update the documentation accordingly :)