[id='mvn']
:context: install
= Configuring the {brandname} Maven Repository
{brandname} Java distributions are available from Maven.

//Community
ifndef::productized[]
{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::productized[]

//Product only
ifdef::productized[]
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::productized[]

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

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