The maven-animal-sniffer plugin promises to tell me if my code has any references to Java 1.6 (or newer) APIs. This is important to those of us who develop on MacOSX Snow Leopard (which has only an official 1.6) but need to deliver to 1.5 environments.
Sadly, when trying to use it, I get all Java API calls reported as violations.
I'm not the only person to experience this problem, but apparently plenty of other people succeed.
If someone has a working POM snippet for this purpose, it would make a really helpful answer.
Note that I'm trying to use the version published on central (1.4) not the one (1.2) back on org.jvnet.