maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesko Jochum (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MJAVADOC-549) Version tag comes and goes on several javadoc:fix goal runs
Date Wed, 19 Dec 2018 11:04:00 GMT
Jesko Jochum created MJAVADOC-549:
-------------------------------------

             Summary: 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
         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)

Mime
View raw message