Maven Artifacts


XAP is Maven-friendly - it is built using maven and designed to be easily used by developers constructing XAP applications. In this page we’ll explain how to use XAP with Maven.

XAP Maven Repository

Since XAP artifacts are currently not published in Maven Central Repo, you’ll first need to configure a repository:

<repository>
   <id>org.openspaces</id>
   <url>http://maven-repository.openspaces.org</url>
</repository>

XAP Artifacts

The main dependency required to use XAP is xap-openspaces

<dependency>
  <groupId>org.gigaspaces</groupId>
  <artifactId>xap-openspaces</artifactId>
  <version>12.2.1</version>
</dependency>

Core Artifacts

This section lists core artifacts. Note that you only need to add xap-openspaces, since all other core artifacts are its dependencies.

The group Id for these artifacts is org.gigaspaces

Artifact Id Location in product
xap-openspaces ${XAP_HOME}/lib/required/xap-openspaces.jar
xap-datagrid ${XAP_HOME}/lib/required/xap-datagrid.jar
xap-common ${XAP_HOME}/lib/required/xap-common.jar
xap-trove ${XAP_HOME}/lib/required/xap-trove.jar
xap-asm ${XAP_HOME}/lib/required/xap-asm.jar

Extension artifacts

This section lists extension artifacts. The group Id for these artifacts is org.gigaspaces

Artifact Id Location in product Required For
xap-map ${XAP_HOME}/lib/optional/map/xap-map.jar Map API
xap-map-spring ${XAP_HOME}/lib/optional/map/xap-map-spring.jar Map API
xap-jms ${XAP_HOME}/lib/optional/jms/xap-jms.jar JMS
xap-jetty-8 ${XAP_HOME}/lib/optional/jetty/xap-jetty/xap-jetty-8.jar Jetty PU Container
xap-jetty-9 ${XAP_HOME}/lib/optional/jetty-9/xap-jetty/xap-jetty-9.jar Jetty PU Container
xap-mongodb ${XAP_HOME}/lib/optional/mongodb/xap-mongodb.jar MongoDB integration
xap-spatial ${XAP_HOME}/lib/optional/spatial/xap-spatial.jar Geospatial Queries
xap-full-text-search ${XAP_HOME}/lib/optional/full-text-search/xap-full-text-search.jar Full Text Search

Premium Extensions

This section lists premium artifacts. The group Id for these artifacts is com.gigaspaces

Artifact Id Location in product Required For
xap-near-cache-spring ${XAP_HOME}/lib/optional/near-cache/xap-near-cache-spring.jar Client Side Caching
xap-near-cache ${XAP_HOME}/lib/optional/near-cache/xap-near-cache.jar Client Side Caching
xap-security ${XAP_HOME}/lib/optional/security/xap-security.jar Security
xap-zookeeper ${XAP_HOME}/lib/platform/zookeeper/xap-zookeeper.jar Consistency-biased leader election
xap-admin ${XAP_HOME}/lib/platform/service-grid/xap-admin.jar Admin API

Enterprise Extensions

This section lists Enterprise artifacts. The group Id for these artifacts is com.gigaspaces

Artifact Id Location in product Required For
xap-mx-rocksdb ${XAP_HOME}/lib/optional/memoryxtend/rocksdb/xap-mx-rocksdb.jar MemoryXtend - SSD
xap-wan-gateway-spring ${XAP_HOME}/lib/optional/wan-gateway/xap-wan-gateway-spring.jar WAN Replication
xap-wan-gateway ${XAP_HOME}/lib/optional/wan-gateway/xap-wan-gateway.jar WAN Replication