[INFO] Building pac4j for JWT 3.0.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ pac4j-jwt --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle) @ pac4j-jwt --- [INFO] [INFO] --- build-helper-maven-plugin:3.0.0:regex-property (regex-property) @ pac4j-jwt --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ pac4j-jwt --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory C:\Users\Neha Gupta\Downloads\pac4j-master\pac4j-master\pac4j-jwt\src\main\resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ pac4j-jwt --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 14 source files to C:\Users\Neha Gupta\Downloads\pac4j-master\pac4j-master\pac4j-jwt\target\classes [INFO] [INFO] >>> findbugs-maven-plugin:3.0.5:check (run-findbugs) > :findbugs @ pac4j-jwt >>> [INFO] [INFO] --- findbugs-maven-plugin:3.0.5:findbugs (findbugs) @ pac4j-jwt --- [INFO] Fork Value is true [java] Jan 30, 2018 12:08:24 PM java.util.prefs.WindowsPreferences [java] WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5. [INFO] Done FindBugs Analysis.... [INFO] [INFO] <<< findbugs-maven-plugin:3.0.5:check (run-findbugs) < :findbugs @ pac4j-jwt <<< [INFO] [INFO] [INFO] --- findbugs-maven-plugin:3.0.5:check (run-findbugs) @ pac4j-jwt --- [INFO] BugInstance size is 0 [INFO] Error size is 0 [INFO] No errors/warnings found [INFO] [INFO] >>> maven-pmd-plugin:3.8:check (run-pmd) > :pmd @ pac4j-jwt >>> [INFO] [INFO] --- maven-pmd-plugin:3.8:pmd (pmd) @ pac4j-jwt --- [WARNING] Unable to locate Source XRef to link to - DISABLED [WARNING] Unable to locate Source XRef to link to - DISABLED [WARNING] Unable to locate Source XRef to link to - DISABLED [INFO] [INFO] <<< maven-pmd-plugin:3.8:check (run-pmd) < :pmd @ pac4j-jwt <<< [INFO] [INFO] [INFO] --- maven-pmd-plugin:3.8:check (run-pmd) @ pac4j-jwt --- [INFO] [INFO] [INFO] --- maven-bundle-plugin:3.5.0:manifest (bundle-manifest) @ pac4j-jwt --- [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ pac4j-jwt --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory C:\Users\Neha Gupta\Downloads\pac4j-master\pac4j-master\pac4j-jwt\src\test\resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ pac4j-jwt --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 7 source files to C:\Users\Neha Gupta\Downloads\pac4j-master\pac4j-master\pac4j-jwt\target\test-classes [INFO] /C:/Users/Neha Gupta/Downloads/pac4j-master/pac4j-master/pac4j-jwt/src/test/java/org/pac4j/jwt/config/encryption/RSAEncryptionConfigurationTests.java: C:\Users\Neha Gupta\Downloads\pac4j-master\pac4j-master\pac4j-jwt\src\test\java\org\pac4j\jwt\config\encryption\RSAEncryptionConfigurationTests.java uses or overrides a deprecated API. [INFO] /C:/Users/Neha Gupta/Downloads/pac4j-master/pac4j-master/pac4j-jwt/src/test/java/org/pac4j/jwt/config/encryption/RSAEncryptionConfigurationTests.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-surefire-plugin:2.20.1:test (default-test) @ pac4j-jwt --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.pac4j.jwt.config.encryption.ECEncryptionConfigurationTests [ERROR] Tests run: 7, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 1.139 s <<< FAILURE! - in org.pac4j.jwt.config.encryption.ECEncryptionConfigurationTests [ERROR] testEncryptDecryptPlainJWT(org.pac4j.jwt.config.encryption.ECEncryptionConfigurationTests) Time elapsed: 0.779 s <<< ERROR! org.pac4j.core.exception.TechnicalException: com.nimbusds.jose.JOSEException: Couldn't wrap AES key: Illegal key size or default parameters at org.pac4j.jwt.config.encryption.ECEncryptionConfigurationTests.testEncryptDecryptPlainJWT(ECEncryptionConfigurationTests.java:83) Caused by: com.nimbusds.jose.JOSEException: Couldn't wrap AES key: Illegal key size or default parameters at org.pac4j.jwt.config.encryption.ECEncryptionConfigurationTests.testEncryptDecryptPlainJWT(ECEncryptionConfigurationTests.java:83) Caused by: java.security.InvalidKeyException: Illegal key size or default parameters at org.pac4j.jwt.config.encryption.ECEncryptionConfigurationTests.testEncryptDecryptPlainJWT(ECEncryptionConfigurationTests.java:83) [ERROR] testEncryptDecryptSignedJWT(org.pac4j.jwt.config.encryption.ECEncryptionConfigurationTests) Time elapsed: 0.043 s <<< ERROR! org.pac4j.core.exception.TechnicalException: com.nimbusds.jose.JOSEException: Illegal key size at org.pac4j.jwt.config.encryption.ECEncryptionConfigurationTests.testEncryptDecryptSignedJWT(ECEncryptionConfigurationTests.java:69) Caused by: com.nimbusds.jose.JOSEException: Illegal key size at org.pac4j.jwt.config.encryption.ECEncryptionConfigurationTests.testEncryptDecryptSignedJWT(ECEncryptionConfigurationTests.java:69) Caused by: java.security.InvalidKeyException: Illegal key size at org.pac4j.jwt.config.encryption.ECEncryptionConfigurationTests.testEncryptDecryptSignedJWT(ECEncryptionConfigurationTests.java:69) [ERROR] testDecryptMissingKey(org.pac4j.jwt.config.encryption.ECEncryptionConfigurationTests) Time elapsed: 0.008 s <<< ERROR! org.pac4j.core.exception.TechnicalException: com.nimbusds.jose.JOSEException: Couldn't wrap AES key: Illegal key size or default parameters at org.pac4j.jwt.config.encryption.ECEncryptionConfigurationTests.testDecryptMissingKey(ECEncryptionConfigurationTests.java:107) Caused by: com.nimbusds.jose.JOSEException: Couldn't wrap AES key: Illegal key size or default parameters at org.pac4j.jwt.config.encryption.ECEncryptionConfigurationTests.testDecryptMissingKey(ECEncryptionConfigurationTests.java:107) Caused by: java.security.InvalidKeyException: Illegal key size or default parameters at org.pac4j.jwt.config.encryption.ECEncryptionConfigurationTests.testDecryptMissingKey(ECEncryptionConfigurationTests.java:107) [INFO] Running org.pac4j.jwt.config.encryption.RSAEncryptionConfigurationTests [ERROR] Tests run: 7, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.05 s <<< FAILURE! - in org.pac4j.jwt.config.encryption.RSAEncryptionConfigurationTests [ERROR] testEncryptDecryptSignedJWT(org.pac4j.jwt.config.encryption.RSAEncryptionConfigurationTests) Time elapsed: 0.28 s <<< ERROR! org.pac4j.core.exception.TechnicalException: com.nimbusds.jose.JOSEException: Illegal key size at org.pac4j.jwt.config.encryption.RSAEncryptionConfigurationTests.testEncryptDecryptSignedJWT(RSAEncryptionConfigurationTests.java:69) Caused by: com.nimbusds.jose.JOSEException: Illegal key size at org.pac4j.jwt.config.encryption.RSAEncryptionConfigurationTests.testEncryptDecryptSignedJWT(RSAEncryptionConfigurationTests.java:69) Caused by: java.security.InvalidKeyException: Illegal key size at org.pac4j.jwt.config.encryption.RSAEncryptionConfigurationTests.testEncryptDecryptSignedJWT(RSAEncryptionConfigurationTests.java:69) [INFO] Running org.pac4j.jwt.config.encryption.SecretEncryptionConfigurationTests [ERROR] Tests run: 8, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.019 s <<< FAILURE! - in org.pac4j.jwt.config.encryption.SecretEncryptionConfigurationTests [ERROR] testEncryptDecryptPlainJWT(org.pac4j.jwt.config.encryption.SecretEncryptionConfigurationTests) Time elapsed: 0.006 s <<< ERROR! org.pac4j.core.exception.TechnicalException: com.nimbusds.jose.JOSEException: Couldn't create AES/GCM/NoPadding cipher: Illegal key size at org.pac4j.jwt.config.encryption.SecretEncryptionConfigurationTests.testEncryptDecryptPlainJWT(SecretEncryptionConfigurationTests.java:76) Caused by: com.nimbusds.jose.JOSEException: Couldn't create AES/GCM/NoPadding cipher: Illegal key size at org.pac4j.jwt.config.encryption.SecretEncryptionConfigurationTests.testEncryptDecryptPlainJWT(SecretEncryptionConfigurationTests.java:76) Caused by: java.security.InvalidKeyException: Illegal key size at org.pac4j.jwt.config.encryption.SecretEncryptionConfigurationTests.testEncryptDecryptPlainJWT(SecretEncryptionConfigurationTests.java:76) [ERROR] testEncryptDecryptPlainJWTBytesSecret(org.pac4j.jwt.config.encryption.SecretEncryptionConfigurationTests) Time elapsed: 0.002 s <<< ERROR! org.pac4j.core.exception.TechnicalException: com.nimbusds.jose.JOSEException: Couldn't create AES/GCM/NoPadding cipher: Illegal key size at org.pac4j.jwt.config.encryption.SecretEncryptionConfigurationTests.testEncryptDecryptPlainJWTBytesSecret(SecretEncryptionConfigurationTests.java:110) Caused by: com.nimbusds.jose.JOSEException: Couldn't create AES/GCM/NoPadding cipher: Illegal key size at org.pac4j.jwt.config.encryption.SecretEncryptionConfigurationTests.testEncryptDecryptPlainJWTBytesSecret(SecretEncryptionConfigurationTests.java:110) Caused by: java.security.InvalidKeyException: Illegal key size at org.pac4j.jwt.config.encryption.SecretEncryptionConfigurationTests.testEncryptDecryptPlainJWTBytesSecret(SecretEncryptionConfigurationTests.java:110) [ERROR] testEncryptDecryptSignedJWT(org.pac4j.jwt.config.encryption.SecretEncryptionConfigurationTests) Time elapsed: 0.003 s <<< ERROR! org.pac4j.core.exception.TechnicalException: com.nimbusds.jose.JOSEException: Couldn't create AES/GCM/NoPadding cipher: Illegal key size at org.pac4j.jwt.config.encryption.SecretEncryptionConfigurationTests.testEncryptDecryptSignedJWT(SecretEncryptionConfigurationTests.java:62) Caused by: com.nimbusds.jose.JOSEException: Couldn't create AES/GCM/NoPadding cipher: Illegal key size at org.pac4j.jwt.config.encryption.SecretEncryptionConfigurationTests.testEncryptDecryptSignedJWT(SecretEncryptionConfigurationTests.java:62) Caused by: java.security.InvalidKeyException: Illegal key size at org.pac4j.jwt.config.encryption.SecretEncryptionConfigurationTests.testEncryptDecryptSignedJWT(SecretEncryptionConfigurationTests.java:62) [ERROR] testEncryptDecryptPlainJWTBase64Secret(org.pac4j.jwt.config.encryption.SecretEncryptionConfigurationTests) Time elapsed: 0.002 s <<< ERROR! org.pac4j.core.exception.TechnicalException: com.nimbusds.jose.JOSEException: Couldn't create AES/GCM/NoPadding cipher: Illegal key size at org.pac4j.jwt.config.encryption.SecretEncryptionConfigurationTests.testEncryptDecryptPlainJWTBase64Secret(SecretEncryptionConfigurationTests.java:93) Caused by: com.nimbusds.jose.JOSEException: Couldn't create AES/GCM/NoPadding cipher: Illegal key size at org.pac4j.jwt.config.encryption.SecretEncryptionConfigurationTests.testEncryptDecryptPlainJWTBase64Secret(SecretEncryptionConfigurationTests.java:93) Caused by: java.security.InvalidKeyException: Illegal key size at org.pac4j.jwt.config.encryption.SecretEncryptionConfigurationTests.testEncryptDecryptPlainJWTBase64Secret(SecretEncryptionConfigurationTests.java:93) [INFO] Running org.pac4j.jwt.config.signature.ECSignatureConfigurationTests [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 s - in org.pac4j.jwt.config.signature.ECSignatureConfigurationTests [INFO] Running org.pac4j.jwt.config.signature.RSASignatureConfigurationTests [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.513 s - in org.pac4j.jwt.config.signature.RSASignatureConfigurationTests [INFO] Running org.pac4j.jwt.config.signature.SecretSignatureConfigurationTests [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 s - in org.pac4j.jwt.config.signature.SecretSignatureConfigurationTests [INFO] Running org.pac4j.jwt.JwtTests pac4j test 12:08:40 [main] WARN o.p.j.c.a.JwtAuthenticator - No signature configurations have been defined: non-signed JWT will be accepted! pac4j test 12:08:40 [main] WARN o.p.j.c.a.JwtAuthenticator - No signature configurations have been defined: non-signed JWT will be accepted! pac4j test 12:08:40 [main] ERROR o.p.j.c.a.JwtAuthenticator - The JWT is expired: no profile is built pac4j test 12:08:40 [main] WARN o.p.j.c.a.JwtAuthenticator - No signature configurations have been defined: non-signed JWT will be accepted! pac4j test 12:08:40 [main] WARN o.p.j.c.a.JwtAuthenticator - No signature configurations have been defined: non-signed JWT will be accepted! [ERROR] Tests run: 22, Failures: 0, Errors: 10, Skipped: 0, Time elapsed: 0.361 s <<< FAILURE! - in org.pac4j.jwt.JwtTests [ERROR] testGenerateAuthenticateUselessSignatureConfiguration(org.pac4j.jwt.JwtTests) Time elapsed: 0.247 s <<< ERROR! org.pac4j.core.exception.TechnicalException: com.nimbusds.jose.JOSEException: Couldn't create AES/GCM/NoPadding cipher: Illegal key size at org.pac4j.jwt.JwtTests.testGenerateAuthenticateUselessSignatureConfiguration(JwtTests.java:196) Caused by: com.nimbusds.jose.JOSEException: Couldn't create AES/GCM/NoPadding cipher: Illegal key size at org.pac4j.jwt.JwtTests.testGenerateAuthenticateUselessSignatureConfiguration(JwtTests.java:196) Caused by: java.security.InvalidKeyException: Illegal key size at org.pac4j.jwt.JwtTests.testGenerateAuthenticateUselessSignatureConfiguration(JwtTests.java:196) [ERROR] testGenerateAuthenticate(org.pac4j.jwt.JwtTests) Time elapsed: 0.003 s <<< ERROR! org.pac4j.core.exception.TechnicalException: com.nimbusds.jose.JOSEException: Couldn't create AES/GCM/NoPadding cipher: Illegal key size at org.pac4j.jwt.JwtTests.testGenerateAuthenticate(JwtTests.java:130) Caused by: com.nimbusds.jose.JOSEException: Couldn't create AES/GCM/NoPadding cipher: Illegal key size at org.pac4j.jwt.JwtTests.testGenerateAuthenticate(JwtTests.java:130) Caused by: java.security.InvalidKeyException: Illegal key size at org.pac4j.jwt.JwtTests.testGenerateAuthenticate(JwtTests.java:130) [ERROR] testJwtGenerationA256CBC(org.pac4j.jwt.JwtTests) Time elapsed: 0.004 s <<< ERROR! org.pac4j.core.exception.TechnicalException: com.nimbusds.jose.JOSEException: Illegal key size at org.pac4j.jwt.JwtTests.testJwtGenerationA256CBC(JwtTests.java:309) Caused by: com.nimbusds.jose.JOSEException: Illegal key size at org.pac4j.jwt.JwtTests.testJwtGenerationA256CBC(JwtTests.java:309) Caused by: java.security.InvalidKeyException: Illegal key size at org.pac4j.jwt.JwtTests.testJwtGenerationA256CBC(JwtTests.java:309) [ERROR] testJwtGenerationA256GCM(org.pac4j.jwt.JwtTests) Time elapsed: 0.003 s <<< ERROR! org.pac4j.core.exception.TechnicalException: com.nimbusds.jose.JOSEException: Couldn't create AES/GCM/NoPadding cipher: Illegal key size at org.pac4j.jwt.JwtTests.testJwtGenerationA256GCM(JwtTests.java:321) Caused by: com.nimbusds.jose.JOSEException: Couldn't create AES/GCM/NoPadding cipher: Illegal key size at org.pac4j.jwt.JwtTests.testJwtGenerationA256GCM(JwtTests.java:321) Caused by: java.security.InvalidKeyException: Illegal key size at org.pac4j.jwt.JwtTests.testJwtGenerationA256GCM(JwtTests.java:321) [ERROR] testGenericJwt(org.pac4j.jwt.JwtTests) Time elapsed: 0.001 s <<< ERROR! org.pac4j.core.exception.CredentialsException: No encryption algorithm found for JWT: eyJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2R0NNIiwiYWxnIjoiZGlyIn0..NTvhJXwZ_sN4zYBK.exyLJWkOclCVcffz58CE-3XWWV24aYyGWR5HVrfm4HLQi1xgmwglLlEIiFlOSTOSZ_LeAwl2Z3VFh-5EidocjwGkAPGQA_4_KCLbK8Im7M25ZZvDzCJ1kKN1JrDIIrBWCcuI4Mbw0O_YGb8TfIECPkpeG7wEgBG30sb1kH-F_vg9yjYfB4MiJCSFmY7cRqN9-9O23tz3wYv3b-eJh5ACr2CGSVNj2KcMsOMJ6bbALgz6pzQTIWk_fhcE9QSfaSY7RuZ8cRTV-UTjYgZk1gbd1LskgchS.ijMQmfPlObJv7oaPG8LCEg at org.pac4j.jwt.JwtTests.testGenericJwt(JwtTests.java:54) [ERROR] testDoubleGenerateAuthenticate(org.pac4j.jwt.JwtTests) Time elapsed: 0.002 s <<< ERROR! org.pac4j.core.exception.TechnicalException: com.nimbusds.jose.JOSEException: Couldn't create AES/GCM/NoPadding cipher: Illegal key size at org.pac4j.jwt.JwtTests.testDoubleGenerateAuthenticate(JwtTests.java:139) Caused by: com.nimbusds.jose.JOSEException: Couldn't create AES/GCM/NoPadding cipher: Illegal key size at org.pac4j.jwt.JwtTests.testDoubleGenerateAuthenticate(JwtTests.java:139) Caused by: java.security.InvalidKeyException: Illegal key size at org.pac4j.jwt.JwtTests.testDoubleGenerateAuthenticate(JwtTests.java:139) [ERROR] testGenerateAuthenticateDifferentSecrets(org.pac4j.jwt.JwtTests) Time elapsed: 0.005 s <<< ERROR! org.pac4j.core.exception.TechnicalException: com.nimbusds.jose.JOSEException: Couldn't create AES/GCM/NoPadding cipher: Illegal key size at org.pac4j.jwt.JwtTests.testGenerateAuthenticateDifferentSecrets(JwtTests.java:185) Caused by: com.nimbusds.jose.JOSEException: Couldn't create AES/GCM/NoPadding cipher: Illegal key size at org.pac4j.jwt.JwtTests.testGenerateAuthenticateDifferentSecrets(JwtTests.java:185) Caused by: java.security.InvalidKeyException: Illegal key size at org.pac4j.jwt.JwtTests.testGenerateAuthenticateDifferentSecrets(JwtTests.java:185) [ERROR] testGenerateAuthenticateDifferentEncryptionConfiguration(org.pac4j.jwt.JwtTests) Time elapsed: 0.002 s <<< ERROR! org.pac4j.core.exception.TechnicalException: com.nimbusds.jose.JOSEException: Couldn't create AES/GCM/NoPadding cipher: Illegal key size at org.pac4j.jwt.JwtTests.testGenerateAuthenticateDifferentEncryptionConfiguration(JwtTests.java:231) Caused by: com.nimbusds.jose.JOSEException: Couldn't create AES/GCM/NoPadding cipher: Illegal key size at org.pac4j.jwt.JwtTests.testGenerateAuthenticateDifferentEncryptionConfiguration(JwtTests.java:231) Caused by: java.security.InvalidKeyException: Illegal key size at org.pac4j.jwt.JwtTests.testGenerateAuthenticateDifferentEncryptionConfiguration(JwtTests.java:231) [ERROR] testGenerateAuthenticateNotSigned(org.pac4j.jwt.JwtTests) Time elapsed: 0.002 s <<< ERROR! org.pac4j.core.exception.TechnicalException: com.nimbusds.jose.JOSEException: Couldn't create AES/GCM/NoPadding cipher: Illegal key size at org.pac4j.jwt.JwtTests.testGenerateAuthenticateNotSigned(JwtTests.java:251) Caused by: com.nimbusds.jose.JOSEException: Couldn't create AES/GCM/NoPadding cipher: Illegal key size at org.pac4j.jwt.JwtTests.testGenerateAuthenticateNotSigned(JwtTests.java:251) Caused by: java.security.InvalidKeyException: Illegal key size at org.pac4j.jwt.JwtTests.testGenerateAuthenticateNotSigned(JwtTests.java:251) [ERROR] testGenerateAuthenticateClaims(org.pac4j.jwt.JwtTests) Time elapsed: 0 s <<< ERROR! org.pac4j.core.exception.TechnicalException: com.nimbusds.jose.JOSEException: Couldn't create AES/GCM/NoPadding cipher: Illegal key size at org.pac4j.jwt.JwtTests.testGenerateAuthenticateClaims(JwtTests.java:156) Caused by: com.nimbusds.jose.JOSEException: Couldn't create AES/GCM/NoPadding cipher: Illegal key size at org.pac4j.jwt.JwtTests.testGenerateAuthenticateClaims(JwtTests.java:156) Caused by: java.security.InvalidKeyException: Illegal key size at org.pac4j.jwt.JwtTests.testGenerateAuthenticateClaims(JwtTests.java:156) [INFO] [INFO] Results: [INFO] [ERROR] Errors: [ERROR] JwtTests.testDoubleGenerateAuthenticate:139 ╗ Technical com.nimbusds.jose.JOSE... [ERROR] JwtTests.testGenerateAuthenticate:130 ╗ Technical com.nimbusds.jose.JOSEExcept... [ERROR] JwtTests.testGenerateAuthenticateClaims:156 ╗ Technical com.nimbusds.jose.JOSE... [ERROR] JwtTests.testGenerateAuthenticateDifferentEncryptionConfiguration:231 ╗ Technical [ERROR] JwtTests.testGenerateAuthenticateDifferentSecrets:185 ╗ Technical com.nimbusds... [ERROR] JwtTests.testGenerateAuthenticateNotSigned:251 ╗ Technical com.nimbusds.jose.J... [ERROR] JwtTests.testGenerateAuthenticateUselessSignatureConfiguration:196 ╗ Technical [ERROR] JwtTests.testGenericJwt:54 ╗ Credentials No encryption algorithm found for JWT... [ERROR] JwtTests.testJwtGenerationA256CBC:309 ╗ Technical com.nimbusds.jose.JOSEExcept... [ERROR] JwtTests.testJwtGenerationA256GCM:321 ╗ Technical com.nimbusds.jose.JOSEExcept... [ERROR] ECEncryptionConfigurationTests.testDecryptMissingKey:107 ╗ Technical com.nimbu... [ERROR] ECEncryptionConfigurationTests.testEncryptDecryptPlainJWT:83 ╗ Technical com.n... [ERROR] ECEncryptionConfigurationTests.testEncryptDecryptSignedJWT:69 ╗ Technical com.... [ERROR] RSAEncryptionConfigurationTests.testEncryptDecryptSignedJWT:69 ╗ Technical com... [ERROR] SecretEncryptionConfigurationTests.testEncryptDecryptPlainJWT:76 ╗ Technical c... [ERROR] SecretEncryptionConfigurationTests.testEncryptDecryptPlainJWTBase64Secret:93 ╗ Technical [ERROR] SecretEncryptionConfigurationTests.testEncryptDecryptPlainJWTBytesSecret:110 ╗ Technical [ERROR] SecretEncryptionConfigurationTests.testEncryptDecryptSignedJWT:62 ╗ Technical ... [INFO] [ERROR] Tests run: 65, Failures: 0, Errors: 18, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] pac4j .............................................. SUCCESS [ 6.226 s] [INFO] pac4j core ......................................... SUCCESS [01:04 min] [INFO] pac4j for CAS protocol ............................. SUCCESS [ 16.402 s] [INFO] pac4j for SAML protocol ............................ SUCCESS [ 32.618 s] [INFO] pac4j for OAuth protocol ........................... SUCCESS [ 31.101 s] [INFO] pac4j for OpenID Connect protocol .................. SUCCESS [ 20.405 s] [INFO] pac4j for LDAP ..................................... SUCCESS [ 13.808 s] [INFO] pac4j for HTTP protocol ............................ SUCCESS [ 19.672 s] [INFO] pac4j for relational DB ............................ SUCCESS [ 13.292 s] [INFO] pac4j configuration ................................ SUCCESS [ 25.762 s] [INFO] pac4j for OpenId protocol .......................... SUCCESS [ 11.030 s] [INFO] pac4j for GAE UserService mechanism ................ SUCCESS [ 15.023 s] [INFO] pac4j for JWT ...................................... FAILURE [ 23.058 s] [INFO] pac4j for MongoDB .................................. SKIPPED [INFO] pac4j for CouchDB .................................. SKIPPED [INFO] pac4j for Kerberos ................................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 04:55 min [INFO] Finished at: 2018-01-30T12:08:41+01:00 [INFO] Final Memory: 122M/713M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.20.1:test (default-test) on project pac4j-jwt: There are test failures. [ERROR] [ERROR] Please refer to C:\Users\Neha Gupta\Downloads\pac4j-master\pac4j-master\pac4j-jwt\target\surefire-reports for the individual test results. [ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream. [ERROR] -> [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 -rf :pac4j-jwt