javamaven-2maven-pluginserialversionuid

auto generation of serial version uid using maven2 plugin


Is there a maven plugin which automatically calculates and updates serial version uid for all java class files implementing the Serializable interface?


Solution

  • I don't know of any Maven plugin that can add this functionality, but you could call the Serialver Ant task using the Maven AntRun Plugin in the process-sources phase of the lifecycle.