From 642aeeb937ffeecd88602efcd25f5c29b0a9c7ea Mon Sep 17 00:00:00 2001 From: Stian Thorgersen Date: Wed, 29 Mar 2017 11:39:40 +0200 Subject: [PATCH] KEYCLOAK-4615 Build demo-dist, example-dist and proxy-dist only in jboss-release profile --- distribution/demo-dist/pom.xml | 386 +++++++++++++++-------------- distribution/examples-dist/pom.xml | 148 +++++------ distribution/pom.xml | 15 +- distribution/proxy-dist/pom.xml | 88 ++++--- 4 files changed, 327 insertions(+), 310 deletions(-) diff --git a/distribution/demo-dist/pom.xml b/distribution/demo-dist/pom.xml index 84b2ed5b05..dbe33ccf77 100755 --- a/distribution/demo-dist/pom.xml +++ b/distribution/demo-dist/pom.xml @@ -29,199 +29,209 @@ Keycloak Demo Distribution - - - org.keycloak - keycloak-server-overlay - zip - - - org.keycloak - keycloak-wildfly-adapter-dist - zip - - - org.keycloak - keycloak-saml-wildfly-adapter-dist - zip - - - org.keycloak - keycloak-examples-dist - zip - - + + + community + + + !product + + + + + org.keycloak + keycloak-server-overlay + zip + + + org.keycloak + keycloak-wildfly-adapter-dist + zip + + + org.keycloak + keycloak-saml-wildfly-adapter-dist + zip + + + org.keycloak + keycloak-examples-dist + zip + + - - keycloak-demo-${project.version} - - - org.apache.maven.plugins - maven-deploy-plugin - - true - - - - org.apache.maven.plugins - maven-dependency-plugin - - - unpack-wildfly - prepare-package - - unpack - + + keycloak-demo-${project.version} + + + org.apache.maven.plugins + maven-deploy-plugin - - - org.wildfly - wildfly-dist - zip - ${project.build.directory}/unpacked - - + true - - - unpack-server - prepare-package - - unpack - - - - - org.keycloak - keycloak-server-overlay - zip - ${project.build.directory}/unpacked/keycloak-server-overlay-${project.version} - - - - - - unpack-adapter - prepare-package - - unpack - - - - - org.keycloak - keycloak-wildfly-adapter-dist - zip - ${project.build.directory}/unpacked/keycloak-wildfly-adapter-${project.version} - - - - - - unpack-saml-adapter - prepare-package - - unpack - - - - - org.keycloak - keycloak-saml-wildfly-adapter-dist - zip - ${project.build.directory}/unpacked/keycloak-saml-wildfly-adapter-${project.version} - - - - - - unpack-examples - prepare-package - - unpack - - - - - org.keycloak - keycloak-examples-dist - zip - ${project.build.directory}/unpacked - - - - - - unpack - compile - - unpack - - - - - org.keycloak - keycloak-wildfly-server-subsystem - ${project.version} - jar - default-config/*.xml - - - - - - + + + org.apache.maven.plugins + maven-dependency-plugin + + + unpack-wildfly + prepare-package + + unpack + + + + + org.wildfly + wildfly-dist + zip + ${project.build.directory}/unpacked + + + + + + unpack-server + prepare-package + + unpack + + + + + org.keycloak + keycloak-server-overlay + zip + ${project.build.directory}/unpacked/keycloak-server-overlay-${project.version} + + + + + + unpack-adapter + prepare-package + + unpack + + + + + org.keycloak + keycloak-wildfly-adapter-dist + zip + ${project.build.directory}/unpacked/keycloak-wildfly-adapter-${project.version} + + + + + + unpack-saml-adapter + prepare-package + + unpack + + + + + org.keycloak + keycloak-saml-wildfly-adapter-dist + zip + ${project.build.directory}/unpacked/keycloak-saml-wildfly-adapter-${project.version} + + + + + + unpack-examples + prepare-package + + unpack + + + + + org.keycloak + keycloak-examples-dist + zip + ${project.build.directory}/unpacked + + + + + + unpack + compile + + unpack + + + + + org.keycloak + keycloak-wildfly-server-subsystem + ${project.version} + jar + default-config/*.xml + + + + + + - - org.codehaus.mojo - xml-maven-plugin - 1.0 - - - generate-resources - package - - transform - - - - - ${project.build.directory}/unpacked/wildfly-${wildfly.version}/standalone/configuration - src/main/xslt/standalone.xsl - - standalone.xml - - ${project.build.directory}/unpacked/ - - - - - - + + org.codehaus.mojo + xml-maven-plugin + 1.0 + + + generate-resources + package + + transform + + + + + ${project.build.directory}/unpacked/wildfly-${wildfly.version}/standalone/configuration + src/main/xslt/standalone.xsl + + standalone.xml + + ${project.build.directory}/unpacked/ + + + + + + - - maven-assembly-plugin - - - assemble - package - - single - - - - assembly.xml - - target - target/assembly/work - false - gnu - - - - + + maven-assembly-plugin + + + assemble + package + + single + + + + assembly.xml + + target + target/assembly/work + false + gnu + + + + - - + + + + diff --git a/distribution/examples-dist/pom.xml b/distribution/examples-dist/pom.xml index 6219adc916..a57ea243b2 100755 --- a/distribution/examples-dist/pom.xml +++ b/distribution/examples-dist/pom.xml @@ -29,77 +29,85 @@ Keycloak Examples Distribution - - - - keycloak-examples-${project.version} - - - org.apache.maven.plugins - maven-deploy-plugin - - true - - - - org.apache.maven.plugins - maven-antrun-plugin - false - - - build-example - - run - - compile + + + community + + + !product + + + + keycloak-examples-${project.version} + + + org.apache.maven.plugins + maven-deploy-plugin - - - - - + true - - - - - ant-contrib - ant-contrib - 1.0b3 - - - ant - ant - - - - - - - maven-assembly-plugin - - - assemble - package - - single - - - - assembly.xml - - - target - - - target/assembly/work - - false - - - - - - + + + org.apache.maven.plugins + maven-antrun-plugin + false + + + build-example + + run + + compile + + + + + + + + + + + + ant-contrib + ant-contrib + 1.0b3 + + + ant + ant + + + + + + + maven-assembly-plugin + + + assemble + package + + single + + + + assembly.xml + + + target + + + target/assembly/work + + false + + + + + + + + diff --git a/distribution/pom.xml b/distribution/pom.xml index 9da333835d..a670f2700f 100755 --- a/distribution/pom.xml +++ b/distribution/pom.xml @@ -41,26 +41,15 @@ - community - - - !product - - + jboss-release api-docs-dist + downloads demo-dist examples-dist proxy-dist - - - jboss-release - - downloads - - diff --git a/distribution/proxy-dist/pom.xml b/distribution/proxy-dist/pom.xml index 93fcbfa3b6..35f09f6937 100755 --- a/distribution/proxy-dist/pom.xml +++ b/distribution/proxy-dist/pom.xml @@ -29,45 +29,55 @@ Proxy Distro - - - org.keycloak - launcher - - - org.keycloak - keycloak-proxy-server - - + + + community + + + !product + + + + + org.keycloak + launcher + + + org.keycloak + keycloak-proxy-server + + - - keycloak-proxy-${project.version} - - - maven-assembly-plugin - - - assemble - package - - single - - - - assembly.xml - - - target - - - target/assembly/work - - false - - - - - - + + keycloak-proxy-${project.version} + + + maven-assembly-plugin + + + assemble + package + + single + + + + assembly.xml + + + target + + + target/assembly/work + + false + + + + + + + +