[
https://issues.apache.org/jira/browse/MJAVADOC-549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Scholte closed MJAVADOC-549.
-----------------------------------
Resolution: Fixed
Assignee: Robert Scholte
Fix Version/s: 3.1.0
I could reproduce it with 3.0.1, but I can't reproduce it on master anymore.
Seems to be fixed as part of another issue.
> Version tag comes and goes on several javadoc:fix goal runs
> -----------------------------------------------------------
>
> Key: MJAVADOC-549
> URL: https://issues.apache.org/jira/browse/MJAVADOC-549
> Project: Maven Javadoc Plugin
> Issue Type: Bug
> Components: fix, javadoc
> Affects Versions: 3.0.1
> Environment: Windows 7 x64
> Apache Maven 3.5.4
> Reporter: Jesko Jochum
> Assignee: Robert Scholte
> Priority: Minor
> Fix For: 3.1.0
>
> Attachments: mjavadoc-fix-goal-example.zip
>
>
> Running the command
> {noformat}
> 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
> {noformat}
> 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.:
> {noformat}
> /**
> * <p>MyApplication class.</p>
> *
> * @author Asdf Asdf
> * @version 0.0.1-SNAPSHOT
> */
> {noformat}
> , 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)