dev@glassfish.java.net

Re: pom change review request (long but simple)

From: Bill Shannon <bill.shannon_at_sun.com>
Date: Thu, 17 Sep 2009 13:56:22 -0700

The copyright situation is a mess. I've complained about this to
Abhijit several times, still no action.

*Many* files have completely the wrong license, or worse yet no copyright
or license at all.

No one seems to update the copyright year when they modify a file,
like they should.

Grumble...


Bobby Bissett wrote:
>> if you made changes to these files - the copyright year should be 2009
>> - not 2007.
>
> Hmmm... a lot of people have some 'splainin to do then:
>
> hostname% pwd
> /Users/bobby/work/ws/v3
> hostname%
> hostname% find . -name "pom.xml" | xargs grep -i "All rights reserved" |
> wc -l
> 330
> hostname% find . -name "pom.xml" | xargs grep -i "All rights reserved" |
> grep 2009 | wc -l
> 45
> hostname% find . -name "pom.xml" | xargs grep -i "All rights reserved" |
> grep 2008 | wc -l
> 45
> hostname% find . -name "pom.xml" | xargs grep -i "All rights reserved" |
> grep 2007 | wc -l
> 238
>
> Do we have some script that gets run on these later to fix the dates and
> otherwise do a copyright check?