You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Yang Yang <yy...@icloud.com.INVALID> on 2020/08/11 13:53:32 UTC
Error when building 1.1.2 Docker: Too many files with unapproved
license
Hello,
I experienced the following error when building 1.1.2 docker, is there anything I can do?
[INFO] Reactor Summary:
[INFO]
[INFO] guacamole-common 1.1.0 ............................. SUCCESS [18:36 min]
[INFO] guacamole-ext 1.2.0 ................................ SUCCESS [01:20 min]
[INFO] guacamole-common-js 1.2.0 .......................... SUCCESS [07:59 min]
[INFO] guacamole 1.2.0 .................................... FAILURE [08:23 min]
[INFO] guacamole-auth-cas 1.2.0 ........................... SKIPPED
[INFO] guacamole-auth-duo 1.2.0 ........................... SKIPPED
[INFO] guacamole-auth-header 1.2.0 ........................ SKIPPED
[INFO] guacamole-auth-jdbc 1.2.0 .......................... SKIPPED
[INFO] guacamole-auth-jdbc-base 1.2.0 ..................... SKIPPED
[INFO] guacamole-auth-jdbc-mysql 1.2.0 .................... SKIPPED
[INFO] guacamole-auth-jdbc-postgresql 1.2.0 ............... SKIPPED
[INFO] guacamole-auth-jdbc-sqlserver 1.2.0 ................ SKIPPED
[INFO] guacamole-auth-jdbc-dist 1.2.0 ..................... SKIPPED
[INFO] guacamole-auth-ldap 1.2.0 .......................... SKIPPED
[INFO] guacamole-auth-openid 1.2.0 ........................ SKIPPED
[INFO] guacamole-auth-quickconnect 1.2.0 .................. SKIPPED
[INFO] guacamole-auth-saml 1.2.0 .......................... SKIPPED
[INFO] guacamole-auth-totp 1.2.0 .......................... SKIPPED
[INFO] guacamole-example 1.2.0 ............................ SKIPPED
[INFO] guacamole-playback-example 1.2.0 ................... SKIPPED
[INFO] guacamole-client 1.2.0 ............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 36:20 min
[INFO] Finished at: 2020-08-11T13:41:37Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.12:check (validate) on project guacamole: Too many files with unapproved license: 1 See RAT report in: /tmp/guacamole-docker-BUILD/guacamole/target/rat.txt -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :guacamole
The command '/bin/sh -c /opt/guacamole/bin/build-guacamole.sh "$BUILD_DIR" /opt/guacamole "$BUILD_PROFILE"' returned a non-zero code: 1
Thanks,
Yang
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org
Re: Error when building 1.1.2 Docker: Too many files with unapproved license
Posted by Nick Couchman <vn...@apache.org>.
On Tue, Aug 11, 2020 at 9:53 AM Yang Yang <yy...@icloud.com.invalid> wrote:
> Hello,
>
> I experienced the following error when building 1.1.2 docker, is there
> anything I can do?
>
> [INFO] Reactor Summary:
> [INFO]
> [INFO] guacamole-common 1.1.0 ............................. SUCCESS [18:36
> min]
> [INFO] guacamole-ext 1.2.0 ................................ SUCCESS [01:20
> min]
> [INFO] guacamole-common-js 1.2.0 .......................... SUCCESS [07:59
> min]
> [INFO] guacamole 1.2.0 .................................... FAILURE [08:23
> min]
> [INFO] guacamole-auth-cas 1.2.0 ........................... SKIPPED
> [INFO] guacamole-auth-duo 1.2.0 ........................... SKIPPED
> [INFO] guacamole-auth-header 1.2.0 ........................ SKIPPED
> [INFO] guacamole-auth-jdbc 1.2.0 .......................... SKIPPED
> [INFO] guacamole-auth-jdbc-base 1.2.0 ..................... SKIPPED
> [INFO] guacamole-auth-jdbc-mysql 1.2.0 .................... SKIPPED
> [INFO] guacamole-auth-jdbc-postgresql 1.2.0 ............... SKIPPED
> [INFO] guacamole-auth-jdbc-sqlserver 1.2.0 ................ SKIPPED
> [INFO] guacamole-auth-jdbc-dist 1.2.0 ..................... SKIPPED
> [INFO] guacamole-auth-ldap 1.2.0 .......................... SKIPPED
> [INFO] guacamole-auth-openid 1.2.0 ........................ SKIPPED
> [INFO] guacamole-auth-quickconnect 1.2.0 .................. SKIPPED
> [INFO] guacamole-auth-saml 1.2.0 .......................... SKIPPED
> [INFO] guacamole-auth-totp 1.2.0 .......................... SKIPPED
> [INFO] guacamole-example 1.2.0 ............................ SKIPPED
> [INFO] guacamole-playback-example 1.2.0 ................... SKIPPED
> [INFO] guacamole-client 1.2.0 ............................. SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 36:20 min
> [INFO] Finished at: 2020-08-11T13:41:37Z
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.12:check
> (validate) on project guacamole: Too many files with unapproved license: 1
> See RAT report in: /tmp/guacamole-docker-BUILD/guacamole/target/rat.txt ->
> [Help 1]
>
This happens when you add files to the code but do not put the proper
license header(s) in the files. Your options are to either put the correct
license in the files you have added, or disable the RAT plugin as already
suggested by another user.
-Nick
RE: Error when building 1.1.2 Docker: Too many files with unapproved
license
Posted by Gabriel Huerta Araujo <hu...@globalhitss.com.INVALID>.
Hi Yang
In pom.xml file (client project) at line 217
<!-- Bind RAT to validate phase ->
<executions>
<execution>
<id>validate</id>
<phase>validate</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
If you put a comment at this section like this?
<!-- Bind RAT to validate phase
<executions>
<execution>
<id>validate</id>
<phase>validate</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
-->
And generate again the client war with
mvn clean
mvn package.
I hope this can be useful.
Regards
-----Mensaje original-----
De: Yang Yang <yy...@icloud.com.INVALID>
Enviado el: martes, 11 de agosto de 2020 08:54 a.m.
Para: user@guacamole.apache.org
Asunto: Error when building 1.1.2 Docker: Too many files with unapproved license
Hello,
I experienced the following error when building 1.1.2 docker, is there anything I can do?
[INFO] Reactor Summary:
[INFO]
[INFO] guacamole-common 1.1.0 ............................. SUCCESS [18:36 min] [INFO] guacamole-ext 1.2.0 ................................ SUCCESS [01:20 min] [INFO] guacamole-common-js 1.2.0 .......................... SUCCESS [07:59 min] [INFO] guacamole 1.2.0 .................................... FAILURE [08:23 min] [INFO] guacamole-auth-cas 1.2.0 ........................... SKIPPED [INFO] guacamole-auth-duo 1.2.0 ........................... SKIPPED [INFO] guacamole-auth-header 1.2.0 ........................ SKIPPED [INFO] guacamole-auth-jdbc 1.2.0 .......................... SKIPPED [INFO] guacamole-auth-jdbc-base 1.2.0 ..................... SKIPPED [INFO] guacamole-auth-jdbc-mysql 1.2.0 .................... SKIPPED [INFO] guacamole-auth-jdbc-postgresql 1.2.0 ............... SKIPPED [INFO] guacamole-auth-jdbc-sqlserver 1.2.0 ................ SKIPPED [INFO] guacamole-auth-jdbc-dist 1.2.0 ..................... SKIPPED [INFO] guacamole-auth-ldap 1.2.0 .......................... SKIPPED [INFO] guacamole-auth-openid 1.2.0 ........................ SKIPPED [INFO] guacamole-auth-quickconnect 1.2.0 .................. SKIPPED [INFO] guacamole-auth-saml 1.2.0 .......................... SKIPPED [INFO] guacamole-auth-totp 1.2.0 .......................... SKIPPED [INFO] guacamole-example 1.2.0 ............................ SKIPPED [INFO] guacamole-playback-example 1.2.0 ................... SKIPPED [INFO] guacamole-client 1.2.0 ............................. SKIPPED [INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 36:20 min
[INFO] Finished at: 2020-08-11T13:41:37Z [INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.12:check (validate) on project guacamole: Too many files with unapproved license: 1 See RAT report in: /tmp/guacamole-docker-BUILD/guacamole/target/rat.txt -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :guacamole
The command '/bin/sh -c /opt/guacamole/bin/build-guacamole.sh "$BUILD_DIR" /opt/guacamole "$BUILD_PROFILE"' returned a non-zero code: 1
Thanks,
Yang
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org