I tried the following. I unpacked the spring-data-jpa.jar in the local .m2/repository, removed the
javax.annotation entry from the Import-Package, recreated a jar and repeated the above
install procedure: same effect!
So, it seems, the javax.annotation dependency is created out of thin air, and unrelated
to the spring-data-jpa.jar. But: if I remove the dependency to spring-data-jpa.jar from
the pom, the problem vanishes.