From d46399724497c2c08614d9500f4235c8b284f706 Mon Sep 17 00:00:00 2001 From: Timothy Stone Date: Sat, 28 Nov 2020 12:23:33 -0500 Subject: [PATCH] Provide example of multiple repositories GitHub Maven Packages may require multiple repositories where many different packages are used or consumed. This is a limitation of the group/organization package resolution. --- ...ache-maven-for-use-with-github-packages.md | 27 +++++++------------ ...pache-maven-snapshot-versions-supported.md | 2 ++ 2 files changed, 11 insertions(+), 18 deletions(-) diff --git a/content/packages/using-github-packages-with-your-projects-ecosystem/configuring-apache-maven-for-use-with-github-packages.md b/content/packages/using-github-packages-with-your-projects-ecosystem/configuring-apache-maven-for-use-with-github-packages.md index ac7552e3e933..9707d221993b 100644 --- a/content/packages/using-github-packages-with-your-projects-ecosystem/configuring-apache-maven-for-use-with-github-packages.md +++ b/content/packages/using-github-packages-with-your-projects-ecosystem/configuring-apache-maven-for-use-with-github-packages.md @@ -37,7 +37,7 @@ If you want to interact with multiple repositories, you can add each repository If your instance has subdomain isolation enabled: {% endif %} -
+```xml
 
+            https://{% if currentVersion == "free-pro-team@latest" %}maven.pkg.github.com{% else %}maven.HOSTNAME{% endif %}/OWNER/REPOSITORY-2
             
               true
             
@@ -81,7 +77,7 @@ If your instance has subdomain isolation enabled:
               true
             
           
-          -->
+
         
     
   
@@ -94,12 +90,12 @@ If your instance has subdomain isolation enabled:
     
   
 
-
+``` {% if enterpriseServerVersions contains currentVersion %} If your instance has subdomain isolation disabled: -
+```xml