KEYCLOAK-7972 Fixed maven repo for RH-SSO CD

This commit is contained in:
stianst 2018-08-01 08:22:22 +02:00 committed by Stian Thorgersen
parent cab1353398
commit 928bd39212
3 changed files with 8 additions and 6 deletions

View file

@ -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 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. 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= \ 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, \ http://repo1.maven.org/maven2@id=maven.central.repo, \
... ...
---- ----

View file

@ -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 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. 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: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 config:update
feature:repo-refresh feature:repo-refresh

View file

@ -12,12 +12,14 @@ ifeval::[{project_product_cd}==false]
:project_name_full: Red Hat Single Sign-On :project_name_full: Red Hat Single Sign-On
:project_versionDoc: 7.3 :project_versionDoc: 7.3
:project_doc_base_url: https://access.redhat.com/documentation/en-us/red_hat_single_sign-on/{project_versionDoc}/html-single :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::[] endif::[]
ifeval::[{project_product_cd}==true] ifeval::[{project_product_cd}==true]
:project_name_full: Red Hat Single Sign-On Continuous Delivery :project_name_full: Red Hat Single Sign-On Continuous Delivery
:project_versionDoc: 1 :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 :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::[] endif::[]
:project_dirref: RHSSO_HOME :project_dirref: RHSSO_HOME