[ https://issues.apache.org/jira/browse/SAMZA-501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14258539#comment-14258539 ]
Yan Fang commented on SAMZA-501: -------------------------------- ok. Actually what I was saying is that, even though we do not exclude these files in the pom.xml, the rat should excludes them implicitly. You can see that by using -debug. Now it works with you, let's see if you will have this problem in the future. Thank you. > hello-samza - Eclipse files are not ignored by rat while scanning for licenses > ------------------------------------------------------------------------------ > > Key: SAMZA-501 > URL: https://issues.apache.org/jira/browse/SAMZA-501 > Project: Samza > Issue Type: Bug > Reporter: Venkata krishnan Sowrirajan > Assignee: Venkata krishnan Sowrirajan > Priority: Blocker > Attachments: Samza-501.patch > > > When I try to build hello-samza after pointing eclipse to the git directory > of hello-samza for the second time, I am getting rat unknown licenses error. > This is because eclipse creates .classpath and .settings files/dir inside the > project directory which doesn't have the license info. So rat needs to > exclude .settings and .classpath while scanning for license info. > Unapproved licenses: > samza-job-package/.settings/org.eclipse.core.resources.prefs > samza-job-package/.settings/org.eclipse.m2e.core.prefs > samza-job-package/.settings/org.eclipse.jdt.core.prefs > samza-job-package/.classpath > samza-wikipedia/.settings/org.eclipse.core.resources.prefs > samza-wikipedia/.settings/org.eclipse.m2e.core.prefs > samza-wikipedia/.settings/org.eclipse.jdt.core.prefs > samza-wikipedia/.classpath -- This message was sent by Atlassian JIRA (v6.3.4#6332)