Hi Sandro,

On Mon, Apr 27, 2015 at 4:55 PM, Sandro Boehme <[email protected]> wrote:
> Hello,
>
> when doing a new checkout of Sling and building it simply with "mvn clean
> install" I get the error:
>
> "[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check
> (default) on project org.apache.sling.jcr.resource: Too many files with
> unapproved license: 1 See RAT report in:
> /Users/sandro/Developing/Projekte/sling/svn2/bundles/jcr/resource/target/rat.txt"
>
> But the Jenkin builds are at least yellow.
>
> Is Jenkins building Sling differently and should I also build Sling
> differently or does anybody has an idea on what I should change?

I suspect that you have a more recent version of Maven which picks up
the parent pom from the path specified in the pom even though the
version does not match. This check was added to the parent pom but not
released. What version of Maven ( mvn -v ) are you using?

Thanks,

Robert

Reply via email to