mojohaus / taglist-maven-plugin

Taglist Maven Plugin
https://www.mojohaus.org/taglist-maven-plugin/
8 stars 9 forks source link

legacy tags #74

Closed delanym closed 3 months ago

delanym commented 2 years ago
./mvnw taglist:taglist

gives [WARNING] Using legacy tag format. This is not recommended.

What is it referring to: something in the plugin configuration or something in my code?

LIttleAncientForestKami commented 1 year ago

In version 2.4 a change was made. Previous configs (I think) do not work anymore. You now need to use a MUCH more verbose config to get the plugin to work. See usage page for the plugin for the new config.

NOTE: this message also appears if you run the plugin without config, like so mvn taglist:taglist

Workaround:

      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>taglist-maven-plugin</artifactId>
        <version>2.3</version>
        <configuration>
          <tags>
            <tag>FIXME</tag>
            <tag>TODO</tag>
          </tags>
        </configuration>
      </plugin>

Downgrades the version to last with older config and use it like so. Beware: TODO and todo and tOdo and toDo are different and need to be marked separately. New config deals with that, if you so want.

github-actions[bot] commented 9 months ago

This issue is stale because it has been open 365 days with no activity. Remove stale label or comment or this will be closed in 30 days.