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 <[email protected]>
Enviado el: martes, 11 de agosto de 2020 08:54 a.m.
Para: [email protected]
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: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]