license-maven-plugin icon indicating copy to clipboard operation
license-maven-plugin copied to clipboard

Add project variable to add-third-party template context

Open ST-DDT opened this issue 5 years ago • 0 comments

I would like to change the header in the file to contain the actual project's name.

Dependencies of MyProject (com.example:my-project:1.2.3):
    Byte Buddy (without dependencies) | net.bytebuddy:byte-buddy:1.10.4 | https://bytebuddy.net/byte-buddy | (Apache License, Version 2.0)
    Byte Buddy agent | net.bytebuddy:byte-buddy-agent:1.10.4 | https://bytebuddy.net/byte-buddy-agent | (Apache License, Version 2.0)
[...]

Thus I need a variable in the freemarker context to reference the own project.

ST-DDT avatar Jan 17 '20 12:01 ST-DDT