I need to keep in sync the @version tag of all class Javadocs in my project, as well as the @author tag. However I don’t know an easy way to do this.
Is there a plugin (preferably a maven plugin) that could accomplish this? And no, the maven-release plugin will not do this for me.
The way I use
@versionis, in conjunction with@since. IMHO, I think@versionrepresents version of software when this class was modified and@sincerepresents the version of the software when this file/class was created.On
@author, my policy is each developer who has ever contributed to that class (in some major way) should append his/her name.So, if you see all these processes are manual and need to be done by Class creator/modifier at the time of coding. And, obviously you will have unequal version of files. And, I guess that makes sense.
I would like to listen if someone differs on this.