You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by Ken Cheng <kc...@gmail.com> on 2015/08/27 17:56:20 UTC
How to fix build failure Check License Headers (by RAT) (Maven
I got below error in the TC, how to fix such issue?
[12:27:35]Step 4/8: Check License Headers (by RAT) (Maven) (7s)
[12:27:41][Step 4/8] org.apache.ignite:ignite-platform
[12:27:41][org.apache.ignite:ignite-platform] Failed to execute goal
org.apache.rat:apache-rat-plugin:0.11:check (default) on project
ignite-platform: Too many files with unapproved license: 1 See RAT report
in:
/home/teamcity/agent/work/cf2353597844dbf3/modules/platform/target/rat.txt
[12:27:43][Step 4/8] Step Check License Headers (by RAT) (Maven) failed
[12:27:43]Step 7/8: Build and run tests (Maven)
[12:27:44][Step 7/8] Step Build and run tests (Maven) failed
Thanks,
kcheng
Re: How to fix build failure Check License Headers (by RAT) (Maven
Posted by Ken Cheng <kc...@gmail.com>.
here is Rat report.
By the way, this is my first checkin for Ignite.
Thanks,
kcheng
On Fri, Aug 28, 2015 at 12:13 AM, Ken Cheng <kc...@gmail.com> wrote:
> Summary
> -------
> Generated at: 2015-08-28T00:09:54+08:00
> Notes: 0
> Binaries: 0
> Archives: 0
> Standards: 41
>
> Apache Licensed: 0
> Generated Documents: 0
>
> JavaDocs are generated and so license header is optional
> Generated files do not required license headers
>
> 1 Unknown Licenses
>
> *******************************
>
> Unapproved licenses:
>
>
> /Users/kcheng/sandbox/ignite/modules/platform/src/main/dotnet/Apache.Ignite.sln.DotSettings
>
> *******************************
>
> actually this is file is not in my checkin list and the content of this
> file is :
>
>
> <wpf:ResourceDictionary xml:space="preserve" xmlns:x="
> http://schemas.microsoft.com/winfx/2006/xaml"
> xmlns:s="clr-namespace:System;assembly=mscorlib"
> xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="
> http://schemas.microsoft.com/winfx/2006/xaml/presentation">
> <s:Boolean
> x:Key="/Default/CodeStyle/CSharpUsing/AddImportsToDeepestScope/@EntryValue">True</s:Boolean>
>
> <s:Boolean
> x:Key="/Default/CodeStyle/CSharpUsing/QualifiedUsingAtNestedScope/@EntryValue">True</s:Boolean></wpf:ResourceDictionary>
>
> Thanks,
> kcheng
>
> On Fri, Aug 28, 2015 at 12:07 AM, Artem Shutak <as...@gridgain.com>
> wrote:
>
>> Just run RAT locally by
>>
>> mvn clean validate -Pcheck-licenses
>>
>> and see RAT report.
>>
>> -- Artem --
>>
>> On Thu, Aug 27, 2015 at 7:01 PM, Ken Cheng <kc...@gmail.com> wrote:
>>
>> > No,
>> >
>> > here is my PR
>> >
>> > https://github.com/apache/ignite/pull/35/files
>> >
>> > Thanks,
>> > kcheng
>> >
>> > On Fri, Aug 28, 2015 at 12:00 AM, Branko Čibej <br...@apache.org>
>> wrote:
>> >
>> > > On 27.08.2015 17:56, Ken Cheng wrote:
>> > > > I got below error in the TC, how to fix such issue?
>> > > >
>> > > > [12:27:35]Step 4/8: Check License Headers (by RAT) (Maven) (7s)
>> > > > [12:27:41][Step 4/8] org.apache.ignite:ignite-platform
>> > > > [12:27:41][org.apache.ignite:ignite-platform] Failed to execute goal
>> > > > org.apache.rat:apache-rat-plugin:0.11:check (default) on project
>> > > > ignite-platform: Too many files with unapproved license: 1 See RAT
>> > report
>> > > > in:
>> > > >
>> > >
>> >
>> /home/teamcity/agent/work/cf2353597844dbf3/modules/platform/target/rat.txt
>> > > > [12:27:43][Step 4/8] Step Check License Headers (by RAT) (Maven)
>> failed
>> > > > [12:27:43]Step 7/8: Build and run tests (Maven)
>> > > > [12:27:44][Step 7/8] Step Build and run tests (Maven) failed
>> > >
>> > > Did you add a new file without the required license header?
>> > >
>> > > -- Brane
>> > >
>> > >
>> >
>>
>
>
Re: How to fix build failure Check License Headers (by RAT) (Maven
Posted by Artem Shutak <as...@gridgain.com>.
Ken,
See check-licenses profile at parent/pom.xml.
But I don't understand, why you see this exception as long as you didn't
add new files. Can you merge to you dev-branch last version of master and
check again?
-- Artem --
On Thu, Aug 27, 2015 at 7:39 PM, Ken Cheng <kc...@gmail.com> wrote:
> Who can help to add the new .net/C++ code to the exclusion list?
>
> Thanks,
> kcheng
>
> On Fri, Aug 28, 2015 at 12:22 AM, Branko Čibej <br...@apache.org> wrote:
>
> > On 27.08.2015 18:13, Ken Cheng wrote:
> > > Summary
> > > -------
> > > Generated at: 2015-08-28T00:09:54+08:00
> > > Notes: 0
> > > Binaries: 0
> > > Archives: 0
> > > Standards: 41
> > >
> > > Apache Licensed: 0
> > > Generated Documents: 0
> > >
> > > JavaDocs are generated and so license header is optional
> > > Generated files do not required license headers
> > >
> > > 1 Unknown Licenses
> > >
> > > *******************************
> > >
> > > Unapproved licenses:
> > >
> > >
> > >
> >
> /Users/kcheng/sandbox/ignite/modules/platform/src/main/dotnet/Apache.Ignite.sln.DotSettings
> >
> >
> >
> > Ah, that would be a side-effect of the new .net/C++ code import. The RAT
> > exclusion list needs to be updated.
> >
> > -- Brane
> >
>
Re: How to fix build failure Check License Headers (by RAT) (Maven
Posted by Ken Cheng <kc...@gmail.com>.
Who can help to add the new .net/C++ code to the exclusion list?
Thanks,
kcheng
On Fri, Aug 28, 2015 at 12:22 AM, Branko Čibej <br...@apache.org> wrote:
> On 27.08.2015 18:13, Ken Cheng wrote:
> > Summary
> > -------
> > Generated at: 2015-08-28T00:09:54+08:00
> > Notes: 0
> > Binaries: 0
> > Archives: 0
> > Standards: 41
> >
> > Apache Licensed: 0
> > Generated Documents: 0
> >
> > JavaDocs are generated and so license header is optional
> > Generated files do not required license headers
> >
> > 1 Unknown Licenses
> >
> > *******************************
> >
> > Unapproved licenses:
> >
> >
> >
> /Users/kcheng/sandbox/ignite/modules/platform/src/main/dotnet/Apache.Ignite.sln.DotSettings
>
>
>
> Ah, that would be a side-effect of the new .net/C++ code import. The RAT
> exclusion list needs to be updated.
>
> -- Brane
>
Re: How to fix build failure Check License Headers (by RAT) (Maven
Posted by Branko Čibej <br...@apache.org>.
On 27.08.2015 18:13, Ken Cheng wrote:
> Summary
> -------
> Generated at: 2015-08-28T00:09:54+08:00
> Notes: 0
> Binaries: 0
> Archives: 0
> Standards: 41
>
> Apache Licensed: 0
> Generated Documents: 0
>
> JavaDocs are generated and so license header is optional
> Generated files do not required license headers
>
> 1 Unknown Licenses
>
> *******************************
>
> Unapproved licenses:
>
>
> /Users/kcheng/sandbox/ignite/modules/platform/src/main/dotnet/Apache.Ignite.sln.DotSettings
Ah, that would be a side-effect of the new .net/C++ code import. The RAT
exclusion list needs to be updated.
-- Brane
Re: How to fix build failure Check License Headers (by RAT) (Maven
Posted by Ken Cheng <kc...@gmail.com>.
Summary
-------
Generated at: 2015-08-28T00:09:54+08:00
Notes: 0
Binaries: 0
Archives: 0
Standards: 41
Apache Licensed: 0
Generated Documents: 0
JavaDocs are generated and so license header is optional
Generated files do not required license headers
1 Unknown Licenses
*******************************
Unapproved licenses:
/Users/kcheng/sandbox/ignite/modules/platform/src/main/dotnet/Apache.Ignite.sln.DotSettings
*******************************
actually this is file is not in my checkin list and the content of this
file is :
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="
http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:s="clr-namespace:System;assembly=mscorlib"
xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="
http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:Boolean
x:Key="/Default/CodeStyle/CSharpUsing/AddImportsToDeepestScope/@EntryValue">True</s:Boolean>
<s:Boolean
x:Key="/Default/CodeStyle/CSharpUsing/QualifiedUsingAtNestedScope/@EntryValue">True</s:Boolean></wpf:ResourceDictionary>
Thanks,
kcheng
On Fri, Aug 28, 2015 at 12:07 AM, Artem Shutak <as...@gridgain.com> wrote:
> Just run RAT locally by
>
> mvn clean validate -Pcheck-licenses
>
> and see RAT report.
>
> -- Artem --
>
> On Thu, Aug 27, 2015 at 7:01 PM, Ken Cheng <kc...@gmail.com> wrote:
>
> > No,
> >
> > here is my PR
> >
> > https://github.com/apache/ignite/pull/35/files
> >
> > Thanks,
> > kcheng
> >
> > On Fri, Aug 28, 2015 at 12:00 AM, Branko Čibej <br...@apache.org> wrote:
> >
> > > On 27.08.2015 17:56, Ken Cheng wrote:
> > > > I got below error in the TC, how to fix such issue?
> > > >
> > > > [12:27:35]Step 4/8: Check License Headers (by RAT) (Maven) (7s)
> > > > [12:27:41][Step 4/8] org.apache.ignite:ignite-platform
> > > > [12:27:41][org.apache.ignite:ignite-platform] Failed to execute goal
> > > > org.apache.rat:apache-rat-plugin:0.11:check (default) on project
> > > > ignite-platform: Too many files with unapproved license: 1 See RAT
> > report
> > > > in:
> > > >
> > >
> >
> /home/teamcity/agent/work/cf2353597844dbf3/modules/platform/target/rat.txt
> > > > [12:27:43][Step 4/8] Step Check License Headers (by RAT) (Maven)
> failed
> > > > [12:27:43]Step 7/8: Build and run tests (Maven)
> > > > [12:27:44][Step 7/8] Step Build and run tests (Maven) failed
> > >
> > > Did you add a new file without the required license header?
> > >
> > > -- Brane
> > >
> > >
> >
>
Re: How to fix build failure Check License Headers (by RAT) (Maven
Posted by Artem Shutak <as...@gridgain.com>.
Just run RAT locally by
mvn clean validate -Pcheck-licenses
and see RAT report.
-- Artem --
On Thu, Aug 27, 2015 at 7:01 PM, Ken Cheng <kc...@gmail.com> wrote:
> No,
>
> here is my PR
>
> https://github.com/apache/ignite/pull/35/files
>
> Thanks,
> kcheng
>
> On Fri, Aug 28, 2015 at 12:00 AM, Branko Čibej <br...@apache.org> wrote:
>
> > On 27.08.2015 17:56, Ken Cheng wrote:
> > > I got below error in the TC, how to fix such issue?
> > >
> > > [12:27:35]Step 4/8: Check License Headers (by RAT) (Maven) (7s)
> > > [12:27:41][Step 4/8] org.apache.ignite:ignite-platform
> > > [12:27:41][org.apache.ignite:ignite-platform] Failed to execute goal
> > > org.apache.rat:apache-rat-plugin:0.11:check (default) on project
> > > ignite-platform: Too many files with unapproved license: 1 See RAT
> report
> > > in:
> > >
> >
> /home/teamcity/agent/work/cf2353597844dbf3/modules/platform/target/rat.txt
> > > [12:27:43][Step 4/8] Step Check License Headers (by RAT) (Maven) failed
> > > [12:27:43]Step 7/8: Build and run tests (Maven)
> > > [12:27:44][Step 7/8] Step Build and run tests (Maven) failed
> >
> > Did you add a new file without the required license header?
> >
> > -- Brane
> >
> >
>
Re: How to fix build failure Check License Headers (by RAT) (Maven
Posted by Ken Cheng <kc...@gmail.com>.
No,
here is my PR
https://github.com/apache/ignite/pull/35/files
Thanks,
kcheng
On Fri, Aug 28, 2015 at 12:00 AM, Branko Čibej <br...@apache.org> wrote:
> On 27.08.2015 17:56, Ken Cheng wrote:
> > I got below error in the TC, how to fix such issue?
> >
> > [12:27:35]Step 4/8: Check License Headers (by RAT) (Maven) (7s)
> > [12:27:41][Step 4/8] org.apache.ignite:ignite-platform
> > [12:27:41][org.apache.ignite:ignite-platform] Failed to execute goal
> > org.apache.rat:apache-rat-plugin:0.11:check (default) on project
> > ignite-platform: Too many files with unapproved license: 1 See RAT report
> > in:
> >
> /home/teamcity/agent/work/cf2353597844dbf3/modules/platform/target/rat.txt
> > [12:27:43][Step 4/8] Step Check License Headers (by RAT) (Maven) failed
> > [12:27:43]Step 7/8: Build and run tests (Maven)
> > [12:27:44][Step 7/8] Step Build and run tests (Maven) failed
>
> Did you add a new file without the required license header?
>
> -- Brane
>
>
Re: How to fix build failure Check License Headers (by RAT) (Maven
Posted by Branko Čibej <br...@apache.org>.
On 27.08.2015 17:56, Ken Cheng wrote:
> I got below error in the TC, how to fix such issue?
>
> [12:27:35]Step 4/8: Check License Headers (by RAT) (Maven) (7s)
> [12:27:41][Step 4/8] org.apache.ignite:ignite-platform
> [12:27:41][org.apache.ignite:ignite-platform] Failed to execute goal
> org.apache.rat:apache-rat-plugin:0.11:check (default) on project
> ignite-platform: Too many files with unapproved license: 1 See RAT report
> in:
> /home/teamcity/agent/work/cf2353597844dbf3/modules/platform/target/rat.txt
> [12:27:43][Step 4/8] Step Check License Headers (by RAT) (Maven) failed
> [12:27:43]Step 7/8: Build and run tests (Maven)
> [12:27:44][Step 7/8] Step Build and run tests (Maven) failed
Did you add a new file without the required license header?
-- Brane