Skip to content

Instantly share code, notes, and snippets.

Created July 23, 2017 10:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/adb0d9699a5012b2e9f65e7ed22a7c91 to your computer and use it in GitHub Desktop.
Save anonymous/adb0d9699a5012b2e9f65e7ed22a7c91 to your computer and use it in GitHub Desktop.
mvn clean install -Pwildfly-managed -Denforcer.skip=true
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Keycloak Quickstart: service-jee-jaxrs 3.2.0.Final
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ keycloak-service-jee-jaxrs ---
[INFO] Deleting /home/viggo/workspace/keycloak-quickstarts/service-jee-jaxrs/target
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-files-exist) @ keycloak-service-jee-jaxrs ---
[INFO] Skipping Rule Enforcement.
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ keycloak-service-jee-jaxrs ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/viggo/workspace/keycloak-quickstarts/service-jee-jaxrs/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ keycloak-service-jee-jaxrs ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 3 source files to /home/viggo/workspace/keycloak-quickstarts/service-jee-jaxrs/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ keycloak-service-jee-jaxrs ---
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ keycloak-service-jee-jaxrs ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 1 source file to /home/viggo/workspace/keycloak-quickstarts/service-jee-jaxrs/target/test-classes
[INFO]
[INFO] --- maven-dependency-plugin:2.8:unpack (unpack-wildfly-and-oidc-adapter) @ keycloak-service-jee-jaxrs ---
[INFO] Configured Artifact: org.wildfly:wildfly-dist:10.1.0.Final:zip
[INFO] Configured Artifact: org.keycloak:keycloak-wildfly-adapter-dist:3.2.0.Final:zip
[INFO] Configured Artifact: org.keycloak:keycloak-saml-wildfly-adapter-dist:3.2.0.Final:zip
[INFO] Unpacking /home/viggo/.m2/repository/org/wildfly/wildfly-dist/10.1.0.Final/wildfly-dist-10.1.0.Final.zip to /home/viggo/workspace/keycloak-quickstarts/service-jee-jaxrs/target with includes "" and excludes ""
[INFO] Unpacking /home/viggo/.m2/repository/org/keycloak/keycloak-wildfly-adapter-dist/3.2.0.Final/keycloak-wildfly-adapter-dist-3.2.0.Final.zip to /home/viggo/workspace/keycloak-quickstarts/service-jee-jaxrs/target/wildfly-10.1.0.Final with includes "" and excludes ""
[INFO] Unpacking /home/viggo/.m2/repository/org/keycloak/keycloak-saml-wildfly-adapter-dist/3.2.0.Final/keycloak-saml-wildfly-adapter-dist-3.2.0.Final.zip to /home/viggo/workspace/keycloak-quickstarts/service-jee-jaxrs/target/wildfly-10.1.0.Final with includes "" and excludes ""
[INFO]
[INFO] --- exec-maven-plugin:1.6.0:exec (install-adapters) @ keycloak-service-jee-jaxrs ---
{"outcome" => "success"}
{"outcome" => "success"}
{
"outcome" => "success",
"result" => [("keycloak" => "1.1.0")]
}
{"outcome" => "success"}
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ keycloak-service-jee-jaxrs ---
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.keycloak.quickstart.jaxrs.ArquillianServiceJeeJaxrsTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.429 sec <<< FAILURE! - in org.keycloak.quickstart.jaxrs.ArquillianServiceJeeJaxrsTest
org.keycloak.quickstart.jaxrs.ArquillianServiceJeeJaxrsTest Time elapsed: 0.428 sec <<< ERROR!
org.jboss.arquillian.container.spi.client.container.LifecycleException:
The port 9990 is already in use. It means that either the server might be already running or there is another process using port 9990.
Managed containers do not support connecting to running server instances due to the possible harmful effect of connecting to the wrong server.
Please stop server (or another process) before running, change to another type of container (e.g. remote) or use jboss.socket.binding.port-offset variable to change the default port.
To disable this check and allow Arquillian to connect to a running server, set allowConnectingToRunningServer to true in the container configuration
Results :
Tests in error:
ArquillianServiceJeeJaxrsTest.org.keycloak.quickstart.jaxrs.ArquillianServiceJeeJaxrsTest » Lifecycle
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.932 s
[INFO] Finished at: 2017-07-23T12:13:06+02:00
[INFO] Final Memory: 31M/388M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project keycloak-service-jee-jaxrs: There are test failures.
[ERROR]
[ERROR] Please refer to /home/viggo/workspace/keycloak-quickstarts/service-jee-jaxrs/target/surefire-reports for the individual test results.
[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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment