Hamcrest Sugar Generation no longer available
From my old memory, hamcrest(java) had a code generator to aggregate all custom matcher methods. “Sugar Generation” using
org.hamcrest.generator.config.XmlConfigurator according to the old google code documentation.
After some research, I found the generator is no longer available.
The code generation complicates the build. But it’s as easy to maintain the generated classes by hand.
From github issue: https://github.com/hamcrest/JavaHamcrest/issues/84
So, for aggregated
Matchers class, you manage it on your own, now.
I like it rather than generated class :)
|In [v126.96.36.199](http://search.maven.org/#artifactdetails||org.hamcrest||java-hamcrest||188.8.131.52||jar), generator is not there anymore.|
Since Hamcrest doesn’t have much documentation, I am writing down the information here for reference anybody who may be looking for the hamcrest sugar generation.