A quick and temporary way to ignore the rat checks for a mvn run is to
add -Drat.ignoreErrors to the command line. But I agree with Sumit that for
the long term we should add on to the exclusion list.

-Gour


On Tue, Jul 8, 2014 at 10:59 AM, Jon Maron <jma...@hortonworks.com> wrote:

> The pom (root dir) specifies a list of exclusions:
>
>       <plugin>
>         <groupId>org.apache.rat</groupId>
>         <artifactId>apache-rat-plugin</artifactId>
>         <version>${apache-rat-plugin.version}</version>
>         <executions>
>           <execution>
>             <id>check-licenses</id>
>             <goals>
>               <goal>check</goal>
>             </goals>
>           </execution>
>         </executions>
>         <configuration>
>           <excludes>
>             <exclude>**/*.json</exclude>
>             <exclude>**/*.tar</exclude>
>             <exclude>**/build.properties</exclude>
>             <exclude>**/regionservers</exclude>
>             <exclude>**/slaves</exclude>
>             <exclude>**/httpfs-signature.secret</exclude>
>             <exclude>**/dfs.exclude</exclude>
>             <exclude>**/*.iml</exclude>
>             <exclude>**/rat.txt</exclude>
>             <exclude>DISCLAIMER</exclude>
>           </excludes>
>         </configuration>
>       </plugin>
>
>   Try adding your set (e.g. ‘**/TEST*.xml’)
>
> On Jul 8, 2014, at 1:53 PM, Ted Yu <yuzhih...@gmail.com> wrote:
>
> > Hi,
> > Once I produce app package for hbase, the next build would complain about
> > the following.
> >
> > Unapproved licenses:
> >
> >  app-packages/hbase/target/archive-tmp/appConfig.json.1746534752.filtered
> >  app-packages/hbase/target/archive-tmp/appConfig.json.727813455.filtered
> >
> >
> app-packages/hbase/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst
> >
> >
> app-packages/hbase/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
> >
> >
> app-packages/hbase/target/failsafe-reports/TEST-org.apache.slider.funtest.hbase.HBaseMonitorSSLIT.xml
> >
> >
> app-packages/hbase/target/failsafe-reports/TEST-org.apache.slider.funtest.hbase.HBaseBasicIT.xml
> >
> >
> app-packages/hbase/target/failsafe-reports/org.apache.slider.funtest.hbase.HBaseMonitorSSLIT.txt
> >
> >
> app-packages/hbase/target/failsafe-reports/org.apache.slider.funtest.hbase.HBaseBasicIT.txt
> >  app-packages/hbase/target/failsafe-reports/failsafe-summary.xml
> >
> > Suggestion on how these build output should be excluded from rat check is
> > welcome.
> >
> > Thanks
>
>
> --
> CONFIDENTIALITY NOTICE
> NOTICE: This message is intended for the use of the individual or entity to
> which it is addressed and may contain information that is confidential,
> privileged and exempt from disclosure under applicable law. If the reader
> of this message is not the intended recipient, you are hereby notified that
> any printing, copying, dissemination, distribution, disclosure or
> forwarding of this communication is strictly prohibited. If you have
> received this communication in error, please contact the sender immediately
> and delete it from your system. Thank You.
>

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Reply via email to