Open Flexba opened 6 years ago
Maven groupId=nu.validator, artifactId=cssvalidator
has a package of a CSS validator version:
https://repo1.maven.org/maven2/nu/validator/cssvalidator/
It’s a fork maintained from a branch in the github repo:
https://github.com/w3c/css-validator/tree/validator-nu
It’s only supported only for use with the Nu Html Checker, so if you try it for some other use and you find it doesn’t work, that’s not a problem that would get prioritized highly for fixing.
Thank you I did not find this package.
What's the reason woth the changed name, why isn't it published with groupId=org.w3c.css, artifactId=css-validator
?
What's the reason woth the changed name, why isn't it published with
groupId=org.w3c.css, artifactId=css-validator
?
For the same reason I explained in https://github.com/w3c/css-validator/issues/193#issuecomment-385581506 — it’s a fork supported only for use with the Nu Html Checker. It’s a separate independent software not endorsed or formally maintained by W3C.
It'd be very helpful if someone would just build and upload the latest version as used by the website to maven central, and then it'd be far easier to just use as we could know and grab the latest dependencies automatically in IDE's. What are the latest third party dependencies? I downloaded the supposed release jar (I'm not sure if this is up to date with what the site is using even) from the website but it doesn't have the third party dependencies and doesn't seem to contain a Maven pom so that I can see what the dependencies are at a glance.
I found the dependencies in the manifest so it should be fine now. Here's hoping the downloaded jar is up-to-date with what the site uses so it can recognize modern CSS3 stuff like flex-box rules or CSS grid (the last 'full' jar on the 'releases' tab does not!) :
lib/commons-collections-3.2.1.jar lib/commons-lang-2.6.j
ar lib/jigsaw.jar lib/tagsoup-1.2.jar lib/velocity-1.7.jar lib/xerces
Impl.jar lib/xml-apis.jar lib/htmlparser-1.3.1.jar
👍 we usually use Maven to get library dependencies, having on Maven central various versions available for groupId=org.w3c.css, artifactId=css-validator would be helpful.
It seams as if the last publish to the maven central repository is 8 years old and the only ways of using this directly is by downloading the jar file and using it directly.
Am I missing something or is this really the only way to use this awesome library?