From 59c7cfcc97d76cd52796481acb37d28473fd21e2 Mon Sep 17 00:00:00 2001 From: Stian Thorgersen Date: Thu, 21 Jan 2016 09:02:24 +0100 Subject: [PATCH] KEYCLOAK-2312 Move client-registration libs into integration --- client-registration/pom.xml | 19 ------------------- integration/admin-client/pom.xml | 3 +-- .../client-registration-cli}/pom.xml | 0 .../cli/ClientRegistrationCLI.java | 0 .../client/registration/cli/Context.java | 0 .../cli/commands/CreateCommand.java | 0 .../cli/commands/ExitCommand.java | 0 .../cli/commands/SetupCommand.java | 0 .../client-registration}/pom.xml | 2 +- .../keycloak/client/registration/Auth.java | 0 .../registration/ClientRegistration.java | 0 .../ClientRegistrationException.java | 0 .../ClientRepresentationMixIn.java | 0 .../registration/HttpErrorException.java | 0 .../client/registration/HttpUtil.java | 0 .../OIDCClientRepresentationMixIn.java | 0 integration/pom.xml | 3 ++- pom.xml | 1 - 18 files changed, 4 insertions(+), 24 deletions(-) delete mode 100755 client-registration/pom.xml rename {client-registration/cli => integration/client-registration-cli}/pom.xml (100%) rename {client-registration/cli => integration/client-registration-cli}/src/main/java/org/keycloak/client/registration/cli/ClientRegistrationCLI.java (100%) rename {client-registration/cli => integration/client-registration-cli}/src/main/java/org/keycloak/client/registration/cli/Context.java (100%) rename {client-registration/cli => integration/client-registration-cli}/src/main/java/org/keycloak/client/registration/cli/commands/CreateCommand.java (100%) rename {client-registration/cli => integration/client-registration-cli}/src/main/java/org/keycloak/client/registration/cli/commands/ExitCommand.java (100%) rename {client-registration/cli => integration/client-registration-cli}/src/main/java/org/keycloak/client/registration/cli/commands/SetupCommand.java (100%) rename {client-registration/api => integration/client-registration}/pom.xml (92%) rename {client-registration/api => integration/client-registration}/src/main/java/org/keycloak/client/registration/Auth.java (100%) rename {client-registration/api => integration/client-registration}/src/main/java/org/keycloak/client/registration/ClientRegistration.java (100%) rename {client-registration/api => integration/client-registration}/src/main/java/org/keycloak/client/registration/ClientRegistrationException.java (100%) rename {client-registration/api => integration/client-registration}/src/main/java/org/keycloak/client/registration/ClientRepresentationMixIn.java (100%) rename {client-registration/api => integration/client-registration}/src/main/java/org/keycloak/client/registration/HttpErrorException.java (100%) rename {client-registration/api => integration/client-registration}/src/main/java/org/keycloak/client/registration/HttpUtil.java (100%) rename {client-registration/api => integration/client-registration}/src/main/java/org/keycloak/client/registration/OIDCClientRepresentationMixIn.java (100%) diff --git a/client-registration/pom.xml b/client-registration/pom.xml deleted file mode 100755 index a6ce18e6c8..0000000000 --- a/client-registration/pom.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - keycloak-parent - org.keycloak - 1.9.0.CR1-SNAPSHOT - - - Keycloak Client Registration Parent - - 4.0.0 - keycloak-client-registration-parent - pom - - - api - - - diff --git a/integration/admin-client/pom.xml b/integration/admin-client/pom.xml index 6e07121d25..8597e8e403 100755 --- a/integration/admin-client/pom.xml +++ b/integration/admin-client/pom.xml @@ -3,10 +3,9 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - keycloak-parent + keycloak-integration-parent org.keycloak 1.9.0.CR1-SNAPSHOT - ../../pom.xml 4.0.0 diff --git a/client-registration/cli/pom.xml b/integration/client-registration-cli/pom.xml similarity index 100% rename from client-registration/cli/pom.xml rename to integration/client-registration-cli/pom.xml diff --git a/client-registration/cli/src/main/java/org/keycloak/client/registration/cli/ClientRegistrationCLI.java b/integration/client-registration-cli/src/main/java/org/keycloak/client/registration/cli/ClientRegistrationCLI.java similarity index 100% rename from client-registration/cli/src/main/java/org/keycloak/client/registration/cli/ClientRegistrationCLI.java rename to integration/client-registration-cli/src/main/java/org/keycloak/client/registration/cli/ClientRegistrationCLI.java diff --git a/client-registration/cli/src/main/java/org/keycloak/client/registration/cli/Context.java b/integration/client-registration-cli/src/main/java/org/keycloak/client/registration/cli/Context.java similarity index 100% rename from client-registration/cli/src/main/java/org/keycloak/client/registration/cli/Context.java rename to integration/client-registration-cli/src/main/java/org/keycloak/client/registration/cli/Context.java diff --git a/client-registration/cli/src/main/java/org/keycloak/client/registration/cli/commands/CreateCommand.java b/integration/client-registration-cli/src/main/java/org/keycloak/client/registration/cli/commands/CreateCommand.java similarity index 100% rename from client-registration/cli/src/main/java/org/keycloak/client/registration/cli/commands/CreateCommand.java rename to integration/client-registration-cli/src/main/java/org/keycloak/client/registration/cli/commands/CreateCommand.java diff --git a/client-registration/cli/src/main/java/org/keycloak/client/registration/cli/commands/ExitCommand.java b/integration/client-registration-cli/src/main/java/org/keycloak/client/registration/cli/commands/ExitCommand.java similarity index 100% rename from client-registration/cli/src/main/java/org/keycloak/client/registration/cli/commands/ExitCommand.java rename to integration/client-registration-cli/src/main/java/org/keycloak/client/registration/cli/commands/ExitCommand.java diff --git a/client-registration/cli/src/main/java/org/keycloak/client/registration/cli/commands/SetupCommand.java b/integration/client-registration-cli/src/main/java/org/keycloak/client/registration/cli/commands/SetupCommand.java similarity index 100% rename from client-registration/cli/src/main/java/org/keycloak/client/registration/cli/commands/SetupCommand.java rename to integration/client-registration-cli/src/main/java/org/keycloak/client/registration/cli/commands/SetupCommand.java diff --git a/client-registration/api/pom.xml b/integration/client-registration/pom.xml similarity index 92% rename from client-registration/api/pom.xml rename to integration/client-registration/pom.xml index da5f4077e5..1e7757cef5 100755 --- a/client-registration/api/pom.xml +++ b/integration/client-registration/pom.xml @@ -2,7 +2,7 @@ - keycloak-client-registration-parent + keycloak-integration-parent org.keycloak 1.9.0.CR1-SNAPSHOT diff --git a/client-registration/api/src/main/java/org/keycloak/client/registration/Auth.java b/integration/client-registration/src/main/java/org/keycloak/client/registration/Auth.java similarity index 100% rename from client-registration/api/src/main/java/org/keycloak/client/registration/Auth.java rename to integration/client-registration/src/main/java/org/keycloak/client/registration/Auth.java diff --git a/client-registration/api/src/main/java/org/keycloak/client/registration/ClientRegistration.java b/integration/client-registration/src/main/java/org/keycloak/client/registration/ClientRegistration.java similarity index 100% rename from client-registration/api/src/main/java/org/keycloak/client/registration/ClientRegistration.java rename to integration/client-registration/src/main/java/org/keycloak/client/registration/ClientRegistration.java diff --git a/client-registration/api/src/main/java/org/keycloak/client/registration/ClientRegistrationException.java b/integration/client-registration/src/main/java/org/keycloak/client/registration/ClientRegistrationException.java similarity index 100% rename from client-registration/api/src/main/java/org/keycloak/client/registration/ClientRegistrationException.java rename to integration/client-registration/src/main/java/org/keycloak/client/registration/ClientRegistrationException.java diff --git a/client-registration/api/src/main/java/org/keycloak/client/registration/ClientRepresentationMixIn.java b/integration/client-registration/src/main/java/org/keycloak/client/registration/ClientRepresentationMixIn.java similarity index 100% rename from client-registration/api/src/main/java/org/keycloak/client/registration/ClientRepresentationMixIn.java rename to integration/client-registration/src/main/java/org/keycloak/client/registration/ClientRepresentationMixIn.java diff --git a/client-registration/api/src/main/java/org/keycloak/client/registration/HttpErrorException.java b/integration/client-registration/src/main/java/org/keycloak/client/registration/HttpErrorException.java similarity index 100% rename from client-registration/api/src/main/java/org/keycloak/client/registration/HttpErrorException.java rename to integration/client-registration/src/main/java/org/keycloak/client/registration/HttpErrorException.java diff --git a/client-registration/api/src/main/java/org/keycloak/client/registration/HttpUtil.java b/integration/client-registration/src/main/java/org/keycloak/client/registration/HttpUtil.java similarity index 100% rename from client-registration/api/src/main/java/org/keycloak/client/registration/HttpUtil.java rename to integration/client-registration/src/main/java/org/keycloak/client/registration/HttpUtil.java diff --git a/client-registration/api/src/main/java/org/keycloak/client/registration/OIDCClientRepresentationMixIn.java b/integration/client-registration/src/main/java/org/keycloak/client/registration/OIDCClientRepresentationMixIn.java similarity index 100% rename from client-registration/api/src/main/java/org/keycloak/client/registration/OIDCClientRepresentationMixIn.java rename to integration/client-registration/src/main/java/org/keycloak/client/registration/OIDCClientRepresentationMixIn.java diff --git a/integration/pom.xml b/integration/pom.xml index 0b4145c061..4bb2451a0f 100755 --- a/integration/pom.xml +++ b/integration/pom.xml @@ -10,10 +10,11 @@ 4.0.0 - keycloak-integration-pom + keycloak-integration-parent pom admin-client + client-registration diff --git a/pom.xml b/pom.xml index 9c7e8877d1..54fa4f95bb 100755 --- a/pom.xml +++ b/pom.xml @@ -139,7 +139,6 @@ common core - client-registration dependencies server-spi saml