It should - if the script or maven plugin is able to cleanly remove the old header. Gale has been looking into it:
https://lists.apache.org/thread.html/aadbecf2693e9add9ce9bdd2b98cc3d6e8c10c9db66a9934c5426ff8@%3Cdev.taverna.apache.org%3E (please join the petition to ban long URLs - https://github.com/apache/incubator-ponymail/issues/113 :) I think previously Dmitry updated the headers generally by manual copy-and-paste.. is that correct, Dmitry - or did you have a script? Perhaps a couple of seds also could work - but it's tricky as the license header is multiple lines and not necessarily at the very top of the file. BTW - what is the "best" style for Java license headers? For some reason I feel like: /* * Licensed to the Apache Software Foundation .. * ... */ package org.apache.*; /** * Foo thingie */ public class Foo but I've found several templates that default to the "package" line on the very first line. One advantage of /* versus /** is that it won't mistakenly look like JavaDoc - which could happen in package-info.java or indeed if you put "package" line ABOVE the license header. Your views folks? :) On 6 September 2016 at 12:57, Andy Seaborne <[email protected]> wrote: > > > On 06/09/16 06:42, Thilina Manamgoda wrote: >> >> Hi, >> >> I see that in the incubator-taverna-workbench module there are license >> headers which are not Apache 2.0 license. For >> >> ex:https://github.com/apache/incubator-taverna-workbench/blob/master/taverna-reference-ui/src/main/java/org/apache/taverna/reference/ui/CopyWorkflowInProgressDialog.java >> >> Is this fine or should be changed ? > > > It is not fine at all. > > PPMC - is just a matter of running a script to convert the UofMan headers to > Apache headers? > > Andy > >> >> >> thanks, >> Thilina. >> > -- Stian Soiland-Reyes http://orcid.org/0000-0001-9842-9718
