ifdef::context[:parent-context: {context}]
[id='configuring-maven-repository']
:context: configuring-maven-repository
= Adding {brandname} to your Maven repository

{brandname} Java distributions are available from Maven.

//Community content
ifdef::community[]
{brandname} artifacts are available from Maven central. See the link:https://search.maven.org/search?q=g:org.infinispan[org.infinispan] group for available {brandname} artifacts.
endif::community[]

//Downstream content
ifdef::downstream[]
You can download the {brandname} Maven repository from the customer portal or
pull {brandname} dependencies from the public {RedHat} Enterprise Maven
repository.

include::{topics}/proc_downloading_maven_repository.adoc[leveloffset=+1]
include::{topics}/proc_adding_maven_repository.adoc[leveloffset=+1]
endif::downstream[]

include::{topics}/proc_configuring_pom_xml.adoc[leveloffset=+1]

// Restore the parent context.
ifdef::parent-context[:context: {parent-context}]
ifndef::parent-context[:!context:]
