2

I have several maven projects where I'd like to add a common header (copyright information, etc.). Is there a tool, or Eclipse plugin, to do this?

A simple shell script won't do the job, because some files already have such a header - and I don't just want to blindly append another header.

So some plugin with "sophisticated" logic would be appreciated ;-)

Frizz
  • 2,524
  • 6
  • 31
  • 45
  • Does [this thread](http://stackoverflow.com/questions/4105664/adding-a-standard-comment-header-to-all-source-files-in-eclipse) help? – Christian St. Jul 09 '14 at 10:30

1 Answers1

1

If your project supports Maven, you can use maven-license-plugin

There are instructions how to install and use it.

Jérôme Verstrynge
  • 57,710
  • 92
  • 283
  • 453
Meiblorn
  • 2,522
  • 2
  • 18
  • 23