guacamole-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marko Nikolić <>
Subject Re: License error while creating extension
Date Wed, 18 Jul 2018 23:33:30 GMT
You can also disable RAT check temporarily, with -Drat.skip=true switch on
the mvn command line. This is not really a long-term solution, it is just a
quick fix.

сре, 18. јул 2018. у 19:25 Mike Jumper <> је написао/ла:

> On Wed, Jul 18, 2018 at 7:47 AM, Nick Couchman <> wrote:
>> On Wed, Jul 18, 2018 at 8:38 AM Asbern <> wrote:
>>> Hi all,
>>> I was trying to create a new extension, while executing using mvn
>>> package am facing license issue, stating *“Failed to execute goal
>>> org.apache.rat:apache-rat-plugin:0.12:check (validate) on project
>>> guacamole-client: Too many files with unapproved license” . *May I know
>>> how to generate a license?
>> You don't need to generate a license, you just need to make sure that
>> your source files include a license header at the top.  Take a look and any
>> of the .java and/or .js files that are included with other parts of the
>> Guacamole source, and you'll see the Apache 2.0 License Header at the top
>> of it.  You can add your own for however you'd like to license the
>> extension.
>> The other option, for your custom extension, is to disable the RAT plugin
>> - you'd make this modification in the pom.xml file for your particular
>> extension.  We use it within the Guacamole project to make sure that our
>> source files comply with ASF requirements, but for something you are
>> developing on your own there's no requirement that you actually run that
>> check against your source code.  Look for the rat plugin in the pom.xml and
>> remove that section.
>> If you intend to contribute your code back to the Guacamole project
>> (which we would love!), then you will need to make the RAT plugin happy,
>> though, and license it under the Apache 2.0 license.
> Depending on what you're doing and what you intend (contribute back vs.
> not), part of the issue may be that you're modifying the guacamole-client
> source tree to create your extension. If all you're doing is creating an
> extension for Guacamole, there's no need to touch guacamole-client. Your
> extension just needs to depend on the appropriate version of guacamole-ext.
> - Mike

View raw message