From 928bd39212009472d64910146132105a1bbfcba0 Mon Sep 17 00:00:00 2001 From: stianst Date: Wed, 1 Aug 2018 08:22:22 +0200 Subject: [PATCH] KEYCLOAK-7972 Fixed maven repo for RH-SSO CD --- securing_apps/topics/oidc/java/fuse/install-feature.adoc | 6 +++--- securing_apps/topics/oidc/java/fuse7/install-feature.adoc | 6 +++--- topics/templates/document-attributes-product.adoc | 2 ++ 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/securing_apps/topics/oidc/java/fuse/install-feature.adoc b/securing_apps/topics/oidc/java/fuse/install-feature.adoc index dfe910f2f6..9a4e07bd19 100644 --- a/securing_apps/topics/oidc/java/fuse/install-feature.adoc +++ b/securing_apps/topics/oidc/java/fuse/install-feature.adoc @@ -15,12 +15,12 @@ ifeval::[{project_product}==true] For {project_name} you first need to configure a proper Maven repository, so you can install the artifacts. For more information see the https://access.redhat.com/maven-repository[JBoss Enterprise Maven repository] page. -Assuming the Maven repository is https://maven.repository.redhat.com/ga/, add the following to the `$FUSE_HOME/etc/org.ops4j.pax.url.mvn.cfg` file and add the repository to the list of supported repositories. For example: +Assuming the Maven repository is {maven_repository}, add the following to the `$FUSE_HOME/etc/org.ops4j.pax.url.mvn.cfg` file and add the repository to the list of supported repositories. For example: -[source] +[source,subs="attributes"] ---- org.ops4j.pax.url.mvn.repositories= \ - https://maven.repository.redhat.com/ga@id=redhat.product.repo + {maven_repository}@id=redhat.product.repo http://repo1.maven.org/maven2@id=maven.central.repo, \ ... ---- diff --git a/securing_apps/topics/oidc/java/fuse7/install-feature.adoc b/securing_apps/topics/oidc/java/fuse7/install-feature.adoc index fcee141bee..9f589e1583 100644 --- a/securing_apps/topics/oidc/java/fuse7/install-feature.adoc +++ b/securing_apps/topics/oidc/java/fuse7/install-feature.adoc @@ -15,12 +15,12 @@ ifeval::[{project_product}==true] For {project_name} you first need to configure a proper Maven repository, so you can install the artifacts. For more information see the https://access.redhat.com/maven-repository[JBoss Enterprise Maven repository] page. -Assuming the Maven repository is https://maven.repository.redhat.com/ga/, add the following to the `$FUSE_HOME/etc/org.ops4j.pax.url.mvn.cfg` file and add the repository to the list of supported repositories. For example: +Assuming the Maven repository is {maven_repository}, add the following to the `$FUSE_HOME/etc/org.ops4j.pax.url.mvn.cfg` file and add the repository to the list of supported repositories. For example: -[source] +[source,subs="attributes"] ---- config:edit org.ops4j.pax.url.mvn -config:property-append org.ops4j.pax.url.mvn.repositories ,https://maven.repository.redhat.com/ga@id=redhat.product.repo +config:property-append org.ops4j.pax.url.mvn.repositories ,{maven_repository}@id=redhat.product.repo config:update feature:repo-refresh diff --git a/topics/templates/document-attributes-product.adoc b/topics/templates/document-attributes-product.adoc index 910baf21cc..aada4e7491 100644 --- a/topics/templates/document-attributes-product.adoc +++ b/topics/templates/document-attributes-product.adoc @@ -12,12 +12,14 @@ ifeval::[{project_product_cd}==false] :project_name_full: Red Hat Single Sign-On :project_versionDoc: 7.3 :project_doc_base_url: https://access.redhat.com/documentation/en-us/red_hat_single_sign-on/{project_versionDoc}/html-single +:maven_repository: https://maven.repository.redhat.com/ga/ endif::[] ifeval::[{project_product_cd}==true] :project_name_full: Red Hat Single Sign-On Continuous Delivery :project_versionDoc: 1 :project_doc_base_url: https://access.redhat.com/documentation/en-us/red_hat_single_sign-on_continuous_delivery/{project_versionDoc}/html-single +:maven_repository: https://maven.repository.redhat.com/earlyaccess/ endif::[] :project_dirref: RHSSO_HOME