2008/5/25 Chase <[EMAIL PROTECTED]>: > I came across one xml file > with the Apache license header which got me to wondering, should they all > have it?
There was a big debate about this question. Probably the "pom.xml" is not a piece of intellectual property, but, in doubt, we decided to put the license header there too. > I might as well fix any files I'm working on anyway unless there is > some automated way to do it. Yes, there is one: http://code.google.com/p/maven-license-plugin/ Notice that I prepared a patch that allows to put Struts headers: http://code.google.com/p/maven-license-plugin/issues/detail?id=15 If your task is only to check the header, though, you can run the "rat:check" Maven goal. > This is all in the sample apps for now. We decided that sample apps do not need license headers. > Everything I read on pages like http://www.apache.org/legal/src-headers.html > seems to indicate that every text file should have a header.... Sure, but putting license headers in sample apps makes the apps themselves useless to the user. Antonio --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]