You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Robert Munteanu <ro...@apache.org> on 2015/11/06 09:09:33 UTC

Re: Build failed in Jenkins: sling-trunk-1.7 #2672

On Fri, 2015-11-06 at 02:26 +0000, Apache Jenkins Server wrote:
> [ERROR] Failed to execute goal org.apache.rat:apache-rat-
> plugin:0.11:check (default) on project
> org.apache.sling.installer.factory.subsystems-base: Too many files
> with unapproved license: 1 See RAT report in: <https://builds.apache.
> org/job/sling-trunk-
> 1.7/ws/trunk/installer/factories/subsystem_base/target/rat.txt> ->
> [Help 1]
> [ERROR]

This seems to fail at due to the test1.subsystem-base file placed in
the source tree. However, locally it is correctly detected as a binary
file ( it's a Jar ).

I'll add a rat plugin exclusion anyway.

Robert

Re: Build failed in Jenkins: sling-trunk-1.7 #2672

Posted by Robert Munteanu <ro...@apache.org>.
On Fri, 2015-11-06 at 12:34 -0800, Andreas Schaefer Sr. wrote:
> Hi Robert
> 
> I ran into an issue with RAT because I use GIT and when I used the
> Sling Tooling branch the IntelliJ project files (*.iml) did trip it
> off because regular Sling folders like (bundles, launchpad etc)
> remain in the file system even if the branch does not use them.
> 
> Adding an exclusion of **/*.iml did fix the issue

At first glance this does not seem to be the issue here. Looking at the
BinaryEncoderTest [1] in the creadur/rat source code, it's a limitation
of creadur related to various encoding.

Which is not ideal but not such a big deal either - we have a simple
workaround.

Robert

[1]: https://github.com/apache/creadur-rat/blob/85e92346a1bdc876cc7b40a
d2a4dbc66cb622e27/apache-rat-
core/src/test/java/org/apache/rat/document/impl/guesser/BinaryGuesserTe
st.java#L108-L122


> 
> - Andy
> 
> > On Nov 6, 2015, at 12:09 AM, Robert Munteanu <ro...@apache.org>
> > wrote:
> > 
> > On Fri, 2015-11-06 at 02:26 +0000, Apache Jenkins Server wrote:
> > > [ERROR] Failed to execute goal org.apache.rat:apache-rat-
> > > plugin:0.11:check (default) on project
> > > org.apache.sling.installer.factory.subsystems-base: Too many
> > > files
> > > with unapproved license: 1 See RAT report in: <https://builds.apa
> > > che.
> > > org/job/sling-trunk-
> > > 1.7/ws/trunk/installer/factories/subsystem_base/target/rat.txt>
> > > ->
> > > [Help 1]
> > > [ERROR]
> > 
> > This seems to fail at due to the test1.subsystem-base file placed
> > in
> > the source tree. However, locally it is correctly detected as a
> > binary
> > file ( it's a Jar ).
> > 
> > I'll add a rat plugin exclusion anyway.
> > 
> > Robert
> 


Re: Build failed in Jenkins: sling-trunk-1.7 #2672

Posted by "Andreas Schaefer Sr." <sc...@me.com>.
Hi Robert

I ran into an issue with RAT because I use GIT and when I used the Sling Tooling branch the IntelliJ project files (*.iml) did trip it off because regular Sling folders like (bundles, launchpad etc) remain in the file system even if the branch does not use them.

Adding an exclusion of **/*.iml did fix the issue.

- Andy

> On Nov 6, 2015, at 12:09 AM, Robert Munteanu <ro...@apache.org> wrote:
> 
> On Fri, 2015-11-06 at 02:26 +0000, Apache Jenkins Server wrote:
>> [ERROR] Failed to execute goal org.apache.rat:apache-rat-
>> plugin:0.11:check (default) on project
>> org.apache.sling.installer.factory.subsystems-base: Too many files
>> with unapproved license: 1 See RAT report in: <https://builds.apache.
>> org/job/sling-trunk-
>> 1.7/ws/trunk/installer/factories/subsystem_base/target/rat.txt> ->
>> [Help 1]
>> [ERROR]
> 
> This seems to fail at due to the test1.subsystem-base file placed in
> the source tree. However, locally it is correctly detected as a binary
> file ( it's a Jar ).
> 
> I'll add a rat plugin exclusion anyway.
> 
> Robert