Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Accumulo, mail # dev - Unapproved License Message From assemble/build.sh)


+
David Medinets 2012-10-21, 03:50
+
Christopher Tubbs 2012-10-21, 04:46
+
David Medinets 2012-10-22, 00:54
+
Billie Rinaldi 2012-10-22, 13:35
+
Michael Flester 2012-10-22, 20:55
Copy link to this message
-
Re: Unapproved License Message From assemble/build.sh)
William Slacum 2012-10-23, 02:07
Billie-- any way around the issue with different versions of rat
considering the odp files binary? I'm noticing they're getting marked for
me on OSX 10.7.5, and seem to be the difference in the file counts.

On Mon, Oct 22, 2012 at 4:55 PM, Michael Flester <[EMAIL PROTECTED]> wrote:

> I've checked the rat source code[1] and followed the trail to the codehaus
> DirectoryScanner[2]
> and don't find any code that reads or obeys an exclude list other than some
> defaults
> that can be turned on or off. These default excludes seem to be hard coded
> everywhere,
> e.g. a set of excludes for maven, a set for eclipse, nothing project
> specific.
>
>
> [1]
>
> https://svn.apache.org/repos/asf/creadur/rat/trunk/apache-rat-plugin/src/main/java/org/apache/rat/mp/AbstractRatMojo.javaline
> 302
>
> [2]
>
> http://plexus.codehaus.org/plexus-utils/apidocs/org/codehaus/plexus/util/AbstractScanner.html#DEFAULTEXCLUDES
>
> On Mon, Oct 22, 2012 at 9:35 AM, Billie Rinaldi <[EMAIL PROTECTED]
> >wrote:
>
> > I've noticed that different systems (perhaps different versions of the
> rat
> > plugin) can show different numbers of files as missing licenses. For
> > example some know that odp files are binary and some do not. So we need a
> > better method than counting them. I didn't know that the exclusion lists
> > weren't working. We should look into that.
> >
> > Billie
> >
> >
> >
> > On Oct 21, 2012, at 8:54 PM, David Medinets <[EMAIL PROTECTED]>
> > wrote:
> >
> >  Thanks. I checked the rat.txt file and saw 56 files listed with
> >> question marked. Then I commented out the exclusion section of the rat
> >> configuration in pom.xml. There was no change in rat.txt. It seems
> >> like the exclusion list is ignored. There is a dearth of information
> >> about this topic on Google. I'd like to help resolve this issue but I
> >> don't know how.
> >>
> >> If someone verifies this issue (56 files unapproved by rat), then I'll
> >> create a JIRA ticket.
> >>
> >> On Sun, Oct 21, 2012 at 12:46 AM, Christopher Tubbs <[EMAIL PROTECTED]
> >
> >> wrote:
> >>
> >>> If you look in the target directory, after running "mvn rat:check",
> >>> you can see a "rat.txt" file, which has the details. You can also run
> >>> "mvn rat:rat" (the goal executed for the site build when the rat
> >>> plugin is included as a site report) if you want to see it in a
> >>> prettier format (target/site/rat-report.html).
> >>>
> >>> --
> >>> Christopher L Tubbs II
> >>> http://gravatar.com/ctubbsii
> >>>
> >>>
> >>> On Sat, Oct 20, 2012 at 11:50 PM, David Medinets
> >>> <[EMAIL PROTECTED]> wrote:
> >>>
> >>>> Apache Rat is reporting unapproved licenses. I don't know anything
> >>>> about Rat. Is there someway for Rat to report which files are missing
> >>>> licenses?
> >>>>
> >>>> [INFO] Building accumulo
> >>>> [INFO]    task-segment: [rat:check]
> >>>> [INFO]
> ------------------------------**------------------------------**
> >>>> ------------
> >>>> [INFO] [rat:check {execution: default-cli}]
> >>>> [INFO]
> ------------------------------**------------------------------**
> >>>> ------------
> >>>> [ERROR] BUILD FAILURE
> >>>> [INFO]
> ------------------------------**------------------------------**
> >>>> ------------
> >>>> [INFO] Too many unapproved licenses: 291
> >>>> [INFO]
> ------------------------------**------------------------------**
> >>>> ------------
> >>>> [INFO] For more information, run Maven with the -e switch
> >>>> [INFO]
> ------------------------------**------------------------------**
> >>>> ------------
> >>>> [INFO] Total time: 3 seconds
> >>>> [INFO] Finished at: Sat Oct 20 23:44:28 EDT 2012
> >>>> [INFO] Final Memory: 21M/52M
> >>>> [INFO]
> ------------------------------**------------------------------**
> >>>> ------------
> >>>>    expected 53 files missing licenses, but saw 56
> >>>>
> >>>
>