You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This worked fine for the initial header/license but now that we need to update the header/license the format goal does not replace the prior header it adds a new one instead.
I then thought I would use the remove goal to remove the older header and then add the new one with the format goal. However this does not work, the remove goal does nothing. The old header still exists.
How can I update my header/license with this plugin?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We have our POMs configured to add/set a header with the format goal and hour license is configured via:
<licenseSet> <header>${main.basedir}/src/license/license.txt</header> </licenseSet>
This worked fine for the initial header/license but now that we need to update the header/license the format goal does not replace the prior header it adds a new one instead.
I then thought I would use the remove goal to remove the older header and then add the new one with the format goal. However this does not work, the remove goal does nothing. The old header still exists.
How can I update my header/license with this plugin?
Beta Was this translation helpful? Give feedback.
All reactions