I'm writing a general purpose library (let's say junit or spring). I don't use any features of newer java versions. i want to put my library in maven central.
my question is: what -target
should i chose during compilation? if i chose 1.2 then everyone will be able to use my library, however i'm not sure if i loose some performance when running on recent jvm. what are best practises in such cases? i want to avoid deploying many versions in maven central, each for specific jvm