You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Terrien Jean-Yves (Jira)" <ji...@apache.org> on 2020/12/05 17:21:00 UTC

[jira] [Created] (MNG-7048) Adding a constant class generator.

Terrien Jean-Yves created MNG-7048:
--------------------------------------

             Summary: Adding a constant class generator.
                 Key: MNG-7048
                 URL: https://issues.apache.org/jira/browse/MNG-7048
             Project: Maven
          Issue Type: Improvement
            Reporter: Terrien Jean-Yves


Hello
I suggest adding a plugin or a feature in an existing plugin. For automatic creating of a class of constants containing Maven values.
To date, this requires filtering a properties file which is read at runtime.
Adding a class allows to have constants and not variables, which are defined at compilation.
This is a simple example of an implementation.

https://github.com/jyterrien/constants-maven-plugin



--
This message was sent by Atlassian Jira
(v8.3.4#803005)