Details
Description
Running the command
mvn org.apache.maven.plugins:maven-javadoc-plugin:3.0.1:fix -DdefaultAuthor="Firstname Lastname" -DdefaultVersion="1.0.0, 2018-12-19" -DefaultSince=1.0.0 -Dforce
for the first time, on the given example, generates the @author and @version tags.
Running it the second time (every even time) the @version tag is removed. Every odd time the @version tag is added again.
The @since tag is never added.
If there is already a javadoc comment for the MyApplication class, like e.g.:
/** * <p>MyApplication class.</p> * * @author Asdf Asdf * @version 0.0.1-SNAPSHOT */
, both the @author and @version tags do not get updated.
I understand the @author tag does not get updated, but I would like to be able to update the @version tag everytime before I release my software.