Hi,

I have been playing around with animal-sniffer to see if it can work for
the use case that i had in mind. Our project has a classical api-impl
layout:

./moduleA/api
./moduleA/impl
./moduleB/api
./moduleB/impl
./moduleC/api
./moduleC/impl
./war --> includes ABC api and impl jars

Ofcourse A/B/C are only allowed to use api jars of the other modules.

Now I was hoping to generate a signature for each api module, and include
animal-sniffer:check in the war build to verify if each impl jar is still
compatible with the api jars.

But from first observations it seems that the plugin is not able to verify
an already built jar against a signature, it seems that this needs to be
done during the build of each impl jar. Is this correct ?

Reason i'm asking all this is that above project layout leaves the door
wide open for NoSuchMethodErrors which are only discovered when the user
clicks on that button :)

Thanks,
Jorg

Reply via email to