[ 
https://issues.apache.org/jira/browse/SAMZA-92?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14025579#comment-14025579
 ] 

Jakob Homan commented on SAMZA-92:
----------------------------------

Slightly annoying is that we're getting lines like these in the gradle output:
{noformat}
:samza-yarn_2.10:licenseMain
Unknown file extension: 
samza-yarn/src/main/resources/scalate/fonts/fontawesome-webfont.eot
Ignoring header in: samza-yarn/src/main/resources/scalate/css/ropa-sans.css
Ignoring header in: 
samza-yarn/src/main/resources/scalate/css/font-awesome.min.css
Unknown file extension: 
samza-yarn/src/main/resources/scalate/fonts/fontawesome-webfont.svg
Unknown file extension: 
samza-yarn/src/main/resources/scalate/fonts/fontawesome-webfont.ttf
Unknown file extension: 
samza-yarn/src/main/resources/scalate/fonts/fontawesome-webfont.woff
Unknown file extension: 
samza-yarn/src/main/resources/scalate/fonts/FontAwesome.otf
Unknown file extension: 
samza-yarn/src/main/resources/scalate/fonts/glyphicons-halflings-regular.eot
Unknown file extension: 
samza-yarn/src/main/resources/scalate/fonts/glyphicons-halflings-regular.svg
Unknown file extension: 
samza-yarn/src/main/resources/scalate/fonts/glyphicons-halflings-regular.ttf
Unknown file extension: 
samza-yarn/src/main/resources/scalate/fonts/glyphicons-halflings-regular.woff
Unknown file extension: 
samza-yarn/src/main/resources/scalate/fonts/RopaSans-Regular-webfont.woff
Unknown file extension: samza-yarn/src/main/resources/scalate/img/asc.gif
Unknown file extension: samza-yarn/src/main/resources/scalate/img/bg.gif
Unknown file extension: samza-yarn/src/main/resources/scalate/img/desc.gif
Unknown file extension: samza-yarn/src/main/resources/scalate/img/samza-icon.png
{noformat}

Looking at the documentation and 
[source|http://grepcode.com/file/repo1.maven.org/maven2/com.mycila.maven-license-plugin/maven-license-plugin/1.10.b1/com/google/code/mojo/license/document/Document.java#Document.isNotSupported%28%29]
 it appears there is no way to enumerate files to skip over in the license 
plugin.  It's probably possible exclude them at the gradle script level, but 
I'd like to punt that to another JIRA.

> More files in need of license headers
> -------------------------------------
>
>                 Key: SAMZA-92
>                 URL: https://issues.apache.org/jira/browse/SAMZA-92
>             Project: Samza
>          Issue Type: Bug
>          Components: build, docs
>            Reporter: Jakob Homan
>            Assignee: Jakob Homan
>             Fix For: 0.7.0
>
>         Attachments: SAMZA-92.patch
>
>
> {noformat}Ignoring header in: 
> samza-test/src/main/java/org/apache/samza/test/integration/join/Checker.java
> Ignoring header in: 
> samza-test/src/main/java/org/apache/samza/test/integration/join/Emitter.java
> Ignoring header in: 
> samza-test/src/main/java/org/apache/samza/test/integration/join/EpochPartitioner.java
> Ignoring header in: 
> samza-test/src/main/java/org/apache/samza/test/integration/join/Joiner.java
> Ignoring header in: 
> samza-test/src/main/java/org/apache/samza/test/integration/join/Watcher.java
> Ignoring header in: 
> samza-test/src/main/java/org/apache/samza/test/integration/SimpleStatefulTask.java
> Ignoring header in: 
> samza-test/src/main/java/org/apache/samza/test/integration/StatePerfTestTask.java
> Ignoring header in: samza-test/src/main/resources/common.properties
> Ignoring header in: samza-test/src/main/resources/log4j.xml
> Ignoring header in: 
> samza-yarn/src/main/resources/scalate/css/bootstrap.min.css
> Ignoring header in: 
> samza-yarn/src/main/resources/scalate/js/bootstrap.min.js{noformat}
> The scalate files are false positives; they have a license header and are ASL 
> 2.0 licensed, so I *believe* that's ok.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to