You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by Ted Yu <yu...@gmail.com> on 2014/07/08 19:53:17 UTC
excluding build output from app package
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
Re: excluding build output from app package
Posted by Gour Saha <gs...@hortonworks.com>.
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 <jm...@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 <yu...@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.
Re: excluding build output from app package
Posted by Jon Maron <jm...@hortonworks.com>.
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 <yu...@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.
Re: excluding build output from app package
Posted by Billie Rinaldi <bi...@gmail.com>.
My guess is it's not ignoring that target directory because the hbase app
package is no longer listed as a submodule in the top level pom file.
On Jul 8, 2014 10:58 AM, "Steve Loughran" <st...@hortonworks.com> wrote:
> that's RAT isn't it?
>
> you need to update the org.apache.rat plugin in pom.xml with a pattern that
> gets rid of the noise. I'm surprised it's picking up stuff in target/
> though ... I don't see filters for this in the other projects
>
>
> On 8 July 2014 18:53, Ted Yu <yu...@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.
>
Re: excluding build output from app package
Posted by Steve Loughran <st...@hortonworks.com>.
that's RAT isn't it?
you need to update the org.apache.rat plugin in pom.xml with a pattern that
gets rid of the noise. I'm surprised it's picking up stuff in target/
though ... I don't see filters for this in the other projects
On 8 July 2014 18:53, Ted Yu <yu...@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.